LP Pinsonneault blog's

Windows 8, Windows Phone, ...


Expression Studio 4 now available

Microsoft just launch the latest version of Expression Studio (Blend, Web, Desing, Encoder). If you have an MSDN Subscription, you can now download the latest release.

Important Note
If you are developing with Windows Phone, Tim Heuer indicate that we must still use Expression Blend 4 Beta until they finalize the development tools for Windows Phone.

Expression Blend 4 New Features include:

  • VS2010 compatibility
  • Windows Phone support
  • Deeper Adobe Photoshop import (layer effects)
  • New behaviors & conditional behaviors
  • Enhanced sample data support
  • Listbox path layout for designing with data
  • Pixel Shader effects (including animations)
  • Easier styling and customization
  • Model View View-Model support
  • Mockup controls for SketchFlow

Expression Web 4 New Features include

  • SEO Reporting from inside of the application
  • New extensibility model enables creating add-ins with HTML, JS, and CSS
  • New SuperPreview online service beta for browser compatibility testing now supports Macintosh Safari

Expression Encoder 4 Pro New features include

  • Live Smooth Streaming (VC-1 & H.264)
  • New H.264 encoder from MainConcept
  • Enhanced Screen Capture
  • DRM (PlayReady) for Live Content

For further, information read the blog post of Tim Heuer or go on the Expression Website:


My presentations at SupInfo for the Labo Tech

Yesterday i did 2 presentation at SupInfo. My presentation was about Silvelight and Expression Blend. Here is some detail about those presentation.

Silverlight Presentation:

Expression Blend:

I want to thank Aurélie Valery for the organisation of this great day.


RunAtServer in Visual Studio Magazine - Mobilizing .Net Developers


Last month i was interviewed by Kathleen Richards (Executive Editor, Visual Studio Magazine). The interview was for the Cover Story of the May edition titled “Mobilizing .Net Developers”. As the title says, it was focusing on Windows Phone 7 development. So if you want to read a great article about Windows Phone 7, read this one. The article in on pages 16, 17, 18, 20, 21.

Here is the link to access the article on the web: http://visualstudiomagazine.com/Articles/2010/05/01/Mobilizing-NET-Developers.aspx



Note: Special thanks to Laurent Duveau who give the chance to do the interview…


Windows Phone 7 Developer Tools April 2010 Refresh

Microsoft just released a new version of their Windows Phone 7 Tools. You can download it at http://developer.windowsphone.com

Also if you want to have more information about this release Tim Heuer just post a great article: http://timheuer.com/blog/.../windows-phone-tools-update-april-2010-silverlight-xna.aspx

I’m finishing installing it.


Ottawa Code Camp – My presentation

Yesterday i did a presentation that was about Silverligth and Data called Data Matters. I’m very proud of my presentation i felt confident so i were able to stay in control and don’t loose focus.

The other guys (Colin Melia, Peter Henry, Sylvain Boucher) that are presenting with me did great presentation! Good job guys!

Through all the session we were building a complete project. The project that we build is available on CodePlex: http://ottawacodecamp.codeplex.com/. So feel free to download the code and test it.

Here is the PowerPoint for my presentation:


Debugging WCF Web Services

Currently I'm working on a Silverlight project, that retrieve some data from the server using WCF. Sometimes when there is some error the message return to the Silverlight application is : The remote server return an error: Not Found.


This pretty strange because I've flag the set the configuration <serviceDebug includeExceptionDetailInFaults="true" /> and the error doesn’t show up properly. And worst when you do step by step debugging, i won’t show you the error, and the application automatically raise the Completed event of that method you called.

So how can we know the exact error message?

There is a simple way to do that. Implement the System.Diagnostic in the .config file of the WCF application. In my case, it’s in the web.config of the web site hosting the services.

<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
<add name="traceListener"
initializeData= "c:\log\Traces.svclog" />

This will generate a file with some trace that you will be able to analyse with the Microsoft Service Trace Viewer. The application will show you in red where there is some error.


When we click on the line with the error, the right pane is updated to show more detail information regarding the selected trace. Again you will see in red where there is some error.


We then select the current error and the bottom pane will show you the exact error message that you will need.




This error is very simple to fix … but when you get the proper error message!

Hope this will help some of you.


Visual Studio 2010 RTM and Windows Phone Developer Tools CTP

For everyone who want to move to Visual Studio 2010 RTM and expect to be able to work with the current release of WPDT CTP, sorry let you that the current version of the WPDT is not compatible with VS 2010 RTM.

For more information please read the post of Tim Heuer on the Silverlight Forum: http://forums.silverlight.net/forums/t/175181.aspx

So for now we have to be patient until they release an updated version of the WPDT.

If you want to get notified when they release the updated version go to the following link: http://www.microsoft.com/windowsmobile/en-us/cmpn/vslaunch/default.mspx


Next presentation on my schedule – Ottawa Code Camp

Next Saturday (April 17th) i will present a session at the Ottawa Code Camp. My session will be part of the Silverlight track. I will show different way to get data and use it in you Silverlight application.

Here is the list of session for the Silverlight track:

Part 1 of 5 - Silverlight Essentials

By: Colin Melia

Silverlight promises to be everywhere and Visual Studio 2010 makes it more accesible than ever for developers.  To get to grips with it, you should know the fundamentals.  This session leads you through some of the essential features which may include XAML, controls, events, binding, styles, animations, hosting, navigation, etc.

Part 2 of 5 - Application Jigsaw

By: Sylvain Boucher

Silverlight applications follow general layered architecture practices with a strong emphasis on user interface and interaction.  In this session we build out our application and bring out the arsenal of Silverlight features from the Essentials session.  We'll also show how to make the application available out of browser and touch on Blend as a design tool.

Part 3 of 5 - Data Matters

By: Louis-Philippe Pinsonneault

Silverlight can access data in various ways using the browser and client stack.  In this session we discuss these options and specifically take a data source and show how Silverlight hooks up to it asynchronously for our application.  We then discover how data templates and binding can be used to display the data.

Part 4 of 5 - The Silver Cloud

By: Colin Melia

Featuring free Azure trial access*.  With a Silverlight application and data on our machine, we are ready to go public.  We need to host our S+S solution on the Web.  We'll take a look at the Windows Azure Platform and how to deploy our application to the cloud.  Attendees can deploy their own copy of the app during the session or later on. *limited quantities/duration

Part 5 of 5 - Going Mobile

By: Peter Henry

Windows Phone 7 is out of the gate and Silverlight is the main application interface technology.  To get on this bandwagon you need to be familiar with Silverlight and the development tools.  In this session we'll look at the emulator tools and how we can migrate our desktop application to work on the phone while connecting to our cloud-based data.


For those who want to attend at the event here is the link where you will find the information about the event: http://www.ottawacodecamp.ca/Pages2010/CodeCamp2010.aspx

See you there.

Windows Phone 7 : Pivot Control

One of the most interesting UI interface is the Pivot (some call it Panoramic). I look in the tools provide by Microsoft to see if the control was available. But at this time, there was no control available. So I've look on the web and find a lot of interesting stuff on that subject.

I found some blog showing how to create the this kind of interface. Here is some links:

I’m also following Tim Heuer on Twitter(and on his blog)  and he post some reference on controls that implement the Pivot. Those controls are very easy to implement, because they implement template so we can implement as many section as we want. So you only have to refer to the DLL and use it as any other controls.

I hope you will find these links interesting.