Forum guidelines
  • Home
  • »
  • WPF
  • »
  • WPF web application that run on a web server
AuthorQuestion
WPF web application that run on a web server
Posted By Purushottam Rathore on 18 Feb 2010

Can be implement wpf application in web application. If yes then please send me sample.
Thanks.

Genuine success comes only to those who are ready for it.... Puru
AuthorReply
Re: WPF web application that run on a web server
Posted By Raaj Kumar on 18 Feb 2010  
Hi Rathore,

     Yes we can do that with the help of XBAP(XAML Browser Application).XAML browser applications (XBAPs) combines features of both Web applications and rich-client applications. Have a look at this site for more information.

http://msdn.microsoft.com/en-us/library/aa970060.aspx

Regards,
Raaj

----------------------------------------------------
Please mark as Answer if it resolves your problem

Re: WPF web application that run on a web server
Posted By Purushottam Rathore on 19 Feb 2010  

Hello Raaj
Thanks for reply.
Raaj actually i m creating a new website in asp.net 3.5. and i want to use all new features and wpf. so can u tell me how to create WPF in my website. i dont want to change the site url. page extension should be .aspx.
Thanks.
 

Genuine success comes only to those who are ready for it.... Puru
Re: WPF web application that run on a web server
Posted By Raaj Kumar on 19 Feb 2010  
Rathore,

    Here are the few steps that you should follow,

    1. Create an WPF Browser application.
    2. Add MIME type to the IIS before publishing. Details can be found in this page
         http://msdn.microsoft.com/en-us/library/ms752346.aspx
    3. Publish XBAP application to IIS and set the security level to full trust and create a certificate for Internet explorer. Details can  be  found in this page,
    http://blogs.microsoft.co.il/blogs/maxim/archive/2008/03/05/wpf-xbap-as-full-trust-application.aspx
   4. After this verify whether you can see it IE.
  
    5. Once these steps are completed try adding <Iframe> inside you aspx page and set the src attribute to the iis xbap path
             <iframe src="http://xxxxx/XBAPinASP/XBAPinASP.xbap" height="100%" width="100%"></iframe>

Thats it you are done.

Regards,
Raaj

----------------------------------------------------
Please mark as Answer if it resolves your problem

Re: WPF web application that run on a web server
Posted By Wahidur Rahman on 23 Sep 2010  

Hi Raaj
How can i use Silverlight in vs 2008?
Thanks
Wahidur Rahman

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.