Category - Entity Framework
Results 16 - 20 of 254
19 Nov 2020 19 Nov 2020 0 Comments  813 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Web API in ASP.Net C# with SQL server database in ASP.Net MVC Razor.

The Web API Controller method will fetch records from SQL server database using Entity Framework in ASP.Net MVC Razor.
19 Nov 2020 19 Nov 2020 0 Comments  557 Views
Here Mudassar Ahmed Khan has explained a tutorial with example, how to perform Web API CRUD with Entity Framework Database First approach in ASP.Net MVC Razor.

The Entity Framework will be used to connect to the SQL Server Database with existing Tables i.e. Database First Approach.
19 Nov 2020 19 Nov 2020 0 Comments  471 Views
Here Mudassar Ahmed Khan has explained a tutorial with example, how to perform Web API CRUD Operations using Entity Framework in ASP.Net MVC Razor.

The Web API will contain Action methods for performing the CRUD operations i.e. Create (Insert), Read (Select), Update and Delete and the CRUD operations will be performed in SQL Server Database using Entity Framework in ASP.Net MVC Razor.
18 Nov 2020 18 Nov 2020 0 Comments  528 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) data from Page Model to Razor Page (cshtml) in ASP.Net Core Razor Pages.

The data will be set into a public property inside the Page Model and then using Razor syntax the data will be fetched inside the Razor Page (cshtml) in ASP.Net Core Razor Pages.
17 Nov 2020 17 Nov 2020 0 Comments  590 Views
Here Mudassar Ahmed Khan has explained with an example, how to loop through Model properties using FOR EACH loop in ASP.Net Core MVC.

The Entity Framework will be used to fetch the data from Database and populate the Model class properties.

Then inside the View, using a FOR EACH loop the Model items will be traversed and data will be displayed using HTML Table in ASP.Net Core MVC.
Results 16 - 20 of 254