用于桌面应用程序的Asp.net MVC [英] Asp.net MVC for a Desktop Application

查看:158
本文介绍了用于桌面应用程序的Asp.net MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些要求,我必须构建一个在客户端PC上运行的应用程序,之后它将部署在Web上。首先我想,我可以构建一个wpf应用程序,然后我将构建一个具有相同功能的asp.net应用程序。然后,我将不得不为同样的任务进行双重工作。我想知道是否有办法在asp.net mvc本身构建桌面应用程序。如果我使用MVVM框架为此应用程序选择WPF,那么我仍然需要为Web创建相同的应用程序。告诉我该怎么办?

解决方案

为什么桌面应用?只做网络应用程序并从内部网访问它!

当您准备好显示时间时,您的内部网站点将在5分钟内暴露给宽网...


< blockquote>桌面应用程序用于桌面,Web应用程序用于Web。所以,这里有两个选择。您可以使用MVC执行Web应用程序或执行Silverlight应用程序(通过插件和桌面离线进行Web)。



使用WCF进行数据服务;)



问候。


I have some requirements in which I have to build an application which runs on client pcs and later it will be deployed for the web. First I thought, I can build a wpf application and later I will build an asp.net application with the same functionality. Then again , I will have to do the double-work for the same tasks. I was wondering if there is a way to build desktop application in asp.net mvc itself. And If I choose WPF for this application using MVVM framework, then still I will have to create the same application for the web. Tell me what should I do ?

解决方案

Why desktop application? Do only web application and access it from the intranet!
When you are ready for show-time expose your intranet site to the wide web in 5 minutes...


Desktop Application is for desktop, and Web Applications is for the web. So, have two options here. You can do a Web Application with MVC or do a Silverlight application (for Web via plugin & Desktop offline).

Use WCF for your data services ;)

Regards.


这篇关于用于桌面应用程序的Asp.net MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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