开发者

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

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 URL开发者_开发问答s 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


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.

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

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.


As far as I understand Cassini has no logging feature


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.


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/


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:

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜