Hi,
In http project, I can able to view the webpage link by providing m/c
name instead of localhost(http://mymachinename/sample.aspx), but in
filesystem project why I couldn't browse the page with the machine
name? Can anyone suggest me how to browse it using m/c name instead of
the localhost:portnumber.
Kevin Spencer - 29 Feb 2008 13:04 GMT
ASP.Net pages must be served by an HTTP server, so you can't do that.

Signature
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
> Hi,
>
[quoted text clipped - 3 lines]
> name? Can anyone suggest me how to browse it using m/c name instead of
> the localhost:portnumber.
George Ter-Saakov - 29 Feb 2008 14:37 GMT
Filesystem type of project using built-in web server which runs on separate
port than standard IIS.
So to access is using machine name you must specify the port number.
Start it from VS and you will see in the browser
http://localhost:4534/mypage.aspx
4534 is made up and you will have different port number
George.
> Hi,
>
[quoted text clipped - 3 lines]
> name? Can anyone suggest me how to browse it using m/c name instead of
> the localhost:portnumber.
Juan T. Llibre - 29 Feb 2008 15:36 GMT
For standalone browsing, you can launch
the Development Server from the command line.
Its parameters are :
/path:
/port:and
/vpath:
Example :
drive:pathto\WebDev.WebServer.EXE /path:Drive:\dir\subdir /port:8001 /vpath:/test
That should bring up the Dev Server on port 8001 and the virtual directory /test.
This assumes that you have a file named default.aspx at Drive:\dir\subdir
If you want to use your machine's name, you'll need to run IIS or a web server like Cassiniv2.
Direct link to the source files:
http://blogs.msdn.com/dmitryr/attachment/548131.ashx
You also need the v2.0 version of GACUTIL which is installed with VWD Express,
VS 2005 and the .Net Framework 2.0 SDK, in order to compile Cassiniv2.
Make sure you read the "ReadMe.txt" file included in the zipped source.
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/
======================================
> Hi,
>
[quoted text clipped - 3 lines]
> name? Can anyone suggest me how to browse it using m/c name instead of
> the localhost:portnumber.