Thursday, October 30, 2008

What is ASP.NET Development Server?

In VS 2005, file system websites are hosted on the new local web server called” ASP.NET Development Server” by default instead of IIS. This server dynamically chooses the port and hosts the website for local requests only. As a part of Framework 2.0 WebDev.WebServer.exe program runs as development server and host the website whenever website is run in the VS.
Now IIS does not installed along with WinXP or Win2003 like previous versions of Windows, you needs to install it separately therefore if you are developing websites using VS 2005, you don’t have to worry about the web server to host your website as asp.net development server will take care of it.
This program is found at (%WINDIR%\Microsoft.NET\Framework\v2.0.XXXXX) location.
You can also host website manually using this program.

Syntax: WebDev.WebServer.exe [/port:] /path: [/vpath:]

Like: webdev.webserver.exe /port:4955 /path:"c:\RnD\WebSite1" /vpath:”/WebSite1”

Here you can assign any port no you want.


Difference between ASP.NET Development Server and IIS Server
Below are some notable differences:

•Development server only accepts authenticated requests on the local computer as it runs under the security context of currently authenticated user account. It means it doesn’t run under less privileged ASPNET account. Where as IIS by default runs under ASPNET account.
•Unlike IIS, Development server can only serve local requests. It will not serve pages to another computer.
•Unlike IIS, Development server can only serve resources like files that are within the application scope.
•IIS provides other services like SMTP, FTP etc. that development server does not provides so if your application has e-mail sending functionality or file download functionality, you would have to use IIS server.

Reference: http://msdn.microsoft.com/en-us/library/58wxa9w5(VS.80).aspx

2 comments:

Irshad said...

Hi friend

I'm Irshad. Randomly browsing the good blogs, I went to yours. Truly speaking, I'm here to promote my innovations, my services, my links.
Well, I'm a 20-something guy running a 2-years old creative technology company, SkoolsOnline Technologies. Literally, as the name suggests, we are focussed on Education but our primary aim is to help Start-Ups acheive their goals, their dreams with the help of services and those of our alliances.

We're into Creative branding, Applications development, Data mining, Online promotion and content development. All with an innovative edge and focussed on Start-Ups. Why dont you visit our site, http://www.skoolsonline.com and have a look yourself. Perhaps, we could of any help to you.

Honestly, it's a spam! But I hope it doesn' matter much to you. In fact, It's a good addition to your comments. Well, it's upto you if you accept it or not.
Many thanks buddy.

Anonymous said...

Bonjour, sanjaysainitech.blogspot.com!
[url=http://cialismaro.pun.pl/ ] cialis online[/url] [url=http://viagraline.pun.pl/ ]Achat viagra online[/url] [url=http://cialistina.pun.pl/ ]Acheter du cialis en ligne[/url] [url=http://viagradysi.pun.pl/ ] viagra en ligne[/url] [url=http://cialisorto.pun.pl/ ]Acheter du cialis en ligne[/url] [url=http://viagrakewa.pun.pl/ ]Acheter viagra online[/url]