Category - ASP.Net
Results 41 - 60 of 2535
20 Oct 2021 21 Oct 2021 0 Comments  1308 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Session value from one Controller to another Controller in ASP.Net MVC Razor.
16 Oct 2021 16 Oct 2021 0 Comments  1907 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net Core Razor Pages.

This article will also explain how to perform operations on Cookies i.e. reading values stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net Core Razor Pages.
16 Oct 2021 16 Oct 2021 0 Comments  1949 Views
Here Mudassar Ahmed Khan has explained why HttpContext.Current not working in ASP.Net Core Razor Pages and what is the alternative solution for using the functionality in ASP.Net Core Razor Pages.

Microsoft has permanently removed HttpContext.Current property from .Net Core and introduced a new interface IHttpContextAccessor for .Net Core.
10 Oct 2021 10 Oct 2021 0 Comments  1578 Views
ASP.Net  Cookies  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net Core MVC.

This article will illustrate how to perform following operations on Cookies i.e. reading values stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net Core MVC.
07 Oct 2021 07 Oct 2021 0 Comments  1500 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net MVC Razor.

This article will also explain how to perform operations on Cookies i.e. reading values stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net MVC Razor.
06 Oct 2021 06 Oct 2021 0 Comments  2752 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained why HttpContext.Current not working in ASP.Net Core and what is the alternative solution for using the functionality in ASP.Net Core.

Microsoft has permanently removed HttpContext.Current property from .Net Core and introduced a new interface IHttpContextAccessor for .Net Core.
21 Aug 2021 21 Aug 2021 0 Comments  2333 Views
ASP.Net  AJAX  AngularJS  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to send AntiForgeryToken with AngularJS AJAX request in ASP.Net CoreMVC.

The AntiForgeryToken is used to prevent cross-site request forgery (CSRF) attacks and this article will illustrate how to configure and use the AntiForgeryToken during AngularJS AJAX request in ASP.Net Core MVC.
13 Aug 2021 13 Aug 2021 0 Comments  3053 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API 2 using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net Core MVC.

This article will explain how to make a POST call to Web API 2 Controller’s method using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net Core MVC.
13 Aug 2021 13 Aug 2021 0 Comments  1802 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API 2 using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net MVC Razor.

This article will explain how to make a POST call to Web API 2 Controller’s method using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net MVC Razor.
12 Aug 2021 12 Aug 2021 0 Comments  2185 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API using jQuery AJAX in ASP.Net Core MVC.

This article will explain how to make a jQuery POST call to Web API Controller’s method using jQuery AJAX in ASP.Net Core MVC.
12 Aug 2021 12 Aug 2021 0 Comments  2766 Views
Here Mudassar Ahmed Khan has explained a step by step tutorial with an example for beginners, how to build a simple Web API in ASP.Net Core MVC.

This article will explain how to make a jQuery POST call to Web API using jQuery AJAX in ASP.Net Core MVC.
11 Aug 2021 11 Aug 2021 0 Comments  6959 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform CRUD operation (Create, Read, Update and Delete) using Web API and Stored Procedure in ASP.Net MVC Razor using Entity Framework and jQuery AJAX.

The Stored Procedure will be called using Entity Framework to perform CRUD operations such as Select, Insert, Edit, Update and Delete operations.
06 Aug 2021 06 Aug 2021 0 Comments  4104 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to get MIME Type of a File in .Net Core.

This article will illustrate how to determine the MIME Type of a File using its FileName (File Extension) in ASP.Net Core.
04 Aug 2021 04 Aug 2021 0 Comments  2003 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use FileResult in .Net Core.

This article will illustrate how to download files using FileResult class in ASP.Net Core MVC.

FileStreamResult class is a wrapper class of FileStreamResult, FileContentResult and FilePathResult classes.
04 Aug 2021 04 Aug 2021 0 Comments  1183 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use VirtualFileResult in .Net Core.

This article will illustrate how to download files using VirtualFileResult class in ASP.Net Core MVC.

VirtualFileResult class is used when File needs to be downloaded directly from physical path using its Virtual (Relative) path.
04 Aug 2021 04 Aug 2021 0 Comments  1172 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use PhysicalFileResult in .Net Core.

This article will illustrate how to download files using PhysicalFileResult class in ASP.Net Core MVC.

PhysicalFileResult class is used when File needs to be downloaded directly using its physical (absolute) path.
31 Jul 2021 31 Jul 2021 0 Comments  3662 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use FileStreamResult in .Net Core.

This article will illustrate how to download files using FileStreamResult class in ASP.Net Core MVC.

FileStreamResult class is used when Stream (MemoryStream or FileStream) needs to be downloaded as File.
31 Jul 2021 31 Jul 2021 0 Comments  3531 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use FileContentResult in .Net Core.

This article will illustrate how to download files using FileContentResult class in ASP.Net Core MVC.

FileContentResult class is used when Binary Data (Byte Array) needs to be downloaded as File.
31 Jul 2021 31 Jul 2021 0 Comments  3411 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and populate charts from database using jQuery AJAX in ASP.Net Core MVC.

The HTML 5 Canvas charts have been implemented in ASP.Net Core MVC using Chart.js library.

This article will illustrate how to display the animated HTML5 chart in browsers that do not support CSS3 like IE 8.
31 Jul 2021 31 Jul 2021 0 Comments  837 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use ContentResult in .Net Core.

ContentResult return type is used for returning Content i.e. String, XML string, etc. from Controller to View in ASP.Net Core MVC.
Results 41 - 60 of 2535