Converting WPF to Web [closed]

自古美人都是妖i 提交于 2019-12-22 06:40:12

问题


My application is built into WPF using Infragistics control(xaml).

I wanted to port the existing app into Web but we don't want to use silverlight(for silverlight we need plugin to be available in our browser and target users will not be having permission to install any plugin into their browser) is there any third part control available which helps us to port our WPF pages into WEB faster.


回答1:


There are two ways to port WPF to web:

  1. Silverlight (which you said you can't use) and
  2. WPF XAML Browser Applications

Those are the only options I'm aware off.

If you want to convert your WPF app to ASP.NET Web forms or MVC you would have to do it manually.To make it easier you could create shared code which can be used by both WPF and the web application.

If you've followed the MVVM pattern in the WPF project that will make your job a lot easier as you can re-use the view model in MVC (with minor changes)



来源:https://stackoverflow.com/questions/14661534/converting-wpf-to-web

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!