Usually the methods are synchronous. That means that you call them, they gets executed. And when they finish you get the control back. The asynchronous methods are different. You call them. They start executing, but return the control over the execution back to the thread which called them while they continue to execute in different thread. ------------------------------------------------------------- Synchronous is one after another, so you send one email when that process is done it sends the next one. Asynchronous starts sending an email and it doesn't care if the first one is done and will start the second, and this goes on until all emails are sent. Normally, an asynchronous process would open a new thread and run in the background.
The MaxJsonLength property cannot be unlimited, is an integer property that defaults to 102400 (100k). You can set the MaxJsonLength property on your web.config: <configuration> <system.web.extensions> <scripting> <webServices> <jsonSerialization maxJsonLength = "50000000" /> </webServices> </scripting> </system.web.extensions> </configuration>
http://www.c-sharpcorner.com/uploadfile/mirfan00/windows-service-in-C-Sharp/ Introduction This article is about Windows Service in .Net Frame. We learn how to make and use windows service in our C#.Net Frame applications . Steps to create windows service 1. Open new windows project in Visual Studio. 2. Right click on windows service screen and select add installer Two installers added and displays on windows service design view. 3. Go to service installer property and sets the following properties Description Display Name Service Name Start Type 4. Go to service process installer property and sets the account property to 'Local System' 5. Now drag a tool of evenLog1 from tool box into service designer and write the following code: public Service1() { InitializeComponent(); if (!System.Diagnostics.Ev...