Redirect ASP.Net Default Page

Here’s a simple server-side ASP.Net default page redirect example using C# and a typical default.aspx file. This should work with most recent versions of IIS.

Key items listed for searchability: page directive, language attribute, script block, runat server, page_load, response.redirect.

Related article: Redirect Apache Tomcat Default Page.


About notesbytom

Keeping technology notes on to free up my mind to solve new problems rather than figuring out the same ones repeatedly :-).
This entry was posted in System Administration and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s