Category - .Net
Results 1 - 20 of 21
06 Mar 2023 06 Mar 2023 0 Comments  842 Views
Here Mudassar Khan has explained with an example, how to update data into Database using Entity Framework in .Net Core.
16 Feb 2023 16 Feb 2023 0 Comments  1268 Views
Here Mudassar Khan has explained a step by step tutorial, how to download and install the Microsoft Office Document Imaging (MODI) library.
18 Jan 2023 18 Jan 2023 0 Comments  1082 Views
Here Mudassar Khan has explained with an example, how to implement custom Paging (Pagination) using Entity Framework in .Net Core.
14 Jun 2022 14 Jun 2022 0 Comments  9933 Views
Here Mudassar Khan has explained with an example, how to convert LINQ query result to DataTable using C# and VB.Net.
14 Jan 2022 14 Jan 2022 0 Comments  6528 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.
13 Dec 2021 13 Dec 2021 0 Comments  10350 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  22037 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.
26 Jul 2021 26 Jul 2021 0 Comments  14446 Views
ASP.Net  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to perform JSON Deserialization in ASP.Net Core.

The JSON will be deserialized using NewtonSoft.Json library in ASP.Net Core.
26 Jul 2021 26 Jul 2021 0 Comments  18187 Views
ASP.Net  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Third Party REST API in ASP.Net Core MVC.

The Third Party REST API will be called using HttpClient class in ASP.Net Core MVC.
26 Jul 2021 26 Jul 2021 0 Comments  15595 Views
ASP.Net  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) an external REST API in ASP.Net Core MVC.

The external REST API will be called using WebClient class in ASP.Net Core MVC.
26 Jul 2021 26 Jul 2021 0 Comments  9385 Views
ASP.Net  JSON  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to use HttpClient in ASP.Net Core MVC.

This article will illustrate how to call a JSON REST API using HttpClient and also how to deserialize JSON data to object in ASP.Net Core MVC.
08 Feb 2021 08 Feb 2021 1 Comments  55683 Views
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: The client and server cannot communicate, because they do not possess a common algorithm

The above error is caused when TLS 1.2 protocol is not used before calling an API or Service and hence there is mismatch in the cryptographic algorithm.
08 Feb 2021 08 Feb 2021 0 Comments  43578 Views
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 channel

The above error is caused when TLS 1.2 protocol is not used before calling an API or Service which uses TLS 1.2 protocol for establishing secure channel for communication.
19 Nov 2020 19 Nov 2020 0 Comments  5558 Views
Here Mudassar Ahmed Khan has explained with an example, how to reverse a String without using in-built String function in C# and VB.Net.

This article will illustrate how to reverse a String using a simple FOR LOOP in C# and VB.Net.
13 Oct 2020 13 Oct 2020 0 Comments  28636 Views
ASP.Net  MVC  Email  Gmail  Core  .Net
Here Mudassar Ahmed Khan has explained with an example, how to send emails using GMAIL in ASP.Net Core.

This article will illustrate how to send emails with attachment using GMAIL SMTP Mail Server in ASP.Net Core.
13 Oct 2020 13 Oct 2020 0 Comments  16769 Views
ASP.Net  MVC  Email  Gmail  Core  .Net
Here Mudassar Ahmed Khan has explained with an example, how to send emails in .Net Core.

This article will illustrate how to send emails with attachment using SMTP Mail Server in .Net Core.

This article will make use of GMAIL SMTP Server and SMTP Client class for sending emails in .Net Core.
18 Jun 2020 18 Jun 2020 0 Comments  45438 Views
Here Mudassar Ahmed Khan has explained with an example, how to import (insert) Excel file data into Database using SqlBulkCopy in ASP.Net Core MVC.

The uploaded Excel file data will be read using OLEDB library and the read data will be inserted into SQL Server database using SqlBulkCopy.

SqlBulkCopy class as the name suggests does bulk insert from one source to another and hence all rows from the Excel sheet can be easily read and inserted using the SqlBulkCopy class.
09 Mar 2020 09 Mar 2020 0 Comments  40416 Views
Here Mudassar Ahmed Khan has explained with an example, how to use ConfigurationManager.AppSettings in .Net Core and ASP.Net MVC Core.

Microsoft has replaced ConfigurationManager.AppSettings class of System.Configuration namespace with IConfiguration interface in .Net Core 2.0.
09 Mar 2020 09 Mar 2020 0 Comments  13463 Views
Here Mudassar Ahmed Khan has explained with an example, how to read AppSettings from AppSettings.json file in .Net Core and ASP.Net MVC Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0.
09 Mar 2020 09 Mar 2020 1 Comments  28025 Views
Here Mudassar Ahmed Khan has explained with an example, how to use ConfigurationManager.ConnectionStrings in .Net Core and ASP.Net MVC Core.

Microsoft has replaced ConfigurationManager.ConnectionStrings class of System.Configuration namespace with IConfiguration interface in .Net Core 2.0.
Results 1 - 20 of 21