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 / February 2008

Tip: Looking for answers? Try searching our database.

File system websites

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bhuvanabh@gmail.com - 29 Feb 2008 12:50 GMT
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.

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.