如何通过压缩将aspx页面发送给一个人! ? ! [英] How to be able to send aspx-pages to a person by zipping! ? !
问题描述
嗨
我想发送一个包含几个.aspx页面,母版页,style.css等的Web应用程序。
收到它的人希望能够打开右键单击文件并在浏览器中打开浏览器中的.aspx文件。
现在我有一个关于如何以正确方式执行此操作的问题?我有项目文件和.apsx文件但是当我尝试将所有文件放在一个文件夹中并尝试打开它时将无法打开。当我尝试打开项目文件时,它说:
打开Web C时出错:\\Users\Yngvild \WebSites \oppgave \。无法打开网站。该网站不存在
有关如何使这项工作的任何提示?我是否必须部署或发布任何东西?
我尝试过的事情:
试图创建一个包含所有文件的新文件夹。
没有正确的方法来执行此操作。没有Web服务器提供ASPX页面就不可能存在。它们无法作为文件系统中的ASPX页面工作。
您必须将所有内容转换为直接的HTML和javascript才能使它们从文件系统中运行。
Hi
I want to send a web application that have several .aspx pages, masterpage, style.css etc.
The person who will recieve it wants to be able to open the .aspx files in a browser by right-clicking the files and open in the browser.
Now I have a problem about how to do this in the right way? I have the project-file and the .apsx files but when I try to put all the files in a folder and try to open it will not open. When I try to open the project file, it says:
"Error opening web C:\\Users\Yngvild\WebSites\oppgave\. Unable to open the Web site. The Web site does not exist"
Any tips on how to make this work? Do I have to deploy or publish or anything?
What I have tried:
Tried to make a new folder with all the files.
There is no "right way" to do this. ASPX pages cannot exist without a web server serving them up. They cannot work as ASPX pages from a filesystem.
You will have to convert everything to straight HTML and javascript in order to get them to work from a filesystem.
这篇关于如何通过压缩将aspx页面发送给一个人! ? !的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!