Blogs and Tutorials for C sharp

Convert Datatable to CSV OR List OR JSON string using .NET Core
Using this tutorial you will create a DataTable and convert it's data to CSV file or List object or JSON string.

DataTable Comparison Using LINQ Except, Intersect and Union
This article describes you how to compare DataTables to get matched, unmatched, combine list of all rows in both tables.

Implementing Finalize and Dispose(.NET Framework) in C#
This article describes about implementing between dispose and finalize methods for cleaning up resources. It also tells you the difference between dispose and finalize methods.

How to export SQL data to excel using Microsoft.Interop.Office.Excel and C#
This article will help you how to export SQL data to excel. For this we will be using Microsoft.Interop.Office.Excel namespace and C#. The classes and interfaces in Microsoft.Interop.Office.Excel gives support for interoperability

Bulk upload into SQL Server using SQLBulkCopy and C#
In this article I am going to write about SQLBulkCopy and its major properties and methods. This article will give you the code for high performance transfer of rows from XML file to SQL server with SQLBulkCopy and C#

Converting ASP.NET Repeater HTML to PDF using iTextSharp
This article describes you how to convert asp.net repeater controls html or entire webpage to pdf using itextsharp. It will also give introduction to iTextSharp library.

Display Excel sheets data in web page using ASP.NET and C#
This article helps you to read data from Microsoft Excel sheets. We can use OleDb data provider to get connected C# code to excel. It will give you step by step implementation for importing data from already created xls/xlsx file.

jQuery AutoComplete by Example in ASP.NET
This article helps you to create AutoComplete textbox using jQuery library. This will also give you details about jQuery AutoComplete UI, CSS and select event.

WCF by example on netNamedPipebinding
This article will give you description about netNamedPipebinding, when to use netNamedPipebinding and step by step implementaion of WCF service using netNamedPipebinding

Multiple wcf services in one solution with multiple endpoints and hosting
This article tells you how to create multiple wcf services to serve different entities in one solution with different endpoint and bindings. This will also tells you how to host these services in IIS 7+ or in Windows Services

How to host wcf service in IIS 7.0 or 7.5
This article will give you brief description about required steps to host your wcf service in IIS and test it

Create MongoDB Docker Image and Connect from .NET Core app
This blog creates a Docker MongoDB Image container, database, collection and connnect this container through .NET Core Console app to read table data.

How to Setup CORS Policies in ASP.NET Core Web API
This blog explains how to set up CORS policies using default policy, add policy, middleware, endpoint routing, and EnableCors attribute.