Category - Core
Results 21 - 40 of 201
18 Nov 2021 18 Nov 2021 0 Comments  2399 Views
ASP.Net  MVC  Session  Core
Here Mudassar Ahmed Khan has explained, how to solve the following error in ASP.Net Core.

System.InvalidOperationException: Session has not been configured for this application or request.

The above error occurs when Session state is used in ASP.Net Core application without configuring the application.

This article will illustrate how to configure and enable Session state in ASP.Net Core applications.
18 Nov 2021 18 Nov 2021 0 Comments  945 Views
Here Mudassar Ahmed Khan has explained, how to enable Session in ASP.Net Core.

By default, Session State is disabled in ASP.Net Core applications i.e. ASP.Net Core MVC and ASP.Net Core Razor Pages.

This article will cover the steps to enable Session Sate in ASP.Net Core applications.
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  1948 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.
06 Oct 2021 06 Oct 2021 0 Comments  2751 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.
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  2765 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.
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  3661 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  3409 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.
29 Jul 2021 29 Jul 2021 0 Comments  3563 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use TLS 1.2 Security Protocol in ASP.Net Core MVC.

This article will illustrate how to call a REST API using HttpClient and TLS 1.2 Security Protocol in ASP.Net Core MVC.
29 Jul 2021 29 Jul 2021 0 Comments  1227 Views
Here Mudassar Ahmed Khan has explained with an example, how to use, implement and populate Charts from database using Google Charts API in ASP.Net Core MVC.

This article will illustrate how to populate Pie and Doughnut Charts from database using the Google Charts API in ASP.Net Core MVC.
Results 21 - 40 of 201