Skip to main content

Kevin DeRudder

Go Search
Kevin DeRudder
U2U Website
  

Silverlight, WPF, XAML and .NET

  My Email
  My Twitter
  My Linkedin
  My Flickr
Silverlight, WPF, XAML and .NET
Silverlight 3.0 Hands-on workshop

On the 10th of September, Frederik and I will organize a Silverlight 3 hands-on workshop. In this workshop you will discover the new features of Silverlight 3

  • Out of browser
  • Navigation Framework
  • Animation easing
  • Pixel effects
  • Perspective 3D

This event is off course free of charge and will be hosted by boulevart at Schelle. Go to the BESUG site to subscribe you for the event.

Note: There are only 30 places, currently we have already 18 subscriptions, hurry up :-).

K

Silverlight and Search crawling some tips

Very often people ask if search engines crawl silverlight sites. The answer is yes and no :-).  Yes, they crawl the webpage where the silverlight control is hosted, no they do not enter the silverlight control.

The problem is that Silverlight and other Rich Internet Application technologies load data dynamically, which is off course great for the visitor but a problem for search robots who only know how to read static data (like HTML).

So here are some options:

1. Add static information to the webpage where the silverlight control is hosted:

image

TIP: place just under the body tag

Now, when we write it like this are users will off course see the text, so we have to throw a little JavaScript to it and css to it.

image

or write it shorter with:

image

Imaging that the data is coming from a database off course :-). You could off course use AJAX to load the data in the hidden tags.

2. It is maybe a thought ( so never tried it ), but maybe you could place the content under the silverlight  control by using z-index in css.

3. Use the browser integration to get Silverlight content from the control and show it in the page.

4. Because Silverlight is an XML language you can also use XSLT to get the xaml you want and show it your page as static text

 

Basically, it all comes back to the same thing, change the dynamic data in static data and your Silverlight application will end up higher in the search results.

K.

Silverlight in SharePoint

Sorry for posting this late, but here is the slide-deck and the code that Karine and I showed during the BESUG presentation at the Microsoft buildings.

Keep an eye on the BESUG site for upcoming events. Next meet up will be at the community days where we will present Silverlight 3

U2U Beta Days

Be ahead of the game by coming to the U2U Beta days on 1 and 2 july 2009. On these 2 days we will cover the newest technologies of microsoft:

  • Windows 7
  • Azure
  • Visual Studio 2010
  • C# 4.0
  • Exchange and SharePoint online
  • Silverlight 3

These sessions are delivered by the U2U trainers who are already working on these technologies and eagerly waiting to talk about our experiences in the technologies.

Hope to see you in july

K.

Debugging out of the browser Silverlight 3 applications

In Silverlight 3 you have the option to create out of the browser applications. You can read more here or see more here.

At the Microsoft UXV days at Vitra, I had the question if it was possible to debug these out of browser applications. Off course the answer was yes, the only thing that you have to know is that the out of browser application is started by the sllauncher.exe of Silverlight. You can find this one in the Silverlight folder in the Program Files:

image

So when you are in Visual Studio, you can attach to this process ( in the debug menu of visual studio) and start placing breakpoints in you code:

image

K.

Importing PSD in Blend 3, Black and White

One of the cool new features in Blend 3 is the option to import Adobe Illustrator and Adobe Photoshop files. This makes the interaction between Designer and Developer even better.

Today I had a question concerning an adjustment layer applied in Photoshop that Blend didn’t recognize. Okay, not everything can be imported from Photoshop, but you can try to find a workaround for it.

So what was the question. This guy wanted to create something like an Image Viewer, and when you didn’t hover over the picture, it was Black and White when hovering all the colors needed to show up.

To change an image to BW is pretty easy in Photoshop by using the Channel Mixer and selecting the monochrome option.

image

What you do basically is applying an adjustment layer on the image. When you save this one to PSD and import  it into Blend, Blend will tell you that some of the features are not supported and that it will be ignored:

image

The workaround for this problem is to make a copy of the image in Photoshop, applying the adjustment layer on the copy and than merge the copy with the adjustment layer.

So Duplicate the image in Photoshop:

image

Apply the adjustment on the copy of the image

image

Now right-click the adjustment layer and the copy and merge the layers

image

Save this and close Photoshop.

Open Blend 3, make a new project and open the Import the PSD in Blend

image

When Blend opens the PSD, you can choose if you want to have all the layers separately or as 1 image. If you want to adjust the layers afterwards go for option 1. We will also go for this option because we need to have the layers separated from each other. To import the two layers, select both checkboxes. Don’t check the Compatibility layer, because that one will flat everything.

image

Click on OK and have a look at your objects and timeline pane:

image

For the mouse over effect, you can use the Visual State Manager. Set the visibility option for the Channel Mixer to Collapsed or you can play with the Opacity, which can give you some amazing results :-)

K.

Laurent Bugnion @ Besug

On Monday 18th of May, Laurent Bugnion ( Silverlight MVP and author of Silverlight 2 unleashed book ) will give answers to all your questions about Silverlight.

  • Where: PIH Kortrijk
  • When: 18:30

Hope to see you there…

Silverlight 3 beta released
Microsoft released Silverlight 3 beta, which means that a new time of exploring and exitement has arrived.
 
A better video experience, running silverlight outside the browser and deeplinking are some of the new cool features.
 
This might be a reason to make new blog posts.
 
Keep you updated
Visual Studio 2010 and C# 4.0

It's always an exciting moment when you hear that there is a new version of Visual Studio and C# is on the way. At PDC 08 they announced the release of Visual Studio 2010 and the .NET Framework 4.0 CTP, you can download it here.

As a Silverlight, AJAX and JavaScript fan, it is nice to hear the integration bewteen C# 4.0 and JavaScript. Hope that I can give you some demos and code very soon.

 

Jan released new version of the SmartPart

This evening my friend and colleague Jan Tielens released a new version of the SmartPart. For the few who do not know what I'm talking about, the SmartPart allows you to create SharePoint 2007 Web Parts using Web User Controls ( .ascx ) created with the Visual Studio designer.

This version of the SmartPart allows you to install it using a wizard, which makes live much more easy J. There is also support for localization using ASP.NET Ajax controls and User Control samples are added to make you more productive using the SmartPart.

So go and download it from the codeplex community site.

Kevin.

 

1 - 10 Next

 ‭(Hidden)‬ Admin Links