![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| xaml 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 ...) 2. XAML web browser applications doesnt need IIS? Then can we use it for server side programming? If yes how is it working? 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 |
|
|
| |
| | #2 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest
Posts: n/a
| Re: xaml 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:
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.
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.
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 | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| | #3 (permalink) |
| Guest
Posts: n/a
| Re: xaml Hi Sorry if I am wrong...Since this is some what new to me may be I am asking something stupid or wrong.. 1.I was using VS 2005 extensions . Here on selecting a button the corresponding mark up is not highlighted. And we have to type the event handlers manually( I mean the basic format). 2.So WPF applications are windows applications using browser. Its like we have to install the client part on the client which will contact to server using some protocol( which will be that? web services?) and get the result and display back to user. 3.So they are not getting rendered as HTML ultimately. 4.And can I use them as userinterface for web applications...as I am doing with asp contros( button, datagrid etc.). Once again sorry for being wrong... |
|
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Guest
Posts: n/a
| Re: xaml Hi, No stupid questions. Don't be afraid to ask, but again, you should rather use the official MSDN forum. This newsgroup is dying slowly but surely, and is not monitored by Microsoft. http://forums.microsoft.com/MSDN/Sho...D=119&SiteID=1 arunonw3@xxxxxx wrote:
XAML editor is very basic (in fact, there is no XAML editor in VS2005, it's the XML editor which is (mis)used to type XAML. Also, the state of the WPF designer "Cider" in VS2005 is very primitive. I explicitly recommend against using it, because it's also very slow. In VS2008, it improved greatly, but I am not using it often so I am not sure exactly about all you can do.
before, you can use ASMX web services, WCF or basically any web request. The XBAP is just a .NET client like any other (well, with a few security restrictions, for example you cannot use sockets). Note that WCF is only available for XBAP in .NET 3.5.
used as a host for another EXE, named PresentationHost.exe. This is where the real rendering is done. If that's not satisfying for your scenario, you should look into Silverlight.
HTML surface. If you want to use WPF controls on a web page, you should look into Silverlight, but the stage is very basic for the moment and there is only one control available out-of-the-box (TextBlock). You can create your own controls though, and rotate them, transform them, etc...
Greetings. 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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | #5 (permalink) |
| Guest
Posts: n/a
| Re: xaml And Can we never have the same mark up for web applications and windows applications. Infact I read an article on WPF which contained " A common technology for windows and web browser interfaces" which made me to think that I can use them for web applications as well. So XBAPs are basically windows applications just using the browser for display..They are stand alone applications that can use internet if they want.. Not the web applications of the asp.net kind( where the server will render html output to browser after processing..) |
|
| |
| |