M# Tutorials

Learn to build .NET applications with M#. Our step-by-step tutorials will get you up-to-speed rapidly.
If you already know ASP.NET and C#, you can master M# in a week or two.

Task manager

By default when you create a new M# project the file TaskManager.cs is generated in the folder /App_Code of the Website project.
This class is responsible for automatically executing a list of scheduled tasks in independent threads.
Each instance is of the transient type AutomatedTask, which means their state is not stored persistently in the database. The class AutomatedTaskStatus is also generated and marked as transient.