Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web Site Default Document

Reply
Thread Tools

Web Site Default Document

 
 
Just D.
Guest
Posts: n/a
 
      10-27-2005
Does anybody know how to set the Default Document (like Start.aspx) to a new
Virtual Directory? I found this article on the Internet and read with the
interest.

http://www.c-sharpcorner.com/Code/20...irtualDirs.asp

The code is simple and the most important thing - it works. What I could not
find on the Internet is how to set the default document for the just created
Virtual Directory (Properties, Documents,...), say my document should not be
like "Default.html", but "Start.aspx". So using the example I wrote the app
to create the virtual directory for my WebApp. The problem is to reset the
list of default documents created by default and add my own document.

Any idea how to do that?

Regards,
Dmitri.


 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      10-27-2005
The property you are after is DefaultDoc :
http://msdn.microsoft.com/library/de...65b2f5d222.asp
and browse around for the IIS SDK documentation.

--
Patrice

"Just D." <(E-Mail Removed)> a écrit dans le message de
news:4Y78f.60678$WR2.26606@fed1read03...
> Does anybody know how to set the Default Document (like Start.aspx) to a

new
> Virtual Directory? I found this article on the Internet and read with the
> interest.
>
> http://www.c-sharpcorner.com/Code/20...irtualDirs.asp
>
> The code is simple and the most important thing - it works. What I could

not
> find on the Internet is how to set the default document for the just

created
> Virtual Directory (Properties, Documents,...), say my document should not

be
> like "Default.html", but "Start.aspx". So using the example I wrote the

app
> to create the virtual directory for my WebApp. The problem is to reset the
> list of default documents created by default and add my own document.
>
> Any idea how to do that?
>
> Regards,
> Dmitri.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
List of free web site design, web site backgrounds, web site layoutsresources cyber XML 1 12-25-2007 11:48 PM
Free web site design, web site backgrounds, web site layoutsresources cyber HTML 0 12-24-2007 04:26 PM
List of free web site design, web site backgrounds, web site layoutsresources cyber HTML 0 12-21-2007 03:47 PM
List of free web site design, web site backgrounds, web site layoutsweb sites cyber HTML 1 12-19-2007 09:07 AM
Create a web site, not default web site mike kim ASP .Net 2 08-19-2003 11:26 PM



Advertisments