Where does the ASP.NET development server keep its logs?
Asked Answered
C

6

12

I am trying to sort out a problem where some relative urls are not resolving properly in an ASP.NET website. I want to see the HTTP logs to determine which URLs are being requested from the web server. I am using the ASP.NET Development Server, not IIS.

So are there logs produced by the ASP.NET Development Server where I can check which files are being requested?

Windows 7, 64bit
VS2008
ASP.NET 3.5 SP1

Ceto answered 19/1, 2011 at 2:26 Comment(4)
Im not sure what you mean by development server. Are you referring to the built-in Visual Studio server?Agueweed
@Jeff: yes that is also called Cassini or Development Server.Boser
@Boser thanks. I knew Cassini but I didn't realize "Development Server" was official.Agueweed
@Jeff: actually I am not sure if it is official as well and don't care. I remember it because there is a always a little balloon pops ups in your tray icon when you are using cassing which says something like "ASP.NET Development Server Started" :)Boser
A
6

As far as I understand Cassini has no logging feature

Atheistic answered 19/1, 2011 at 2:36 Comment(0)
T
9

If you are willing to replace the basic ASP.NET development server that comes with Visual Studio...

CassiniDev includes a real-time request/response viewer and logging facility. As I understand it you can drop it in as a replacement web server very easily.

CassiniDev Log Viewer

CassiniDev seems to do exactly what you need. If you absolutely cannot use IIS for your site this may be the only other option in terms of being able to generate a request log.

Theophrastus answered 19/1, 2011 at 2:43 Comment(2)
what do you mean "stuck with IIS as the only option"? Don't you mean that he will have to "Upgrade" to IIS? :) ..Or give a reason why Cassini is a better choice in your opinion.Boser
@VoodooChild: I've changed my summary statement to reflect the fact that this is an alternative to Cassini. Whether or not @Ceto is willing or able to use IIS in his situation is besides the point I think. Personally I always prefer to use IIS to host my development web sites but I also understand that this may not always be possible or desired for everyone.Theophrastus
A
6

As far as I understand Cassini has no logging feature

Atheistic answered 19/1, 2011 at 2:36 Comment(0)
B
2

The short answer is:

There are no logs for the development server, aka: Cassini

I would highly recommend using the IIS web server, if the logging is a crucial to your needs.

Boser answered 19/1, 2011 at 2:38 Comment(1)
+1 for the link and question comments. Though Zayar did beat you to the punch with the answer so he gets accepted. :)Ceto
C
0

I would switch to IIS Express, it includes logging but even better it has support for Failed Request Tracing feature that will give you much more details.

See: http://learn.iis.net/page.aspx/868/iis-express-overview/

Cathee answered 20/1, 2011 at 1:15 Comment(0)
B
0

UltiDev Web Server Pro, although it has no logging for now, when running from command line, it tells you exactly which file the request is mapped to: Request processing trace in UWS Pro

Bela answered 11/7, 2011 at 21:9 Comment(0)
N
0

Uh, if you are patient and don't have too much chatter on your system, I was able to find errors in the Event Viewer under Application section. Look for category 'WebHost' to find them.

Nigercongo answered 8/5, 2013 at 21:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.