选择正确的.NET开发技术,那么多的选择! [英] Choosing the right .NET development technology, so much choice!

查看:81
本文介绍了选择正确的.NET开发技术,那么多的选择!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,我正在为我将要开发的相当大的表格/数据驱动的业务应用程序做一些初步研究.此应用程序有4个基本要求:

1.可以作为托管应用程序在本地PC 上安装/运行应用程序(通过Web浏览器访问我们的托管服务器).这包括数据库.
2.本地版本可能是仅Windows应用程序.
3.托管版本必须跨浏览器运行(最低要求是IE和Firefox).
4.本地版本必须具有简单的安装程序(通过Web或CD)并且可以自动更新.

我在C#,ASP.NET和SQL方面的经验不多,但对可用的.NET技术的选择感到不知所措.并希望提出一些意见.理想情况下,我只想要一个代码库,但是我看的越多,看起来就越不可行.维护2个应用程序听起来并不那么有趣.

我首先想到的是可以与UltiDev Cassini打包并在本地部署的ASP.NET应用程序,但我不确定它是否健壮/是否足够安全(有想法?)其他选择似乎是:

本地
-WinForms
-WPF或XBAP
-ASP使用Cassini或Web部署工具.

远程/托管
-XBAP
-ASP.NET/MVC/Ajax
- Silverlight

我已经注意到,您可以潜在地使用在本地作为XBAP部署WPF应用程序. Prism ,想听听关于它的想法.

然后是数据访问策略,我也不确定. [笑]

Hey folks, I am doing some preliminary research for a fairly large forms/data-driven business application I am due to develop. There are 4 basic requirements for this application:

1. Can install/run app on local PC or as a hosted application (access via Web Browser to our hosted server). This includes the Database.
2. The local version may be a Windows-only application.
3. The hosted version must run cross-browser (IE and Firefox minimum).
4. The local version must have a simple installer (via Web or CD) and can Auto-Update.

I have a modest amount c#, ASP.NET and SQL experience but am overwhelmed by the choice of .NET technologies available and would like some opinions. Ideally I would like just one codebase but the more I look at it, the less feasible that seems. Maintaining 2 apps doesn''t sound so much fun.

My first thought was an ASP.NET app that could be packaged with UltiDev Cassini and deployed locally but I''m not sure it''s robust/secure enough (thoughts?) Other choices seem to be:

Local
- WinForms
- WPF or XBAP
- ASP with Cassini or Web Deployment tool.

Remote/hosted
- XBAP
- ASP.NET/MVC/Ajax
- Silverlight

I''ve noted that you can potentially deploy a WPF app natively and as a XBAP using Prism, like to hear thoughts on that.

Then there''s the data access strategy, which I''m not sure about either! [laugh]

推荐答案

可能您可以看看使用Silverlight和WPF.如果您知道技巧和陷阱,则可以在Silverlight和WPF之间共享很多代码.看看我们在 Onyx [
Potentially you could look at using Silverlight and WPF. It''s possible to share quite a bit of code between Silverlight and WPF if you know the tricks and gotchas. Take a look at the work we''ve done on Onyx[^] to get some ideas.


Silverlight 3允许应用程序在浏览器外运行.实际上,即使没有Internet连接,您也可以安装要运行的应用程序.有关更多信息,请参见以下内容.
http://timheuer.com/blog/archive/2009/03/18/silverlight-3-offline-update-framework.aspx [
Silverlight 3 allows applications to be run out-of-browser. Effectively, you can install the application to run, even if there is no Internet connection. See the following for more information.
http://timheuer.com/blog/archive/2009/03/18/silverlight-3-offline-update-framework.aspx[^]


Prism并不是真正的部署工具.它是一个旨在构建模块化"应用程序的应用程序框架.您可以在其网站上浏览Prism的某些功能.

顺便说一句-它打算与WPF或Silverlight一起使用.
Prism is not really a deployment tool. It is an application framework that intends to build ''modular'' appications. You can go through some features of Prism on its website.

BTW - it is meant to be used with WPF OR Silverlight.


这篇关于选择正确的.NET开发技术,那么多的选择!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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