Skip to main content

Posts

Showing posts with the label Elmah

ASP .Net MVC Error Logging Using Elmah

What is ELMAH? ELMAH stand for Error logging Modules and Handlers. ELMAH is one of the popular Library to logging unhandled errors provided by Google. .It’s an application wide error logging facility which can be dynamically plugged. For More Info  ELMAH Advantage:- ·          You can log almost all unhandled exceptions in the system. ·          An email notification of each error occurs. ·          You can insert log a various locations like files text file, SQL Server, Oracle etc. In this blog I am explaining how to use Elmah in MVC application. Step 1:-ELMAH NuGet Package: There is a nuget package also available for ELMAH. You can find at following link. http://www.nuget.org/packages/elmah.mvc/ and Following Command you have to run for installing NuGet Pacakge. Install-Package Elmah.Mvc Step 2:- Now open web config fil...