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.

ApplicationEventManager

This tutorial focuses on ApplicationEventManager static class implemented in M# framework, which exposes methods for handling application events e.g. exception, notification or custom logging of application specific events like deleting a record etc.

ApplicationEventManager implementation provides almost all the necessary event logging in the database and is advised to be used instead of any custom or third party event handling logic. Screenshots below show all the methods available to handle different events:

Important: In order to utilize this class you must have an entity which implements ApplicationEvent interface.