Click here to Skip to main content
11,721,385 members (76,695 online)
Click here to Skip to main content
Articles » Languages » C# » General » Downloads
Add your own
alternative version

log4Net and SQLite

, 14 Jun 2012 Apache 20.3K 15.5K 35
This article explains how to work with log4Net and SQLite.
log4net.zip
log4net.db
log4NetSQlite.zip
log4NetSQlite
log4Net
log4NetExample.suo
App_Data
log4net.db
bin
log4net.dll
log4net.pdb
log4NetExample.dll
log4NetExample.pdb
System.Data.SQLite.dll
System.Data.SQLite.pdb
Global.asax
log4NetExample.csproj.user
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
log4NetExample.dll
log4NetExample.pdb
ResolveAssemblyReference.cache
TempPE
Properties
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;

namespace log4NetExample
{
    public class Global : System.Web.HttpApplication
    {

        void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup

        }

        void Application_End(object sender, EventArgs e)
        {
            //  Code that runs on application shutdown

        }

        void Application_Error(object sender, EventArgs e)
        {
            // Code that runs when an unhandled error occurs

        }

        void Session_Start(object sender, EventArgs e)
        {
            // Code that runs when a new session is started

        }

        void Session_End(object sender, EventArgs e)
        {
            // Code that runs when a session ends. 
            // Note: The Session_End event is raised only when the sessionstate mode
            // is set to InProc in the Web.config file. If session mode is set to StateServer 
            // or SQLServer, the event is not raised.

        }

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0

Share

About the Author

Elvin Deras
Program Manager Grupo Leitz
Honduras Honduras
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150901.1 | Last Updated 14 Jun 2012
Article Copyright 2012 by Elvin Deras
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid