Y2theZ
Y2theZ

Reputation: 10412

Quick way to integrate Xaml in asp.net?

I have a WPF/C# application. It contains some .XAML pages.

i would like to integrate this application into my ASP.NET/C# web application.

I want the application to show in an asp.net page.

What is the best way to do this?

I heard that I can use Silverlight. I never worked with silverlight before. Can I do it without knowing silverlight or should I have a knowledge in silverlight before doing it?

Any help is greatly appreciated. Thank you very much

Upvotes: 1

Views: 2224

Answers (1)

alf
alf

Reputation: 18530

You can either deploy your WPF application as an XBAP or migrate it to Silverlight. I'd recommend the latter because you'll get better browser/os support.

Just create a new Silverlight project and copy your xaml files into it. Probably, everything will be compatible since both frameworks have a lot in common. Silverlight is a bit more restrictive since it's a web framework, but it also has other features that WPF doesn't. If you find something that's not compatible, just search for an alternative here.

Upvotes: 4

Related Questions