Archives / 2010 / January
  • New Article – Getting Started with WCF RIA Services

    Microsoft’s been hard at work on a new distributed data framework now called WCF RIA Services.  I recently finished up a new article for Dr. Dobbs and Information Week that provides an overview of WCF RIA Services including the following topics:

    • Using WCF RIA Services in Silverlight projects
    • Code that’s generated by WCF RIA Services
    • Customizing operations
    • Calling WCF RIA Services from Silverlight
    • Integrating WCF RIA Services into a ViewModel class
    • Validating data using WCF RIA Services

    Click the image below to read the full article:



  • Need a Little Help from My Developer Friends Out There!

    UPDATE: Thanks to everyone who voted! It looks like I'll be presenting on Syncing Audio, Video and Animations in Silverlight Applications at MIX10.

    Mix10_Vote_blk_240 MIX10 is right around the corner which should be a lot of fun especially if you’re interested in Web and Rich Internet Application (RIA) development.  If you’re not into development then the conference is held in Las Vegas so you can still have a good time while seeing a bunch of us software developer types hang out and get all “giddy” over technology.

    I submitted a few sessions this time around and could use some help getting votes for the sessions since the votes will carry a lot of weight I hear.  I know…probably cheesy to say “go vote for my sessions”…it’d be much cooler if I could say “go vote for my sessions and you’ll get an XBox 360 or PS3” but I don’t think my wife would be onboard with that one.  In fact, I’m pretty sure I’d be looking for a new home at that point.

    So, without any good incentive other than getting a chance to vote, if you have a minute please go and vote for any of the sessions below (or other sessions that interest you as long as they’re presented by  Dan Wahlin) whether you’re planning to go to MIX10 or not.  I’ll definitely owe you one.  And, do me a favor and have your friends vote too! Just tell them that the check’s in the mail. :-)

    Tales from the Trenches: Building a Real-World Silverlight Line of Business Application (Vote Here)

    Silverlight provides a great deal of functionality that can be used to build robust Line of Business (LOB) applications for companies. In this session Silverlight MVP Dan Wahlin will discuss lessons learned while building a real-world enterprise Silverlight LOB application. Topics covered include best practices for coding and architecture, communicating between components and layers, data access dos and don'ts, error logging, gracefully applying animations and other media effects into an application, plus more. If you're interested in hearing real-world insight and tips and tricks that can help you save time building your LOB applications then plan on attending this event.

    Getting Started with the MVVM Pattern in Silverlight Applications (Vote Here)

    If you're already building Silverlight applications or interested in getting started with Silverlight you may wonder what best practices and architecture patterns should be used. In this session Silverlight MVP Dan Wahlin will break-down the MVVM pattern in easy to understand terms and demonstrate the benefits it offers for Silverlight applications. Key concepts found in the MVVM pattern will be discussed as well as other important technologies such as commanding and event buses. Code samples shown will demonstrate each concept along the way so that you understand how the different pieces fit together. If you're interested in learning best practices and seeing how to write more modular and loosely coupled Silverlight application code this session is for you!

    Increase Ajax Developer Productivity with ASP.NET Ajax Client Templates (Vote Here)

    Although Ajax provides end users with a rich and interactive application experience, it can be challenging for developers that retrieve data from services since all of the data binding normally done on the server-side is now done on the client-side. As a result, a lot of custom JavaScript and HTML has to be written. In this session Dan Wahlin will demonstrate how the new client templates feature in ASP.NET Ajax Library can simplify the process and significantly increase your productivity. Learn how to work with client-side data views, define templates, create data converters, work with template parameters, two-way bindings, plus more.

    Leverage ASP.NET MVC 2 Ajax Features (Vote Here)

    The ASP.NET MVC framework provides a lot of functionality that can be used to build efficient web applications. In this session, Dan Wahlin will dive into the Ajax functionality built into theASP.NET MVC framework and demonstrate how it can be used to enhance the end user experience. Learn how to leverage Ajax forms, JsonResult objects combined with REST calls, integrate jQuery into your applications, use client-side templates from the ASP.NET Ajax Library, plus more.

    Syncing Audio, Video and Animations in Silverlight Applications (Vote Here)

    Silverlight provides a robust framework for integrating audio, video and animations into applications but how do you keep them all in-sync? In this session Silverlight MVP Dan Wahlin will discuss an animation project created for a Fortune 500 company and demonstrate tips and tricks that can be used to keep various assets synced so that audio and video clips can be started at specific times as a storyboard plays. Topics covered include working with timers, segregating large storyboards into user controls, defining sync points using XML, generating markers using Expression Encoder, integrating closed captioning into an application, plus more.

    Integrating WCF RIA Services into the MVVM Pattern in Silverlight Applications (Vote Here)

    WCF RIA Services provides a flexible yet simple way to integrate distributed data and data rules into your applications while minimizing the complexity associated with asynchronous calls. In this session Silverlight MVP Dan Wahlin will demonstrate how WCF RIA Services can be used along with the MVVM pattern to access and bind data in applications. Topics covered include WCF RIA Services features as well as how ViewModel and Service Agent classes can leverage RIA Services to simplify the data binding process. Integrating built-in and custom data validation rules into an application will also be discussed along with best practices for using WCF RIA Services within applications that follow the MVVM pattern.

    Print Silverlight 3 or higher screens and generate PDF documents with SmartPrint for Silverlight.



  • Using Autofac as an IoC Container in Silverlight Applications

    LogoThe subject of Dependency Injection (DI) and Inversion of Control (IoC) containers has received a lot of attention over the last few years.  Building applications that are loosely coupled has become more and more popular (and for good reason) especially in applications that have a lot of dependencies that could break over time or need to handle the addition of new modules seamlessly.  From a personal standpoint I fall somewhere in the middle of the overall DI argument.  I definitely feel that DI has its place and personally use the general pattern in applications but also feel that some use DI in ways that seem to make applications overly complex and more difficult to maintain in the future.   My opinion on the subject really doesn’t matter here though since this post is about using an IoC container framework in Silverlight applications. 


comments powered by Disqus