Introduction to XAML
- Posted: Sep 06, 2005 at 5:00 PM
- 54,636 Views
- 22 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Very impressive stuff... VERY impressive. Very good screencast. Would it be possible to get one showing us how, for example, you would set text using C#?
Two other questions -- Why are strings inconsistent in XAML? Some strings are contained within " " - "text" and others between tags <A> Text </A>; why not pick one or the other?
Just because I'm curious, could you have your typed text follow a curve around (see WordArt)?
As far as the differing styles of XAML are concerned, it is at least consistent - you have both choices. For example, you can write: or
It's just that the default property for Button is Content, hence you can embed the text within the element. We could only support the former choice, but the latter allows for a more natural syntax, I think. Does that make sense?
Will Avalon be helpful to web developers? A'la a web-based plugin, etc etc. Or is it app only?
The way is also open for other browsers to host Avalon Express, incidentally - they just need to host our container.
Expect to see a whitepaper on Avalon Express published on MSDN in the next week by Karen Corby, the Program Manager for this area.
What about the version of DirectX, is 9.0 good enough? Or 9.0b or whatever the newest is. I just had the feeling that DX10 was needed.
If it does XP/IE6, then that's pretty sweet. No need to wait to get clients going on things then.
It simply tells me the specified string for the Source is not valid. I tried to compile a simple sample (http://www.xamlshare.com/default.aspx/Text.Video%20clipped%20with%20text) including a video in Studio 2005. Compiles but throws a "class not registered" error mesaage when trying to access the video at runtime.
Any ideas an how to fix that? I am using a 64bit system - maybe that is the key? Other examples work ok (blackjack avalon express for example).
Mikx, I've seen a few problems with this in the past on Beta 1 - this is the first release that has video and some things are still a little flaky. A few things to try:
If you're still having challenges, please feel free to post a bug on MSDN Product Feedback and someone will take a look.
Good luck!
Tim
http://channel9.msdn.com/Screencasts/introductiontoxaml.wmv
Its just a shame that the quallity is poor. I hardly couldn't see that you created a button the first time. The video is delayed compared to the sounds! Very very annoying!
But its defently a great idea, to make videos about it(Really helped me ALOT! Thanks dude) I can't wait to see the next episode
Nice screencast. Thanks.
Two words:
Shape tables.
No, seriously (for those who know what I am talking about). Apple had them in the eighties. Nobody used them (except me maybe and a few others) because they were incredibly slow. But they were vector based (scaling, rotations, xdrawing allowed) graphics that you could easily access in a program. There was a tiny 7K program called DRAW, and another 24K one called TABLES which let you draw them onscreen, and then you tied the tables into your program. If you were diligent enough, you could call the shape table routines from assembly language. Primitive, yes, but not new territory by any means.
Regarding typefaces, I never believed that designers spent so much time on them until I actually took a typography/graphic design class (one of many as part of my major). It's unbelievable the amount of effort that can go into something so apparently simple as the letters you use onscreen or on paper.
Interestingly the card is only working on real Intel 32bit hardware and in combination with WinXP SP2. Intel32+Vista, AMD64+Vista64, AMD64+Vista32, AMD64+WinXP are not working with the same card. Surprisingly a real old S3 SavageDDR chip was at least able to play audio files - but no video (damn, no testing on my notebook).
Anyway, my ultimate goal was to get the stuff working in a Avalon Express Application. I can create, compile and run the Avalon Express C# template. Also adding a button to Pag1e.xaml works. But as soon as i add a MediaElement (even without source attribute) the PresentationHost crashes on startup.
Any idea? Creating those stuff as an Express Application would be really cool to create a web based Avalon Test Server (people could modifiy XAML files and when they open the test url, the server compiles the project and delivers the exe inside the browser).
Oh, and is there a way to interact with the presentation host via JScript? e.g. recieving events or user input from a "normal" html based website?
I'm looking forward to your next one.
i need some help in doing fade-in and fade-out on images...how would i do that?
I was looking for a good intro to XAML today, after watching the Sweet Vid on C9 demonstrating the 3d capabilities of XAML and WPF...wow, such perfect timing!
Update:
Okay, I just finished watching this video (and I'm downloading the second). I am so impressed with the XAML language so far that I cannot wait to start working on it with my own two hands.
I was a little upset that there was no dynamics in the first video, but heck, looks like the second video is going to address making an RSS reader in like 14 lines of code?
Jonathan
Waiting for your other channels...
Remove this comment
Remove this thread
close