WinForm, WPF and WEB

M

Mr. X.

Hello.

Does WEB form application and WPF have some protocols and other things in
common.
(I would like to develop my application, so it should be good for both
WEB-Form and WIN-Form).

Is XAML common to WPF and WEB?

Other thing :
I am working at framework 3.5, and found that many controls exists in
classic windows-form and not in WPF
(such as PropertyGrid).
Does framework 4.0 solve that problem?

Thanks :)
 
A

Arne Vajhøj

Does WEB form application and WPF have some protocols and other things
in common.
No.

(I would like to develop my application, so it should be good for both
WEB-Form and WIN-Form).

Not possible.
Is XAML common to WPF and WEB?

No.

(Just common for WPF and SL)
Other thing :
I am working at framework 3.5, and found that many controls exists in
classic windows-form and not in WPF
(such as PropertyGrid).
Does framework 4.0 solve that problem?

Check the docs.

Arne
 
A

andy

Hello.

Does WEB form application and WPF have some protocols and other things in
common.
(I would like to develop my application, so it should be good for both
WEB-Form and WIN-Form).

Activex is the only way I can think of literally using an application
in both winform and webform.
Is XAML common to WPF and WEB?

XAML is used in WPF, silverlight and loose xaml applications.
Forget loose xaml because they don't do anything much.

You could write your application as silverlight out of browser and
then it'd be kind of windows available from a browser.
Or
You could write your application as XBAP - which is WPF running in a
browser and requiring a .net install on a windows client.
Or
You could write your application in such a way that the majority of
code works in WPF and Silverlight and share a sort of code base.
Or
You could look into PRISM
Or
You could re-use your code behind perhaps converting as much of it to
WCF services as possible and some share code that way.

The obvious question to ask is what you're trying to achieve, why and
how much do you want it.
Other thing :
I am working at framework 3.5, and found that many controls exists in
classic windows-form and not in WPF
(such as PropertyGrid).
Does framework 4.0 solve that problem?

Thanks :)

Not so much.
You can, however, use winforms controls in WPF. Although there can
well be side effects you might not like and it kind of blows the point
of WPF if all you do is host winforms controls.

You can alter the look and feel of WPF controls to an extent winforms
developers can only dream of. So if you really wanted a control that
works like a propertygrid you could write a usercontrol. Assuming you
had the appropriate skills, that is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top