Article List

Create A Windows Service In Asp.Net C#

2020-04-01 ASP.NET

Create A Windows Service In Asp.Net C# You can start, stop, and pause a service from here by right click on the service. Windows service is a computer program that runs in the background to execute some tasks. If you open your Task Manager and click on the Services tab, you will see hundreds of services running on your machine. You can also see the statuses of these services. Some examples of Windows services are  check emails, print documents, SQL Server agent, auto-update of Windows, file and folder scanning and indexing and so on.  Some services are running, some have paused, and some have stopped.

Read More...

How to convert datatable to json format in c#

2020-02-02 ASP.NET

Convert Datatable to JSON C#: This article explains how to convert DataTable to JSON string in Asp.net C#. ex. serialize DataTable to JSON array in C#. For example, let’s say you have SQL database and now want to return SQL data to JSON in C# application ex. how to return JSON String from DataTable in Asp.net C#. There are 1 ways to achieve this task and that are: By using JavaScriptSerializer, By using Json.Net DLL ( newtonsoft )

Read More...