Archive | January, 2010

Silverlight 4 workshop is sold out

29 Jan

The Silverlight 4 workshop in January was a big success and the tickets for the workshop in February is now sold out. I have opened up for the waitlist for the February workshop and opened the sale for the Marts workshop.

You can read more about the Marts workshop here – it’s only a week after the Mix10 conference in Las Vegas.

by xamlgeek

Surface Developers in Denmark

26 Jan

The Surface technology from Microsoft is pretty new and is still running on its first version. Even though the hardware has been available for a few years now, it wasn’t available in Denmark until about 6 months ago. But now we got it!

Because the technology is still new and fresh, not many developers have looked at it yet – specially not in Denmark. There is a group at LinkedIn called “Surface Developers in Denmark” (http://bit.ly/8WSSgc) for all Danish Surface developers. I encourage all surface developers to join it and be part of the Danish Surface community.

by xamlgeek

DescriptionViewer in Silverlight 3

25 Jan

One of the new data controls in Silverlight 3 is called DescriptionViewer.

A DescriptionViewer control displays an information icon and shows a text description in a tooltip when the mouse pointer is over the icon. It also tracks validation error states so that you can implement a custom error display. It can be used to display a description by itself or be associated with another control.

To use the DescriptViewer you must add a reference to the System.Windows.Controls.Data.Input.dll assembly.

image

Used at it’s most simple form by setting the Description property this is what you will get.

image

image

As mentioned at the beginning, the DescriptionViewer control is a data control. To gain full advantage of its functionality, you need to bind data to it.

Start by looking at your data class. It’s possible to add a Display attribute to your data class. The Display attribute takes several parameters and among them a Description. Before you can use the Display attribute you need to make a reference to the System.ComponentModel.DataAnnotations.dll assembly.

image

The description parameter can be used as content to our DescriptionViewer. To accomplish that you need to point the DescriptionViewer to the control that the DescriptionViewer is related to – in this case it is the TextBox control.

image

To fill the controls with data you should add some data to the DataContext of the page.

image 

The content of the DescriptionViewer is now bound to the Description parameter of the Display attribute in your Person class.

image

All-in-all you don’t save any keystrokes by using the Description parameter on the Display attribute but it’s highly maintainable – if you decide to make changes in the data class, you don’t need to make changes to the markup.

You can download the samplecode from my DropBox.

by xamlgeek

Silverlight Facebook client

25 Jan

Microsoft have released the Silverlight Facebook client:

http://www.silverlight.net/content/samples/apps/facebookclient/sfcquickinstall.aspx

(requires Silverlight 4 developer beta runtime)

by xamlgeek

CNUG: Hacking your website

25 Jan

Kom og hør Thor Larholm fortælle og demonstrere, hvordan hackere finder huller i din asp.net application, hvordan sikkerhedsfejlene kan udnyttes og hvordan du kan beskytte sig mod dem.

Tilmelding via EventBrite: http://cnug-hacking-your-website.eventbrite.com/

by xamlgeek

CNUG: Windows Azure den 11. februar 2010

20 Jan

Windows Azure er Microsofts bud på cloud computing.

Kom og hør René Løhde, arkitekt evangelist hos Microsft, om hvordan og hvorfor man skal vælge Windows Azure til sine cloud applikationer.

René vil vise og forklare hvordan man hoste sin applikation i skyen, hvordan man kan tage bestik af den underliggende platform og om hvordan man bruger de omkring liggende services og APIer.

Læs mere og tilmeld jer via Eventbrite:
http://cnugazure.eventbrite.com/

by xamlgeek

Slides and demos from Silverlight 4 presentation at Microsoft Web Partner event

20 Jan

Earlier today I did a short talk about Silverlight 4 at a Microsoft Web Partner event in Hellerup, Denmark. The talk had focus on the new line-of-business possibilities that comes with Silverlight 4.

Due to the very short time there wasn’t time to questions – if you have any don’t hesitate to contact me.

You can download the slides here and the demos here.

by xamlgeek

Follow

Get every new post delivered to your Inbox.

Join 1,356 other followers