从 CD 运行的 ASP.NET 应用程序
我开发了一个非常简单的 ASP.NET (jQuery) 应用程序。
RDBMS 是 MS Sql Server,但我可以轻松地将其转换为 MS Access。
我的客户希望将其制作成 CD,以便随时运行。
我正在考虑将其转换为 WinForm 应用程序,但我仍然必须在客户端上安装该框架。 还有其他“可能”的解决方案吗?
I've developed a very simple ASP.NET (jQuery) application.
The RDBMS is MS Sql Server but I could easily convert it in MS Access.
My client would like to have it available on a CD, ready to run.
I was thinking to convert it in a WinForm app but, still, I have to install the framework on the client.
Is there any other "possible" solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
如果你将其转换为 HTML & 应该很简单jquery 脚本。由于 HTML 不需要任何单独的运行时 &还值得考虑的是,当响应发送到客户端时,asp.net 运行时也会执行相同的操作。
Should be simple if you convert it to HTML & jquery script. As HTML doesn't require any seperate runtime & also worth considering asp.net runtime also does the same thing when the response is sent to the client.
您也许可以使用 cassini http://www.asp.net/ 之类的东西来做到这一点下载/存档/卡西尼/。这是从 Visual Studio 运行时看到的 Visual Studio Web 服务器的简化版本。
在我的团队中,我们使用了它并将其包装在一个 exe 中,该 exe 允许我们启动 cassini 服务器并启动浏览器访问 cassini 服务器地址。
这仍然依赖于安装正确的 .NET Framework 版本。
编辑:一些最近的链接 http://ultidev.com/Products/Cassini/ 和
http://blogs. msdn.com/dmitryr/archive/2008/10/03/cassini-for-framework-3-5.aspx
You maybe able to do this by using something like cassini http://www.asp.net/downloads/archived/cassini/. This is a simplified version of the visual studio web server that you see when you run from visual studio.
In my team we have used this and wrapped it in a exe that allows us to start the cassini server and start a browser to the cassini server address.
This still relies on the right version of .NET Framework being installed.
EDIT: Some more recent links http://ultidev.com/Products/Cassini/ and
http://blogs.msdn.com/dmitryr/archive/2008/10/03/cassini-for-framework-3-5.aspx
与桌面应用程序相比,尝试在客户端计算机上运行 Web 应用程序会遇到更多麻烦。
Web 应用程序需要运行某种 Web 服务器,但桌面应用程序只需要框架。
您最好将其转换为桌面应用程序。
You're going to have more trouble trying to run a web app on a client machine than you will a desktop application.
A web app requires some sort of web server running, but a desktop app just needs the framework.
You're going to be better off converting it to a desktop app.
如果您的用户运行的是包含 IIS 的 XP、Vista 或 Windows 7 版本,您可以将该应用程序安装到虚拟目录中。不过,这对最终用户来说有很多要求。大多数用户不会安装 IIS,即使他们运行的 Windows 版本提供了 IIS。
If your users are running versions of XP, Vista, or Windows 7 that include IIS, you could conceivably install the application into a virtual directory. That's a lot to ask from end-users, though. Most users won't have IIS installed even if they are running a version of Windows that offers it.
我还没有尝试过这个,但我只是通过搜索“portable asp.net web server”
http://www.codeproject.com/KB/aspnet/TinyWebServer.aspx
I haven't tried this, but I just found it by searching for "portable asp.net web server"
http://www.codeproject.com/KB/aspnet/TinyWebServer.aspx