A Simple ASP.Net Request Logger

by Ronald 1. November 2009 14:44

RequestLogger If you want to know what’s going on your Website, think about using this logger. It is written in ASP.Net and it mashes up utrace and Google Maps.

How to install it

In order to use the logger, you have to carry out the following steps:

  • Download the logger below.
  • Download the Microsoft SQL Server CE Redistributable.
  • Get a Google Maps API Key.
  • Open View\LogViewer.aspx in your IDE and insert the key where the Google Maps script is referenced.

How to use it

Making a log entry is pretty simple by using the following line of code (if you have a master page, it might be a good idea to place it there):

protected void Page_Load(object sender, EventArgs e)
{
	RequestLogger.DomainModel.LoggingContext.Instance.Log(Request, IsPostBack);
}


VS2008 / Licence: LGPL

RequestLogger.zip (349,7 kb)

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Kommentare

Kommentar schreiben


(Zeigt dein Gravatar icon)  

  Country flag

biuquote
  • Kommentar
  • Live Vorschau
Loading



Powered by BlogEngine.NET 1.4.5.0

RecentPosts

written and designed by TechNewLogic 2010