Portable Library Projects
At MIX 10 Microsoft announced a rather modest code-sharing technique to allow Silverlight and .NET apps to share a small subset of System.* libraries. Well today at PDC Shawn Burke had a 60-minute session called â3-screen coding â Sharing code between Windows Phone, Silverlight, and .NET.â He unveiled a new Class Library project type called a âPortable Libraryâ which can be directly referenced by any type of project. The obvious goal here is to share your core business logic between your various client-side applications. Thankfully Visual Studio will even trim IntelliSense within a Portable Library project to only APIs which have been specifically defined as portable between all application types.
Release date for Portable Library projects is H1 2011
Â
Probably the most popular announcement today was âThe Future of C# and VBâ talk, which highlighted the improvements to Asynchronous Programming in our next compiler versions. New compiler keywords have been added called âawaitâ and âasyncâ which will instruct the compiler to generate a state machine around our asynchronous code (much the same way iterators and the yield keyword were introduced in C# 2).
PDC Video â The Future of C# and Visual Basic
Soma talks about making Asynchronous Programming Easy
Eric Lippert is starting a series on the enhancements
Â
The new Windows Phone Profiler was probably my favorite announcement. As of this writing Bus Watch is finally on the marketplace, not to suggest that the road wasnât bumpy. I basically re-wrote the entire thing after finally receiving a prototype device to test my app on â the differences between the emulator and device were staggering. A ton of the apps currently in the early marketplace are suffering major performance problems. I think this is of course due to the growing pains of a new platform, but mostly due to the fact that most developers didnât have access to an early device. Hopefully with the help of the new Profiler that Scott Gu demoâd at the keynote will make the next 6 months of Marketplace apps just as impressive as the native applications. It has an impressive and thorough UI â and will be completely free. I very much look forward to using this tool in my future applications.
Â
I donât use Azure right now, but I think Iâll be looking into it more soon. The coolest feature that I saw demoâd was RDP access to the virtual machine. You also get a full IIS Manager, as well as a number of other improvements that I probably canât full appreciate until I use them or was forced to suffer through the hardships that the early adopters had to deal with without them.
Â
Leave a Comment