If you’re building Silverlight applications and need to be able to run Silverlight 2 and Silverlight 3 on the same machine (even though Visual Studio 2008 doesn’t support Silverlight multi-targeting) then check out Amy Dullard’s post. I won’t go through all of the steps since she outlines them nicely, but here’s an overview:
- Download a .bat file that Amy provides
- Download the Silverlight 2 Tools and install
- Download the Silverlight 3 Tools and install
- Run Amy’s Setup_SLTools_Util.bat file which will generated some “version switcher” .bat files (see screenshot)
- Click the appropriate .bat file to switch between Silverlight 2 and Silverlight 3 versions
I tried it out and it worked great on my box for Visual Studio 2008 SP1. I noticed that Silverlight 3 controls still show up in the Toolbox when in Silverlight 2 mode but that’s not a big deal. Files are also included to work with Web Developer Express although I didn’t try that out. It took less than a minute to make the switch between versions which I’m happy to deal with since it beats firing up a virtual machine or dual-booting. Awesome trick, so thank Amy by visiting her blog!
Note: Visual Studio 2010 will have Silverlight multi-targeting like we have now in Visual Studio 2008 for various applications.
For more information about onsite, online and video training, mentoring and consulting solutions for .NET, SharePoint or Silverlight please visit http://www.thewahlingroup.com/.
If you’re one of those people who enjoys researching new technologies and staying up with the technology “curve” then you have to be excited about all of the new features announced at the MIX conference this week in Las Vegas. Whether you’re into IIS 7, ASP.NET, Visual Studio, Silverlight or other .NET technologies, a slew of new announcements were made. I’m really impressed with the direction Microsoft is going and excited about the new technologies that were announced.
One of the big announcements that should excite anyone interested in building LOB applications is the new Silverlight 3 feature-set. I’ve had the opportunity to work with Silverlight 3 for awhile now (starting a consulting project based entirely on that version) and it’s great to be able to talk about it since the cat is out of the bag. Many new features have been announced that raise the bar for Silverlight applications. Tim Heuer has already written up a great blog post about them so I’ll provide a simple overview. Here are some of the features that I find quite interesting:
- Out-of-Browser experience – You can now write Silverlight applications that can run directly from the desktop without requiring a browser to be pulled up by the end user.
- .NET RIA Services – Provides an n-tier application pattern that provides business and data tiers. Additional features include support for validation logic as well as the ability to work with authentication and roles.
- New Controls – Several controls are added in Silverlight and in the Silverlight Toolkit that simplify common tasks and really help with navigation between Silverlight pages.
- Perspective 3D – Although full 3D support (like WPF has) isn’t available in Silverlight, there is support for perspective 3D which can make back to front flipping type animations much easier to do now and allow objects to be placed on a plane.
- Pixel Shaders – Allows blurs, shadows and other custom affects to be applied to different objects.
- Text Rendering – Text rendering has been improved and enhanced. Although the current beta doesn’t support it, ClearType support will be added once Silverlight 3 is officially released.
- Animation Easing – Lets face it…users like to see cool little animations that don’t get in their way. When a menu slides out an has a slight bouncing effect it looks cool. Silverlight 3 now has built-in animation easing support for bouncing, elasticity and more.
- Element-to-Element Binding – Need to bind a property of one object to a property for another object? You can do that in WPF but Silverlight 2 didn’t support it natively. Silverlight 3 now provides element-to-element binding so when your slider changes values you can change your rectangle’s colors without writing C# or VB code.
- Network Status – A new API is available in Silverlight 3 for checking the network status of an application. This can be really useful in a variety of situations especially with out-of-browser applications.
- Many more features….
For more information about onsite, online and video training, mentoring and consulting solutions for .NET, SharePoint or Silverlight please visit http://www.TheWahlinGroup.com.
A few weeks back my company offered a free online webinar on LINQ technologies to help developers more easily make the transition to LINQ. While there was a great turn out at the webinar, I received several emails from people who couldn’t attend asking if I could provide a video recording of the webinar. It turns out that the audio for the recording wasn’t up to my standards so I put together a video that provides an introductory look at different LINQ technologies including: