من قبل
Zaid Rabab'a , Technical Team Lead , ESKADENIA Software
In my side, I don't know if WPF can be used of the asp.Net, I think its just for desktop application, Microsoft create it to simulate power point in Desktop apps
try to use silver light why wpf ?
Hi, Furqan
Hope that you are fine now..
About your question, using WPF in ASP.Net (using it inside web applications), WPF is a presentation flow programming logic that come in .Net 3.5 framework
Also Microsoft has released this logic to simulate PowerPoint slides and effects inside its programming framework and for sure WPF is dedicated for desktop applications ( windows Applications ) .
Also if you want to use something similar to windows presentation foundation (WPF) inside ASP.Net Application, then you can use SilverLight that also released by Microsoft in .Net 3.5 Framework .
Regards,
Peter Louis
yes and no
WPF (Windows Presentation Foundation) as its name shows, is restricted to be used under windows platform and cannot be used, directly, in ASP .NET webforms or even windows forms for that matter.
Although you can always use Silverlight for ASP .NET which is a subset of WPF and have the ability of gaining the rich interface you'll have using WPF and you can show precompiled WPF forms in Internet Explorer, but both have their own limitations.
and as for winforms, you can always use windows form objects inside a WPF application but you can not use WPF objects and controls inside a windows forms' form.
Hope you are well Brother.....
Kindly check the following useful links:
http://www.codeproject.com/Articles/26270/Understanding-WPF-via-ASP-NET
http://wpftutorial.net/WPFIntroduction.html?showallcomments
and more....
Regards,
Muhammed Effat
You can't use WPF with ASP.NET.
WPF is a Windows desktop technology for developing Windows application in the .Net framework.
Silverlight is a web technology, that is fully supported by a browser plugin on both Windows and MAC (in a similar fashion to Flash). There is also a plugin for running Silverlight on Linux (Moonlight).
While there are similarities between the functionality provided by both WPF and Silverlight (in terms of user interface components and support for XAML) Silverlight is a much small framework, containing a subset of WPF functionality. Newer versions of Silverlight actually contain some functionality not found in WPF, so it is no longer a true subset.
من قبل
Tahir Ahmed Talpur , Designer , Freelance / Web & Graphic Design Services
WPF is supposed to replace winforms, it cannot be used in ASP.net. However Silverlight which is meant for web applications can be used with ASP.net.
Both WPF and Silverlight use a type of markup known as XAML for front end and it uses same technology (i.e C#.net or VB.net) as code behind so it might confuse people into thinking that WPF and Silverlight is one and the same thing but no WPF is meant for Desktop applications therefore cannot be related to ASP.net while Silverlight is meant for web like Adobe Flash and thus can be integrated in an ASP.net website.