Solved

Convert WPF Forms application into a WPF Web Application

Posted on 2009-05-11
3
5,188 Views
Last Modified: 2013-11-12
Can we  convert a WPF Forms application into a WPF Web Application ?
0
Comment
Question by:Abhise
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…

737 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