我是否仍应使用Silverlight/XBAP [英] Should I still use Silverlight/XBAP

查看:99
本文介绍了我是否仍应使用Silverlight/XBAP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要创建一个可以通过浏览器使用但也可以在脱机时使用的应用程序.

We need to create an application that can be used via the browser but that can also be used while offline.

我们的客户将使用浏览器版本进行计算.每个客户都需要使用用户名和密码登录到应用程序. 脱机版本将由我们自己的员工使用.他们需要能够在未连接到网络的情况下使用此版本. 应用程序所需的数据将存储在XML文件中.

The browser Version will be used by our customer to do calculations. Each customer needs to log into the application with a username and Password. The offline version will be used by our own employees. They need to be able to use this Version while not connected to a Network. The data that is needed for the application will be stored in XML files.

我们主要使用C#和.NET-Framework进行编程.我们考虑过将WPF用于客户端版本. 我已经读到可以使用Silverlight或XBAP创建WPF应用程序的浏览器版本. AFAIK Silverlight是一项垂死的技术. XBAP呢?您还会投资这项技术吗?

We are mainly programming with C# and the .NET-Framework. We thought about using WPF for the client version. I have read that you can use Silverlight or XBAP to create a browser Version of the WPF application. AFAIK Silverlight is a dying Technology. How about XBAP? Would you still invest into this Technology?

另一种解决方案是创建两个前端应用程序:WPF应用程序作为脱机应用程序,以及Web应用程序(例如ASP.NET MVC)作为Web应用程序.以为,这意味着我们将不得不创建两个前端(更多工作).

The other solution would be to create two front end applications: The WPF application as an offline application and a web application (e.g. ASP.NET MVC) as a web application. Thought, this would mean that we would have to create two frontends (more work).

还有其他选择吗? 创建HTML/JavaScript应用程序(例如,使用AngularJ或类似工具)会更好吗?

Is there another alternative? Would it be better to create an HTML/JavaScript application (e.g. with AngularJ or something similar)?

推荐答案

作为前Silverlight开发人员,我只能建议不要使用 Silverlight进行新的应用程序开发. Microsoft已暂停Silverlight的进一步开发,您将不​​会获得任何新功能(仅安全修复程序).我真的很喜欢该技术及其与WPF的相似之处,但对我而言已不赞成使用.

As a former Silverlight Developer I can only recommend not to use Silverlight for new application development. Microsoft has suspended the further development of Silverlight and you will not get any new features (only security fixes). I really liked the technology and the similarity to WPF but for me it is deprecated.

即使某些浏览器(例如Chrome)不再支持Silverlight,您也需要一种变通方法以使其运行(另请参见

Even some Browsers (like Chrome) do not support Silverlight anymore and you need a workaround to get it running (See also Chrome doesn't support silverlight anymore? How to solve this?)

开发一个为您的客户端提供REST-API的后端系统(以ASP.NET WebApi为例),并使用现代HTML/CSS/JavaScript框架开发一个Browser客户端应用程序.如果需要/需要使用WPF的桌面应用程序,该应用程序会使用REST-API.

Develop a Backendsystem that provides a REST-API (using ASP.NET WebApi as an example) for your clients and develop a Browser client application using modern HTML/CSS/JavaScript Frameworks. If needed/required a desktop application using WPF that consumes the REST-API.

这篇关于我是否仍应使用Silverlight/XBAP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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