Category - Web API
Results 6 - 10 of 49
24 Nov 2020 24 Nov 2020 0 Comments  42 Views
Here Mudassar Ahmed Khan has explained with an example, how to insert data into Database using Web API and Entity Framework in ASP.Net MVC Razor.

When the Add Button is clicked, the InsertCustomer Action method of the Web API is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, after insertion the ID of the inserted Customer record is returned back to the View in ASP.Net MVC Razor.
20 Nov 2020 20 Nov 2020 0 Comments  96 Views
Here Mudassar Ahmed Khan has explained with an example, how to call Web API from another Project in ASP.Net MVC Razor.

The Web API 2 Controller’s Action method will fetch records from the SQL Server Database using Entity Framework in ASP.Net MVC Razor.

The Web API 2 Controller’s Action method will be called using WebClient class from another MVC Project using the Web API URL.
19 Nov 2020 19 Nov 2020 0 Comments  181 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  142 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  141 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.
Results 6 - 10 of 49