Category - Core
Results 1 - 5 of 117
15 Jan 2021 15 Jan 2021 0 Comments  30 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass Model data from Controller to View in ASP.Net Core MVC.

The data from the SQL Server Database will be fetched using Entity Framework and populated into Model which will be later sent to the View in ASP.Net Core MVC.
15 Jan 2021 15 Jan 2021 0 Comments  35 Views
Here Mudassar Ahmed Khan has explained with an example, how to change the default Camel Case JSON Output in ASP.Net Core.

The default Camel Case JSON property names tend to break the Client Side JavaScript and hence in order to remove it, the default JSON Serialization needs to be replaced with Newtonsoft.Json Serialization in ASP.Net Core.
13 Jan 2021 13 Jan 2021 0 Comments  196 Views
ASP.Net  AJAX  jQuery  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from View to Controller using jQuery AJAX in ASP.Net Core MVC.

This article will explain how to create Form Fields and then send data from View to Controller using Form Collection and jQuery AJAX in ASP.Net Core MVC.
02 Jan 2021 02 Jan 2021 0 Comments  511 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to set use Connection String from AppSettings.json with DbContext class in.Net Core and ASP.Net Core MVC.

Inside the Startup class, the Connection String is read from the AppSettings.json file and is used to add the DbContext service.
02 Jan 2021 02 Jan 2021 0 Comments  361 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to read (retrieve) Configuration value in .Net Core and ASP.Net Core MVC.

In .Net Core, the Configuration values are stored in AppSettings.json file.
Results 1 - 5 of 117