Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Advantages of using the Visual Studio Development Server (VSDS)     compared to IIS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jeeji - 18 Mar 2008 14:02 GMT
Hi

I have just installed Visual Studio 2005, and ported a 2003 Web
Application to VS 2005. I noticed that I can choose to debug my
application using either the IIS Web Server or the Visual Studion
Development Server (VSDS)
- Are there any advantages in using the VSDS
- Where can I find anything about that on the internet. I have
searched the whole internet for documents that compare both, but I
found nothing.

Thanks in advance
Jeeji
Eliyahu Goldin - 18 Mar 2008 14:18 GMT
> - Are there any advantages in using the VSDS
Only that you don't have to setup IIS. Setting up IIS in most cases is
straightforward but sometimes may turn to be a headache. I may want to avoid
IIS also for security reasons if you don't want to care about limiting
access to your computer.

Sometimes you have to use IIS. An example is if you need to create a virtual
directory on your site that will point to some location outside of your
site. I don't know how it can be done with the development server.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

> Hi
>
[quoted text clipped - 9 lines]
> Thanks in advance
> Jeeji
BobF - 18 Mar 2008 14:39 GMT
Maybe this will help:

<http://msdn2.microsoft.com/en-us/library/58wxa9w5(VS.80).aspx>

Signature

Reality is what, when you stop believing in it, doesn't go away.

> Hi
>
[quoted text clipped - 9 lines]
> Thanks in advance
> Jeeji
Juan T. Llibre - 18 Mar 2008 18:58 GMT
re:
!> the IIS Web Server or the Visual Studio Development Server (VSDS)

Two observations :

1.
The "NETWORK SERVICES" account referenced in that article doesn't exist.

I have added a note to that MSDN article which makes clear that the correct account,
when IIS runs under Windows 2003 Server, is NT AUTHORITY\NETWORK SERVICE,
unless ASP.NET impersonation is configured.

2.
The security context varies.

The ASP.NET identity, when IIS runs under Windows 2003 Server, is NT AUTHORITY\NETWORK SERVICE.

The ASP.NET identity, when the ASP.NET Development Server is used, is the machine's logged-in account.
That account usually is the machine's administrator, but can be a different account.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Maybe this will help:
>
[quoted text clipped - 13 lines]
>> Thanks in advance
>> Jeeji
jeeji - 18 Mar 2008 22:43 GMT
Hi

And thank you all for the nice replies. This link was all that I
wanted.

I have however one last question:
Is it true that the VSDS enables you to debug using "Edit and
Continue" whereas IIS does not have that feature?

Jeeji

> Maybe this will help:
>
[quoted text clipped - 19 lines]
>
> - Vis tekst i anførselstegn -
Cowboy (Gregory A. Beamer) - 18 Mar 2008 17:48 GMT
> Hi
>
[quoted text clipped - 3 lines]
> Development Server (VSDS)
> - Are there any advantages in using the VSDS

You don't have to install IIS. That is pretty much it.

It is also a bit easier, as you do not have to type in
http://localhost/{SiteName} when you create a site, as it can go on the
default directory.

BTW, you can work with both at the same time. Create a file based web site
in one instance of VS. Then, open Windows Explorer, right click the
directory and go to the web sharing tab and share it. Now, open a website
via http://localhost/{SiteName} in another instance. Same site, two ways.

Would I do the above in real life? Only to illustrate that it can be done.

I, personally, do everything in IIS. Not quite true. When speaking, I will
sometimes create a file based web, as I can share it easier (primarily
zipping it up without having it under Inetpub). As I can switch it to IIS at
any time, it is not an issue.

> - Where can I find anything about that on the internet. I have
> searched the whole internet for documents that compare both, but I
> found nothing.

Not sure. If you want to see how it works, or at least how a previous
incarnation worked, look up Cassini. You can download it from here:
http://www.asp.net/downloads/archived/cassini/

Cassini was the original file based server for ASP.NET before it was
included with VS.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

*************************************************

| Think outside the box!

*************************************************

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.