Quantcast
Channel: ASPSnippets RSS Feed
Browsing all 4757 articles
Browse latest View live
↧

ASP.Net Core Razor Pages: jQuery Unobtrusive AJAX example

Here Mudassar Ahmed Khan has explained with an example, how to use jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages. The POST method of the Razor Page will be called using jQuery AJAX Unobtrusive...

View Article


ASP.Net Core: Using AntiForgeryToken with jQuery Unobtrusive AJAX

Here Mudassar Ahmed Khan has explained with an example, how to use AntiForgeryToken with jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages. The jQuery Unobtrusive AJAX library does not support adding...

View Article


Newtonsoft.Json.JsonConvert: Serializing and Deserializing JSON in C# and VB.Net

Here Mudassar Ahmed Khan has explained with an example, how to use the Newtonsoft.Json.JsonConvert library for Serializing and Deserializing JSON using C# and VB.Net. The JSON string will be first...

View Article

Using TLS1.2 in .Net 2.0, .Net 3.0, .Net 3.5 and .Net 4.0

Here Mudassar Ahmed Khan has explained with an example, how to use TLS1.2 in projects using .Net 2.0, .Net 3.0, .Net 3.5 and .Net 4.0 with C# and VB.Net. But, the support for TLS 1.2 is available in...

View Article

.Net WebClient: Could not create SSL/TLS secure channel

Here Mudassar Ahmed Khan has explained with an example, how to solve the error when using DownloadString method of the .Net WebClient class in C# and VB.Net. Error: Could not create SSL/TLS secure...

View Article


The client and server cannot communicate, because they do not possess a...

Here Mudassar Ahmed Khan has explained with an example, how to solve the error when using DownloadString method of the .Net WebClient class along with SSL3 Security Protocol in C# and VB.Net. Error:...

View Article

Using WebClient in ASP.Net Core

Here Mudassar Ahmed Khan has explained with an example, how to use WebClient in ASP.Net Core MVC. This article will illustrate how to call an API using the DownloadString method of the WebClient class...

View Article

Using Response.Write in ASP.Net Core

Here Mudassar Ahmed Khan has explained with an example, how to use Response.Write in ASP.Net Core MVC. Response.Write function is not available in ASP.Net Core and hence this article will illustrate...

View Article


ASP.Net Core: Populate Select List from Database

Here Mudassar Ahmed Khan has explained with an example, how to populate Select List from Database in ASP.Net Core Razor Pages. The records from the Database will be populated into Model class objects...

View Article


ASP.Net Core: Using the Select List asp-items Tag Helper

Here Mudassar Ahmed Khan has explained an example, how to use the Select List asp-items Tag Helper in ASP.Net Core Razor Pages. The the Select List asp-items Tag Helper is used for populating...

View Article

Implementing AJAX with ASP.Net Core 2.1

Here Mudassar Ahmed Khan has explained with an example, how to implement and use AJAX in ASP.Net Core 2.1 Razor Pages. This article will illustrate how to use jQuery for performing AJAX operations in...

View Article

ASP.Net Core: Submit Form using jQuery

Here Mudassar Ahmed Khan has explained with an example, how to submit Form using jQuery in ASP.Net Core MVC. This article will explain how to create Form Fields and then submit data from View to...

View Article

Using jQuery Unobtrusive AJAX helpers in ASP.Net core

Here Mudassar Ahmed Khan has explained with an example, how to use jQuery Unobtrusive AJAX helpers in ASP.Net Core. The POST method of the Razor Page will be called using jQuery Unobtrusive AJAX...

View Article


ASP.Net Core: Insert DropDownList selected value in Database

Here Mudassar Ahmed Khan has explained with an example, how to insert DropDownList selected value in SQL Server Database in ASP.Net Core MVC. The selected value of the DropDownList will be inserted...

View Article

ASP.Net MVC: Pass (Send) SelectListItem to DropDownList

Here Mudassar Ahmed Khan has explained with an example, how to pass (send) SelectListItem to DropDownList in ASP.Net MVC Razor. The SelectListItem collection is used to pass (send) data from Database...

View Article


Populate (Bind) DropDownList using SelectListItem in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList using SelectListItem in ASP.Net MVC Razor. The records from the database will be populated into a Generic...

View Article

ASP.Net Core Razor Pages: RadioButtons (RadioButtonList) example

Here Mudassar Ahmed Khan has explained with an example, how to implement RadioButtons (RadioButtonList) in ASP.Net Core Razor Pages. Group of multiple RadioButtons (RqadioButtonList) will be populated...

View Article


ASP.Net Core MVC: RadioButtons (RadioButtonList) example

Here Mudassar Ahmed Khan has explained with an example, how to implement RadioButtons (RadioButtonList) in ASP.Net Core MVC. The records from the Database will be fetched from Database Table using...

View Article

ASP.Net Core MVC: CheckBox (CheckBoxList) example

Here Mudassar Ahmed Khan has explained with an example, how to implement CheckBoxList (List of CheckBoxes) in ASP.Net Core MVC. The records from the Database will be fetched from Database Table using...

View Article

ASP.Net MVC: Bind CheckBox with Model

Here Mudassar Ahmed Khan has explained with an example, how to bind CheckBox (multiple CheckBoxes) using Model in ASP.Net MVC Razor. The Database data will be populated in generic list collection of...

View Article
Browsing all 4757 articles
Browse latest View live