我的应用程序中的ASP.NET虚拟主机 [英] Hosting ASP.NET within my application
问题描述
我今天玩得很疯狂的想法。我已经发现,我的用户喜欢我的Web UI比我的WinForms用户界面更多...但也有很好的理由还是写了智能客户端应用程序。
I had a wild thought today. I've been discovering that my users like my web UIs more than my WinForms UIs...but there are good reasons to still write a 'smart client' application.
我可以写我的ASP.NET/MVC应用程序的UI,它承载我的客户里面的exe文件,并在本地用我的WinForms应用程序的IE控件访问它?
Can I write my application UI in ASP.NET/MVC, host it inside my client exe, and locally access it using the IE control in my winforms app?
有一个轻量级的asp.net服务器,我可以在进程内主机或叉子掉?有没有人试过这种?没有结果奉承?
Is there a lightweight asp.net server I can host in-process or fork off? Has anyone tried this? Did the results flatter?
推荐答案
您可以使用卡西尼Web服务器。
You can use the Cassini web server.
http://www.asp.net/Downloads/archived/cassini/
3.5下载:
的http://blogs.msdn.com/dmitryr/archive/2008/10/03/cassini-for-framework-3-5.aspx
V2下载:
http://blogs.msdn.com/dmitryr/archive /2006/03/09/cassini-update.aspx
这篇关于我的应用程序中的ASP.NET虚拟主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!