LP Pinsonneault blog's

Windows 8, Windows Phone, ...

NAVIGATION - SEARCH

DevTeach–Montreal

imageDevTeach is coming back to Montreal next week (May 30 to June 3). So on Monday May 30, there will be a pre-conference day where some subject like Agile Architecture, Extreme Database Design and Silverlight. Me and some colleges of RunAtServer will present the pre-conference on Silverlight. We will demonstrate and share on how to create a end-to-end application with Silverlight. Bring your laptop so you can enjoy the experience.

The next 3 days (May 31 to June 2) will be for the main conference. On my side, i’ll be presenting on the first day May 31st at 9h30. I will talk about “What you should know about Windows Phone 7 Development”. So i will demonstrate some of the new feature of the upcoming Mango update. I will also go through some of my real experience as a WP7 developer on some issue you may face and how to resolve them. So i hope to see you there.

On Friday June 3rd, there will be a post-conference days which will focus on Windows Phone 7, Sharepoint 2010 and Agile Development.

image

Regards,
LP

Portable Library – Share your libraries between multiple technology

Have you ever create an application where you want to share resources between them but you had to create multiple libraries to because those project use different compiler? If your like this often happen. In my case we face that issue. To solve the issue we had to create multiple libraries and refer class using linked files in the project. This is what we have to do in some project where we have a Silverlight 4 app and a Windows Phone 7 app. But this is not the most efficient way to do it.

Microsoft is now offering a solution for that kind of issue. The solution is called Portable Library, which is currently in CTP. So now you can create a single class library in which you can select which kind of project it should be compatible with. You should give it a look, because this may help you solve many issue and save times related with having common class libraries for multiple technologies.

To download the tools: http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981/

For more information:
http://blogs.msdn.com/b/bclteam/archive/2011/01/19/
announcing-portable-library-tools-ctp-justin-van-patten.aspx

Regards,
LP

Windows Phone 7 – Upgrading to the RTM version of the Developer tools for Windows Phone 7

Last week Microsoft released the RTM version of the Developer Tools for Windows Phone 7. This weekend i took some times to migrate the application that I’m creating for the TechDays .  The migration took me about less than 30 minutes.

I only had to fix one issue, which is related to the RTM version. The WMManifest.xml have changed since the Beta version. To fixe the issue i had to create a new Windows Phone 7 project and copy the WMManifest.xml file in my application. And the application was building again.

In the beta version, the Panorama and Pivot controls was not available as built-in control. There was a project on codeplex which provided the functionality. So moving to the RTM, was pretty simple. I only had to declare a namespace :
xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls".
After what i have to change the control type. That was simple as that.

The Panorama and Pivot control are working perfectly and smooth. And much better than the other version.

Also they provide natively a Map control, which is a Windows Phone version of the Bing Map for Silverlight. I was waiting for that specific control for a long time. I only had to do a drag and drop and assign the CredentialProvider properties and the control was working.

Also the team who was working on the Silverlight Toolkit have created a version of the toolkit for Windows Phone. So i was able to use the WrapPanel from the Toolkit instead of importing some code file from the original Silverlight Toolkit.

For the emulator, it have been improved again. The start time have been improved.

In conclusion, i think as a developer we have all the tools we need to be able to build great Windows Phone 7 application.

What you need to download to start building Windows Phone 7 applications

Resources about Windows Phone 7

Regards,
LP

Silverlight Service Release 4.0.50826.0

Microsoft release today a service release for Silverlight. This service release fix issues that were in introduce in the RTW version:

  • SDK feature to enable Add New Row capabilities in DataGrid control
  • Improving startup performance of Silverlight applications
  • Adding mouse wheel support for out-of-browser applications on the Mac platform
  • Various media-related fixes around DRM content
  • Fixed memory leak when MouseCapture is used
  • Fixed memory leak for DataTemplate usage

Lately i was working on project that were affected by the DataTemplate memory leak. So i was waiting for that fix. I hope this will help.

The only thing we need to do to apply the latest change is to set the “minRuntimeVersion” and “autoUpgrade” int the object tag:

<param name="minRuntimeVersion" value="4.0.50826.0" />
<param name="autoUpgrade" value="true" />

For more information:
http://timheuer.com/blog/archive/2010/09/01/silverlight-service-release-september-2010-gdr1.aspx

Regards,

LP

Windows Phone 7 (Release to Manifacturing)

Today there was very interesting news. Windows Phone 7 was Released to Manufacturing. This is a really good now because it mean that they are on the good track to release some phone to the market for the holidays.

To read more about the news:
http://windowsteamblog.com/windows_phone/.../windows-phone-7-released-to-manufacturing.aspx

Regards
LP

Summer review!

This summer is going to fast! Mainly i was working on many project at the same time. I was lucky because most of them were Silverlight. So i had reduce the time i had to work on my blog. Now most of them are completed. So i expect to have more free time to play with Windows Phone 7, read some books and wrote some blogs.

So this autumn will be exiting. First the development tools for Windows Phone 7 will be finalize and released on September 16th. I’m can wait to work with it. So as soon as I can, I will convert the application for the TechDays I'm working on and I'll publish the source code on Codeplex.

On the community side, i will do a presentation on Windows Phone 7 (November 15th) at the .NET Montreal user group. I expect to have a lot of fun for this session has i have a lot of information to share. Also for those who assist at user group there is a “Speaker Idol” again this year. I encourage everyone who want to share his passion about .NET to participate. It the way i begun speaking. I’ll be there to encourage all the participant.

Again this year, Microsoft Canada organized the TechDays which will stop in Montreal on November 23-24. There is a great list of session. Again, i will probably speak at this event (subject need to be confirmed) again this year.

Have fun coding!
LP

Top 10 Things I Wish I Knew Before I Started My Silverlight 4 Project

Recently i wrote an article for Redmond Developer News about the “Top 10 Things I Wish I Knew Before I Started My Silverlight 4 Project”. In the article, i wrote about some of the new feature that you may look before starting a Silverlight 4 project.

So you can read the article using the following link:
http://reddevnews.com/articles/2010/07/29/top-10-silverlight-tips.aspx

Regards,
LP

Windows Phone Developer tools now in Beta

Today is the release of the latest developer tools for Windows Phone 7. And with this release, another step have climb, because the tools are now in Beta. When you look at the release note you will see that there is a lot of braking change. They work a lot in refactoring stuff like merging multiple DLL in a single assembly. The application bar now required a value on the new “Text” property.

It seems that we will now be able to use Expression Blend 4 RTM. In fact, with the tools now provide a new version of Expression Blend 4 that will run side by side with the RTM version. This version is specific to the Phone, so you will not allowed to create other project.

So i suggest that you read the following post about those changes:
http://blogs.msdn.com/b/jaimer/.../migrating-apps-from-windows-phone-ctps-to-the-beta-build.aspx

You can download the latest version of the Developer tools here: http://www.microsoft.com/.../details.aspx?FamilyID=c8496c2a-54d9-4b11-9491-a1bfaf32f2e3

Official blog post from the team:
http://windowsteamblog.com/windows_phone/.../windows-phone-developer-tools-beta-released.aspx

And a great blog post from the Expression Blend team on the new feature:
http://blogs.msdn.com/b/expression/.../windows-phone-developer-tools-beta-released.aspx

Regards,
LP