Solved

Convert WPF Forms application into a WPF Web Application

Posted on 2009-05-11
3
5,159 Views
Last Modified: 2013-11-12
Can we  convert a WPF Forms application into a WPF Web Application ?
0
Comment
Question by:Abhise
3 Comments
 
LVL 6

Expert Comment

by:rdogmartin
ID: 24356998
Maybe, but chances are it will take some work. The web application version would use the Silverlight plug-in, and it uses a subset of the WPF library. If you are very lucky, your WPF app only uses those pieces of the API that are also present in Silverlight, but if not, you have to get your hands dirty to provide workarounds.
0
 
LVL 9

Accepted Solution

by:
peterdungan earned 500 total points
ID: 24357531
XBAP might be another option. XBAP is WPF for web applications. It should be easier to convert a WPF application into XBAP than into Silvelight, since XBAP is more similar to Silverlight and has more functionality.
The advantage of Silverlight over XBAP is that Silverlight is more portable: You must have .net 3.x installed to use an XBAP application, and Silverlight does not have that requirement. So Silverlight is generally the better choice for Web applications - XBAP would be a good choice if you knew your users would be able to use it (eg: for intranet applications).
0
 
LVL 8

Expert Comment

by:jagrut_patel
ID: 24986819
VS Template available at http://scorbs.com/2006/06/04/vs-template-flexible-application/
might be helpful. It allows you to convert between WPF Standalone and XBAP apps. I have not explored it thoroughly. May be it could help you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question