aspx到html页面的转换 [英] aspx to html page conversion

查看:103
本文介绍了aspx到html页面的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi ..
我正在尝试将aspx页面转换为具有aspx页面功能的html ..但我不知道如何将其转换..任何人都知道如何将aspx页面转换为html,并且可以读取aspx代码..

问候
sasi

hi..
i am trying to convert the aspx page to html with aspx page functionality.. but i dont know how to convert it..anyone know how to convert from aspx to html and it can be reads the aspx codes..

regards
sasi

推荐答案

Hrrmm,这正是ASP.net所做的.因此,当您将ASP.net应用程序部署到IIS,然后对该服务器上的某些aspx页面进行GET或POST请求时,您的aspx页面将呈现为HTML. (好吧,好吧,在我被解雇之前:它不一定是HTML,它几乎可以是任何东西,但是通常将aspx页转换为HTML)


干杯


Manfred
Hrrmm, that is exactly what ASP.net does. So when you have deployed an ASP.net application to your IIS and then make GET or POST requests to some of the aspx pages on that server, your aspx pages will be rendered to HTML. (Ok, Ok before I get flamed: It doesn''t have to be HTML it could be just about anything, but usually aspx pages are transformed to HTML)


Cheers


Manfred


Aspx页面以HTML格式返回到浏览器.您可以将它们另存为HTML.我发现FF和Chrome比IE做得更好.

如果您要说的是,您想尝试转储在将后续请求发送到服务器时继续进行的应用程序端(服务器端处理),那就另当别论了.您可能需要编写一个可能具有不同技术/框架的新后端.

无法简单地通过复制生成的HTML来提升"任何网站的功能.

干杯.
Aspx pages are returned to the browser rendered as HTML. You could save those to your desktop as HTML. I find that FF and Chrome do a nicer job than IE.

If you''re saying that you want to try to dump the application side (server-side processing) that goes on when subsequent requests are sent to the server, different story. You will need to write a new backend with, presumably, a different technology/framework.

There is no way to ''lift'' any web site''s functionality simply by taking a copy of the generated HTML.

Cheers.


这篇关于aspx到html页面的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆