iis

Articles/Links on Asp.Net pipeline and internal request processing architecture

I am looking details on the internal working of asp.net architecture. The topics need to include the following: Asp.Net Thread/Application Pools HttpRuntime HttpApplication - When and how it is set up How HttpContext is set up How objects can passed along the pipeline using HttpContext.Current.Items Why does modification of static va...

How do Application Servers support multi-threading?

I am looking for information regarding how application servers like Tomcat, Websphere, IIS etc support multi-threading to handle client requests. Is there a comparative analysis on how each of them support/handle concurrent requests? Thank you ...

IIS 7 Logs Vs Custom

I want to log some information about my visitors. Is it better to use the IIS generated log or to create my own in an SQL 2008 db. I know I should probably provide more information about my specific scenario, but I'd like just generally, pros and cons of either proposal. ...

temporary IIS .NET assembly randomly deleted/missing

I am hosting a WCF service in IIS. Randomly lately I have been getting an error that takes down the service: The assembly it is looking for is located in the C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files folder. Im thinking an improper app pool shut down would cause this, but I am not sure. The server is a W...

How to identify which web server in a farm served a request?

We're debugging intermittent issues with a website running on IIS7. Since we have many nodes behind the load balancer, we can't tell which host responded to a given request. Is there any way at the IIS level to specify which host served a request? For example, could IIS append a header in the response that indicates the IP of the host t...

Append custom value to IIS logs from ASP.NET

I would simply like to append an additional value which is generated at runtime in a page to my IIS log entry for the current request (or as an alternative, overwrite one of the standard fields with my custom value). I can't find a way to do this and I can't find an example of writing a custom log handler in C# (I'm not proficient in С...

Can I programmatically manage (add/edit/delete) IIS 7 Sites from Coldfusion?

Using Coldfusion 8/9, how would I go about managing IIS7. For example: I am building a website generator, when someone fills out a form, a website will be generated. A step in this process will be to create an IIS site with specific host headers/ip bindings. Another step may be to allow the user to upload a SSL certificate. That may...

Using IIS's URL-Rewrite on GoDaddy - why won't it work?

I have a Deluxe Windows Hosting account with Godaddy, and I'm trying to set up URL rewriting with Web.Config. I read that GoDaddy has the IIS URL Rewrite plugin installed, but they have no support for it whatsoever (see here: http://help.godaddy.com/article/5443) I tried a simple rewrite rule in my web.config, but nothing happened: <...

ASP.NET:How many types the Authentication IIS Provided?

Hi All, How many types the Authentication IIS Provided? Is Form-authentication is provided by of IIS? if no,then how it works? Thanks Vijendra Shakya ...

Check if anyone is currently using an ASP.Net app (site)

I build ASP.NET websites (hosted under IIS 6 usually, often with SQL Server backends and forms authentication). Clients sometimes ask if I can check whether there are people currently browsing (and/or whether there are users currently logged in to) their website at a given moment, usually so the can safely do a deployment (they want a h...

Outlook Web Access 'broken' - authenticates but displays incorrectly and isn't useable.

Hi all, We have an SBS 2008 server running Exchange. We have 5 users running from an office locally connected to exchange and everything is working perfectly fine. One of our users can begun travelling extensively and would like a way to access his email from any remote machine - Outlook Web Access seems to make sense. Unfortunately, I...

Catching Referring URL in 404 page with from URL with .html extension

Hey im trying to catch the referring url from a custom site which uses friendly URLS. now if i do for example a invalid url basepath/TEST/TEST The url stays in browser but content switches to 404 but if I do basepath/TEST/TEST/index.html the url changes to 404.aspx so i cant get the referring url any ideas ? ...

ASP.NET MVC and Web Farm Framework for IIS 7 Problem

I am trying to set up small web farm using "Microsoft Web Farm Framework 2.0 Beta for IIS 7" Everything works fine, except for one problem - My web application is written using ASP.NET MVC 2 and there is no references to ".aspx" files used. A typical url looks like: http://192.168.2.35/Billing/Account/Create Howver when this url ...

RegEx help for IIS URL Rewrite

I need to take request for www.domain.com/123456/Catalog.aspx and rewrite to www.domain.com/Products/Catalog.aspx?ItemID=123456 where 123456 will always be numbers. Any help is appreciated. Thanks. ...

404 Custom Error in IIS 6.0 and ASPX doesnt work

Hi, I've created a 404 error page called 404.aspx which works fantastic when I call it manually. But after setting the "custom error" in web.config and IIS 6.0. It doesn't work properly. for example, If I type the URL the wrong way, it won't work and a message like the one below, appears. XML Parsing Error: not well-formed Location: *...

How to test a HTTP client using NTLM authentication?

I have some code acting as an HTTP client which supports basic authentication as well as NTLM authentication. I can easily test that basic authentication works by requiring a username/password to access a file in the .htaccess on an Apache server. But how can I test NTLM authentication, short of installing IIS? Are there by any chance an...

ASP.NET web garden - max worker threads

I'm investigating some performance improvements that can be made to our web server and ASP.NET application. This page contains a few things that we can do. We currently have two worker processes running as a garden. Do each of these worker processes have their own ASP.NET threadpool? Or do both of these worker processes share a single...

What is an IIS application pool?

What exactly is an application pool? What is its purpose? ...

ASP.NET - worker threads, IO threads, and free threads

I've read through this page on some improvements that can be made for an ASP.NET application. However, I'm still not sure how maxWorkerThreads, maxIoThreads, and minFreeThreads functions together. From what I understand, the minFreeThreads setting specifies the minimum number of worker threads available for callbacks, etc.... If I ha...

Automate deployment of web application on IIS via ASP.NET web application?

How can I deploy an web application on IIS via ASP.NET web application? So instead of creating virtual directory, converting it to a application, etc I could just automate deployment via a web application? how do I do that? EDIT: no i do not want to deploy my application via visual studio, instead I want my web application itself to d...