ASPSnippets RSS Feedhttps://www.aspsnippets.com/RSS.ashxLatest additions to the content that appears on ASPSnippets.(c) 2020, www.aspsnippets.com. All rights reserved.Create and consume Web API PUT method in ASP.Net MVCHere Mudassar Ahmed Khan has explained with an example, how to create and consume a Web API PUT Action method in ASP.Net MVC Razor. HTTP PUT method is used to update an existing record in the data in the RESTful API. This article will illustrate how to create a PUT Action method in Web API and use it for updating records in Database using Entity Framework in ASP.Net MVC Razor.https://aspsnippets.com/Articles/Create-and-consume-Web-API-PUT-method-in-ASPNet-MVC.aspxhttps://aspsnippets.com/Articles/Create-and-consume-Web-API-PUT-method-in-ASPNet-MVC.aspxTue, 24 Nov 2020 07:10:53 GMTCall (Consume) Web API from MVC Controller using HttpClientHere Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API from MVC Controller using HttpClient class in ASP.Net MVC Razor. This article will illustrate how to call a Web API GET method with its URL using HttpClient class in ASP.Net MVC Razor.https://aspsnippets.com/Articles/Call-Consume-Web-API-from-MVC-Controller-using-HttpClient.aspxhttps://aspsnippets.com/Articles/Call-Consume-Web-API-from-MVC-Controller-using-HttpClient.aspxTue, 24 Nov 2020 07:09:03 GMTCall Web API from MVC Controller in same Solution (Project)Here Mudassar Ahmed Khan has explained with an example, how to call Web API from MVC Controller in same Solution (Project) in ASP.Net MVC Razor. This article will illustrate how to call a Web API method using its URL from another project in same Project or same Solution in ASP.Net MVC Razor.https://aspsnippets.com/Articles/Call-Web-API-from-MVC-Controller-in-same-Solution-Project.aspxhttps://aspsnippets.com/Articles/Call-Web-API-from-MVC-Controller-in-same-Solution-Project.aspxTue, 24 Nov 2020 07:03:53 GMTCreate and consume Web API POST method in ASP.Net MVCHere Mudassar Ahmed Khan has explained with an example, how to create and consume a Web API POST Action method in ASP.Net MVC Razor. This article will illustrate how to create a POST Action method in Web API and use it for inserting records in Database using Entity Framework in ASP.Net MVC Razor.https://aspsnippets.com/Articles/Create-and-consume-Web-API-POST-method-in-ASPNet-MVC.aspxhttps://aspsnippets.com/Articles/Create-and-consume-Web-API-POST-method-in-ASPNet-MVC.aspxTue, 24 Nov 2020 07:02:14 GMTASP.Net MVC: Update data into Database using Web API and Entity FrameworkHere Mudassar Ahmed Khan has explained with an example, how to update data into Database using Web API and Entity Framework in ASP.Net MVC Razor. When the Update Button is clicked, the UpdateCustomer Action method of the Web API is called using jQuery AJAX and the details of Customer are sent as JSON object. Finally, a Boolean response is sent to the View which indicates that the record was successfully updated or not.https://aspsnippets.com/Articles/ASPNet-MVC-Update-data-into-Database-using-Web-API-and-Entity-Framework.aspxhttps://aspsnippets.com/Articles/ASPNet-MVC-Update-data-into-Database-using-Web-API-and-Entity-Framework.aspxTue, 24 Nov 2020 06:59:31 GMTCall (Consume) Web API GET method in ASP.Net MVCHere Mudassar Ahmed Khan has explained with an example, how call (consume) Web API GET method in ASP.Net MVC Razor. The Web API Action method will be called inside the MVC Controller’s Action method using HttpClient class in ASP.Net MVC Razor.https://aspsnippets.com/Articles/Call-Consume-Web-API-GET-method-in-ASPNet-MVC.aspxhttps://aspsnippets.com/Articles/Call-Consume-Web-API-GET-method-in-ASPNet-MVC.aspxTue, 24 Nov 2020 06:58:06 GMTASP.Net MVC: Insert data into Database using Web API and Entity FrameworkHere 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.https://aspsnippets.com/Articles/ASPNet-MVC-Insert-data-into-Database-using-Web-API-and-Entity-Framework.aspxhttps://aspsnippets.com/Articles/ASPNet-MVC-Insert-data-into-Database-using-Web-API-and-Entity-Framework.aspxTue, 24 Nov 2020 06:50:48 GMTCreate Connection String in C# and VB.NetHere Mudassar Ahmed Khan has explained with an example, how to create Connection String in C# and VB.Net. This article will illustrate how to create connection string for Windows and SQL Server based authentication for Windows Forms and Console Applications in C# and VB.Net.https://aspsnippets.com/Articles/Create-Connection-String-in-C-and-VBNet.aspxhttps://aspsnippets.com/Articles/Create-Connection-String-in-C-and-VBNet.aspxMon, 23 Nov 2020 07:10:55 GMTDatabase Connection without Entity Framework in ASP.Net Core Razor PagesHere Mudassar Ahmed Khan has explained with an example, how to do a Database Connection without using Entity Framework in ASP.Net Core Razor Pages. This article will illustrate how to connect to Database using ADO.Net and fetch data from Database using SqlDataReader in ASP.Net Core Razor Pages.https://aspsnippets.com/Articles/Database-Connection-without-Entity-Framework-in-ASPNet-Core-Razor-Pages.aspxhttps://aspsnippets.com/Articles/Database-Connection-without-Entity-Framework-in-ASPNet-Core-Razor-Pages.aspxSat, 21 Nov 2020 07:35:52 GMTUsing ADO.Net Database Connection in ASP.Net Core Razor PagesHere Mudassar Ahmed Khan has explained with an example, how to use ADO.Net Database Connection in ASP.Net Core Razor Pages. This article will illustrate how to connect to Database using ADO.Net and fetch data from Database using SqlDataReader in ASP.Net Core Razor Pages.https://aspsnippets.com/Articles/Using-ADONet-Database-Connection-in-ASPNet-Core-Razor-Pages.aspxhttps://aspsnippets.com/Articles/Using-ADONet-Database-Connection-in-ASPNet-Core-Razor-Pages.aspxSat, 21 Nov 2020 07:34:01 GMT