Very very simple, But very very efficient Asp.net Tracking module

by ilker Aksu 14. July 2009 06:36

Even you do not use or analyze your application usage or user patterns for know you may need them in the feature. Even today you will be very surprised when you see tracking results. For example; Do you know how often google bots comes to your site? Which user use which feature or pages?

We must track and analyze our applications and users . At least we need to collect them now.

I will present very very simple solution. You only need add binary to your bin folder and add 2 lines to web.config.
If you need too track application specific information just put them in the httpContext that’s all.

More...

Tags:

Development Tip: How to use Host Header with Development Server

by ilker Aksu 3. July 2009 08:17

If you are using “Asp.Net Development Server” One of the big problem of developing multiple web site at the same time is Development Server does not recognize and support Host Header. So you have to use different port for each web site. Problem with this solution is if you have hard coded links or templates pointing website you have to tweak code for testing and development.

Here is the solution; Use Fiddler

Let’s say we are developing ilkeraksu.com and hosting images at images.ilkeraksu.com at the same time and configured Visual Studio for using fix ports 9090 and 9091 respectively.

image


If you don’t know Fiddler please go to  http://fiddler2.com   and download this excellent tool.

Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language.

Fiddler is freeware and can debug traffic from virtually any application, including Internet Explorer, Mozilla Firefox, Opera, and thousands more.

For using Fiddler you may look at this post
http://www.west-wind.com/weblog/posts/596348.aspx

You can easily and happliy extend fiddler functionality.

Open Fiddler
Go to Rules->Customize Rules

image

More...

Tags:

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

ilker Aksu

Tag cloud