Hi,
You should ask WPF questions on the MSDN forum at
http://forums.microsoft.com/MSDN/Sho...D=119&SiteID=1
Nonetheless:
arunonw3@xxxxxx wrote:
| Quote: |  | |
|
> Please answer me
>
> 1. Is XAML maily aiming windows. Why is the controls on double click
> not produce the event handlers in the c# file( code behind or
> something ...)
| |
| | |
XAML is a serialization language. You can use it for WPF (UI),
Silverlight (UI), but also for Workflow Foundation (non-UI), etc... It
can be used to serialize any CLR object.
I am not sure in which environment you work to make WPF applications
with XAML. With Expression Blend, you can select an element, and enter
an event name in the Properties pane. This will automatically create the
corresponding event handler in the code behind. If you use VS2008, the
XAML editor offers a popup whenever you type an event name in a XAML
element, and creates the event handler in the code behind. In Cider (WPF
designer in VS2008), I am not sure what happens. This is a work in
progress anyway.
| Quote: |  | |
|
> 2. XAML web browser applications doesnt need IIS? Then can we use it
> for server side programming? If yes how is it working?
| |
| | |
XAML browser applications (XBAPs) run on the client. They are served
from a web server (which can be IIS, but doesn't need to be). Then the
WPF app can communicate with the server using ASMX web services, WCF or
any web request.
I am not sure what your scenario would be to use XAML on the server. If
you don't use it for UI, as I said, you can use it for any serialization
work.
| Quote: |  | |
|
> 3.How to use the asp.net objects from xaml (web) page. Or is there any
> other method which is specific to xaml for this functionality
| |
| | |
XBAPs are not web applications. They are rich applications deployed
using the web browser, and running in a host. That said, you could of
course create UI XAML code dynamically on the web server using ASP.NET.
This is something which is rather done for Silverlight, not really for
WPF though.
Hope that helps,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:
http://www.galasoft.ch
PhotoAlbum:
http://www.galasoft.ch/pictures
Support children in Calcutta:
http://www.calcutta-espoir.ch