Solved

Convert WPF Forms application into a WPF Web Application

Posted on 2009-05-11
3
5,131 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now