Archive for the ‘XAML’ Category

Creating NanoRIA #2.1: .NET 3 Client

Tuesday, January 9th, 2007

In the previous tutorial we’ve created very small Web Service, which provides us with news, images and weather. Now we will create client to our Web Service in Microsoft Blend

So lets start Blend and C# Express, and create new project called “MiniRIA”, and lets start to develop!

But before we’ll actualy start to develop, we need WebService proxy class that call remote operations on our server. We’ll do this same way we did with GlobalWeather service:

  • Start your WebService from Visual Web Developer, and remmember it’s url, you can check in the Task Bar.
  • Open Command Promt, and type: wsdl.exe HERE_IS_URL /out:Path\to\project\Service.cs

Now let’s think a bit (yeah we have to do this stuff sometimes), since I’m using Windows Vista I really miss old Windows XP window layout, do you remmember blue panel with expanding toolboxes on your left, and content of a folder on your right? We’ll do similar layout in our application. On left side we’ll place weather and media information, and news on right. So we have to create 3 main UI Controls:

  • Weather control - holds information about weather.
  • News control - with propaganda :D.
  • Flickr control - with images.

Weather control will hold some Labels and TextBoxes controls, News and Flickr will contain ListBox instance, which will be filled with content (images for Flickr and news for News).
(more…)

Blend For ActionScript Coders #3: Simplest RSS reader.

Saturday, January 6th, 2007

Previous parts:

I think we are quite ready for our first application in Blend, that is RSS Reader, we also “meet” closer with XAML today.

Idea

Ok, our current RSS reader should be really simple, since this is our first time with layout in Blend. I say, we need one TextBox (something like TextInput\TextArea in Flex), one Button, and ListBox which will hold data from RSS feed. We Also have to create some custom class which will present every feed item in appropriate form, but this is another story.
(more…)

Blend For ActionScript Coders #2: List Controls.

Thursday, January 4th, 2007

Previous part.

This is second tutorial about Microsoft Blend, I strongly recommend you to read previous part of this tutorial, you may find some basic information about editing code, basis of C# syntax and some links.

In this tutorial we will learn how to use list based controls in .Net and also how to load an images in System.Windows.Controls.Image control. Lets create new project called “List” in Blend and open in your C# IDE.
(more…)

Blend For ActionScript Coders #1: MouseEvents.

Tuesday, January 2nd, 2007

I was playing with Microsoft Blend (previously known as Interactive Designer) for a while, and now I think I’m ready to write short tutorial. Since I’m basicaly ActionScript coder this article will contain some migration tips and comparisons with Flex\ActionScript.

For this tutorial you will need:

In this tutorial we will learn how to work with mouse events in blend
(more…)

Free Microsoft Training

Friday, October 13th, 2006

WPF Dev Team offers free training for people who want to develop under Windows Communication, Presentation and Workflow foundations.

Requirements:

2 Years of expirience
Expirience with Web Applications and\or Windows Forms Applications and\or Server Components and\or XML Web Services.

Go get it!

ActionScript 3.0 ?? Expression Interactive Designer

Tuesday, October 3rd, 2006

Well, to be honest this is not competely truth, we cannot write in ActionSctipt for .NET 3.0, but we can write in JScript which is subtype of JavaScript 2.0, which is ECMA4… well this is just like ActionScript 3.0 ;). The only one seriouse difference is classes and their location, but we still have ByteArray, BitmapData\Bitmap and ColorMatrix (which is ColorMatrixFilter in AS) and bunch of other similar classes.

Now, .NET 3.0 is compatable with version 1 and 2, so that means that we can compile library for .NET 2 and use it in our WPF/E-.NET 3.0 project.

For this mini tutorial you’ll need .NET 3.0 and Microsoft Expression Interactive Designer.
(more…)

My First .NET 3.0 Application

Thursday, September 28th, 2006

Well this is pre-alpha version of my first .NET 3.0 application, dont kick me please. Currently this is really-simple-OrangeFlash-rss reader, that means, that it can read only this feed, but dont worry this is temporary.

Download application
Download sources


You will need NET 3.0 runtime and Expression Interactive Designer.