Publishing a website to a local folder

来源:http://www.imcoder.org/upgrade/208420.htm

 

Q:

Hello everyone!

I have downloaded and installed visual web developer 2005 express, I would like to create website to publish to a local folder for writing to a CD (like an autorun website). I cannot find out how you are supposed to do that, if anyone has any suggestions, they would be greatly appriciated!

Thank You!

A:

 Hi,

VWD is intended for non-commercial/student use, hence the Publish option was not made available. Check this link for an option:

http://www.cyberactiva.com/dettaglio.asp?id=384

Also you can use the Copy Website option too. Check out the last sections of this article:

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/vwd.aspx

Hope this helps,

Vivek 

 

A:

Ok, that seemed to work. How do you open an .aspx file with Internet Explore, when I try to open the files with Internet explorer, it shows an error.

Thanks.

A:

you can simply type:

http://yoursitename.com/yourPage.aspx

 Hope this helps,

Vivek

A:

You cannot open aspx with IE, aspx files are for Web server ASP.NET process only. You cannot really package Web site on a CD and open aspx from CD like you can do with HTML. ASPX files are processed on Web server by ASP.NET runtime, runtime generates HTML and sends it to the browser. I.e. when you type http://mysite.com/default.aspx in the browser, server does NOT send aspx to the browser. It sends generated HTML.

A:

Yes, I could not open the .aspx file from my local drive that way.

So I should just stick with HTML and JS. right?

A:

If you have to ship site on CD and have is accessible without a Web server, then yes.

posted @ 2008-08-14 15:02  KK in cnblog  阅读(229)  评论(0编辑  收藏  举报