[英]ASP.net for desktop application?
I was talking with a friend the other day, and he was saying to me that it is able to create desktop based software in ASP.net. 前几天我在和一个朋友聊天,他对我说它可以在ASP.net中创建基于桌面的软件。 With what I know, ASP.net is only for web-pages. 据我所知,ASP.net仅适用于网页。 I made few searches around the google, and most of the results say it is a web designing page. 我在google上进行了很少的搜索,大多数结果都说这是一个网页设计页面。 But there was many others who said it can, but need to use 3rd party desktop or something.. 但是还有很多其他人说可以,但是需要使用3rd party桌面或其他工具。
So, I am asking here to get a better answer. 因此,我要求在这里获得更好的答案。 Is it possible to create a computer based software in ASP.net? 是否可以在ASP.net中创建基于计算机的软件?
you can create a desktop app (with WPF for example) that has a WebBrowser control to host your asp.net site. 您可以创建一个桌面应用程序(例如,使用WPF),该应用程序具有WebBrowser控件来承载asp.net网站。
but yes, asp.net is at the end a web technology. 但是,是的,asp.net最终是一种Web技术。
read more about: https://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser(v=vs.110).aspx 阅读更多有关的信息: https : //msdn.microsoft.com/zh-cn/library/system.windows.controls.webbrowser(v=vs.110).aspx
In theory it is possible. 从理论上讲是可能的。 You run a web server and get a browser shell to communicate with the web server on localhost. 您运行一个Web服务器并获得一个浏览器Shell,以便与本地主机上的Web服务器进行通信。 This is of course stupid but possible. 这当然是愚蠢的,但是可能的。 Also he is probably talking about .NET, not ASP.NET which makes much more sense because the desktop frameworks for .NET are pretty good for desktop development. 他可能还谈论的是.NET,而不是ASP.NET,因为ASP.NET更有意义,因为.NET的桌面框架非常适合桌面开发。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.