简体   繁体   English

用于桌面应用程序的ASP.net?

[英]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.

相关问题 在桌面应用程序中渲染ASP.NET控件? - Render ASP.NET controls in a desktop application? 将ASP.NET Web窗体应用程序转换为桌面应用程序 - Converting ASP.NET Web Forms application into Desktop Application 是否可以将ASP.NET应用程序部署为桌面应用程序(带有服务器组件) - Is it possible to deploy an ASP.NET application as desktop application (with server component) ASP.NET C#中的Word Counter桌面应用程序 - Word counter desktop application in ASP.NET C# 从ASP.NET将文件发送到桌面应用程序(客户端) - Sending a file to desktop application (client) from ASP.NET 将ASP.NET应用程序与QuickBooks桌面版集成 - integration asp.net application with quickbooks desktop edition 如何在同一解决方案中为桌面添加C#应用程序和为Web添加ASP.net应用程序 - How to add a C# application for desktop AND a ASP.net application for web in the same solution 如何通过asp.net Web应用程序和WPF桌面应用程序访问相同的数据库 - How to access same database by both asp.net web application and WPF desktop application 如何从ASP.NET MVC应用程序内调用可执行的桌面应用程序? - How to invoke an executable desktop application from within an ASP.NET MVC application? XmlSerializer序列化错误与IIS / ASP.NET中的继承类型有关,但在桌面.NET应用程序中没有 - XmlSerializer serialization error with inherited types in IIS/ASP.NET but not in a desktop .NET Application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM