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.
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:
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.
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.
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 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.