Category - Core
Results 1 - 20 of 200
14 Jan 2022 14 Jan 2022 0 Comments  203 Views
ASP.Net  XML  HTML  Table  MVC  Grid  Core  .Net
Here Mudassar Khan has explained with an example, how to display XML file data in .Net Core.

This article will make use of ASP.Net MVC Core for illustrating how to read XML file data and then display it in Grid (HTML Table) format in .Net Core.
14 Jan 2022 14 Jan 2022 0 Comments  157 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Khan has explained how to solve the problem: jQuery AJAX call parameters passed NULL to Controller in ASP.Net Core.

This article will explain the possible causes of parameters being passed as NULL and also explain the correct approach to perform jQuery AJAX call in ASP.Net Core MVC.
07 Jan 2022 07 Jan 2022 0 Comments  427 Views
ASP.Net  XML  MVC  Model  Core
Here Mudassar Khan has explained with an example, how to read (parse) XML file in ASP.Net Core MVC.

The XML file will be read and the fetched XML records will be parsed and displayed in Grid (HTML Table) format in View using Model in ASP.Net Core MVC.
04 Jan 2022 04 Jan 2022 0 Comments  467 Views
Here Mudassar Khan has explained with an example, how to implement Contact Us Form in ASP.Net Core Razor Pages.

The Contact Us Form consists of TextBox controls, a Rich TextBox and a FileUpload control to attach file.

When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email along with the Attachment in ASP.Net Core Razor Pages.
03 Jan 2022 03 Jan 2022 0 Comments  415 Views
Here Mudassar Khan has explained a simple tutorial with example, how to upload a file in ASP.Net Core Razor Pages.

This article will illustrate how to upload multiple files and then save the files in a Folder (Directory) inside the wwwroot Folder in ASP.Net Core Razor Pages.
03 Jan 2022 03 Jan 2022 0 Comments  314 Views
ASP.Net  MVC  Core
Here Mudassar Khan has explained with an example, how to use IHostingEnvironment inside Controller in ASP.Net Core.

The IHostingEnvironment interface is injected into the Controller class using Dependency Injection in ASP.Net Core MVC.
18 Dec 2021 18 Dec 2021 0 Comments  605 Views
Here Mudassar Khan has explained with an example, how to implement TinyMCE RichTextBox (RichTextEditor) in ASP.Net Core Razor Pages.

TinyMCE RichTextBox (RichTextEditor) is a JavaScript plugin and is applied to the HTML TextArea element.
15 Dec 2021 15 Dec 2021 0 Comments  762 Views
Here Mudassar Khan has explained with an example, how to implement Contact Us Form in ASP.Net Core MVC.

The Contact Us Form contains some TextBox controls, a Rich TextBox and a FileUpload control to attach file.

When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email along with the Attachment in ASP.Net Core MVC.
15 Dec 2021 15 Dec 2021 0 Comments  535 Views
Here Mudassar Khan has explained with an example, how to implement TinyMCE RichTextBox (RichTextEditor) in ASP.Net Core MVC.

TinyMCE RichTextBox (RichTextEditor) is a JavaScript plugin and is applied to the HTML TextArea element.
13 Dec 2021 13 Dec 2021 0 Comments  770 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Email Settings from AppSettings.json in ASP.Net Core.

The SMTP Mail settings are stored in the Smtp section of the AppSettings.json file.

The SMTP Mail settings will be read using the IConfiguration interface from the AppSettings.json file in ASP.Net Core.
13 Dec 2021 13 Dec 2021 0 Comments  501 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the Configuration class using Dependency Injection in ASP.Net Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0 onwards and this article will illustrate how to use Dependency Injection for injecting IConfiguration interface in ASP.Net Core.
13 Dec 2021 13 Dec 2021 0 Comments  536 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the IConfiguration in ASP.Net Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0 onwards and this article will illustrate how to use IConfiguration interface in ASP.Net Core.
13 Dec 2021 13 Dec 2021 0 Comments  674 Views
ASP.Net  MVC  Email  Gmail  Core
Here Mudassar Ahmed Khan has explained with an example, how to send email using SMTP Server in ASP.Net Core.

For illustration purposes, this article will use GMAIL SMTP Mail Server for sending emails in ASP.Net Core.
20 Nov 2021 20 Nov 2021 0 Comments  1781 Views
ASP.Net  MVC  Session  Core
Here Mudassar Ahmed Khan has explained with an example, how to get Session ID in ASP.Net Core MVC.
20 Nov 2021 20 Nov 2021 0 Comments  938 Views
ASP.Net  MVC  Session  Core
Here Mudassar Ahmed Khan has explained with an example, how to display or access Session object inside view in ASP.Net Core MVC.
19 Nov 2021 19 Nov 2021 0 Comments  1189 Views
ASP.Net  MVC  Session  Core
Here Mudassar Ahmed Khan has explained with an example, how to destroy, delete or remove Session objects in ASP.Net Core MVC.
18 Nov 2021 18 Nov 2021 0 Comments  1533 Views
ASP.Net  MVC  Session  Core
Here Mudassar Ahmed Khan has explained with an example, how to get and set Session object (variable) in ASP.Net Core MVC.
18 Nov 2021 18 Nov 2021 0 Comments  2502 Views
ASP.Net  MVC  Session  Core
Here Mudassar Ahmed Khan has explained, how to set Session Timeout value in ASP.Net Core application.

Unlike previous ASP.Net applications, the Session Timeout value is set inside the Startup.cs class in ASP.Net Core applications.
18 Nov 2021 18 Nov 2021 0 Comments  1431 Views
ASP.Net  MVC  Session  Core
Here Mudassar Ahmed Khan has explained, how to access HttpContext.Current.Session in .Net Core application.

Unlike previous ASP.Net applications, the Session object is not available under the HttpContext.Current property, instead it is available in the HttpContext class in ASP.Net Core applications.
18 Nov 2021 18 Nov 2021 0 Comments  1978 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.
Results 1 - 20 of 200