asp.netwpfxamlinfragistics

Converting WPF to Web


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.


Solution

  • 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 of.

    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)