In this blog post I will cover some of the new features that are coming to the MVC4WPF and the new MVC4SL automated patterns.

 

MVC4SL Version 0.9

Soon the MVC4 Team will be releasing a ported version of the MVC4WPF over to Silverlight. The initial version of the pattern is targeted to version 4.0 of the Silverlight environment. With the creation of MVC4SL we are making some conceptual changes that will be incorporated into the MVC4WPF project during the 1.0 release of that product.

 

Common Functionality between MVC4WPF and MVC4SL

Both automated patterns are maintained in tandem to each other. The following is the breakdown of functionality that will be in the next release of both products.

 

Changes to the Property Bag

The property bag is now split into three distinct objects. Each object’s goal is to provide clarity for who owns the property data. 

  • View Data - (View’s Property Bag)

The View Data class will maintain the same features that already exists in the property bag. The goal of this change is to provide consistence and clarity for Controller developers to understand that the property bag belonged to a view at a moments glance. This also provides sorting capability for automation to only display property bags that are related strictly to a view.

  • Controller Data - (Child Controller’s Property Bag)

The Controller Data class also implements the property bag features. The data objects placed in this class will be made available to parent controllers for consumption.

  • Model Data – (Model’s Property Bag)

The Mode Data class like the other layers also implements a property bag option.  Like the other two data class types, this provides additional filtering when creating model contracts.

 

 

Native Integration into Visual Studio 2010

Both the MVC4SL and MVC4WPF patterns are being built as native visual studio services starting with the Visual Studio 2010 release. This integration is designed to reduce complexity around the usage of the automated patterns and to provide developers with a native look and feel with visual studio. The following graphics demonstrate examples of how we are integrating into the 2010 environment.

 

  • Adding a view to a MVC4SL Project

In the below figure you can see we have right clicked from a visual studio project named MVC4SLTesting. From the add section of the context menu I have selected Add View. In the context menu we have now added all the relevant options for creating a view, its contract and the view data class that may be used with a view.

Figure 1

AddView

 

  • Adding a controller to a MVC4SL Project

This next example shows the options for creating a controller in the same fashion as we created a view above. Like the views options we have logically grouped the different controller types, contracts, and the controller data class. This group  provides developers with one-stop shopping for controller functionality.

Figure 2

AddController

 

Other Features

Next week I will cover other features that are going to be in the 1.0 release specifically for MVC4WPF. We will explore what's coming and the goals of the new features.


Posted in: Codeplex , PAC , Silverlight , WPF , MVC4WPF , MVC4SL  Tags:

Comments


January 20. 2010 13:51
pingback
Pingback from topsy.com

Twitter Trackbacks for
        
        In the Trenches | MVC4WPF and MVC4SL Features Updates for the Next Release
        [stephengiffin.com]
        on Topsy.com

http://topsy.com/tb/bit.ly/5Kcj6zhttp://topsy.com/tb/bit.ly/5Kcj6z


May 5. 2010 08:48
pingback
Pingback from endyear2012.com

car insurance cheap quote «  End Year 2012

http://endyear2012.com/car-insurance-cheap-quote/http://endyear2012.com/car-insurance-cheap-quote/


May 20. 2010 19:53
pingback
Pingback from 30.tvshowzone.com

Sedona Radiator Kia Sorento Condenser, Used Sedona Orlando Kia Sportage

http://30.tvshowzone.com/post/160604/http://30.tvshowzone.com/post/160604/


June 19. 2010 05:18
pingback
Pingback from lnmykys.com

Prueba de post | Marketing Online

http://lnmykys.com/prueba-de-post/http://lnmykys.com/prueba-de-post/


August 21. 2010 19:40
pingback
Pingback from alabamaweddings.interactiveinfonet.info

Alabama weddings - Site wedding - Alabama ceremony chapel site wedding

http://alabamaweddings.interactiveinfonet.info/site-wedding/alabama-ceremony-chapel-site-wedding.htmlhttp://alabamaweddings.interactiveinfonet.info/site-wedding/alabama-ceremony-chapel-site-wedding.html


February 19. 2011 16:10
pingback
Pingback from getweddingplanningtips.com

ClearFlite Air Purifiers:  Reviewed | Wedding News

http://getweddingplanningtips.com/news/clearflite-air-purifiers-reviewed/http://getweddingplanningtips.com/news/clearflite-air-purifiers-reviewed/


February 24. 2011 10:21
pingback
Pingback from puntamita.jetinfosystems.in

Mita properties punta residential

http://puntamita.jetinfosystems.in/mita-properties/mita-properties-punta-residential.htmlhttp://puntamita.jetinfosystems.in/mita-properties/mita-properties-punta-residential.html


March 1. 2011 20:11
trackback
online slot machines


http://www.365slots.com/http://www.365slots.com/

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Page List

    Calendar

    «  February 2012  »
    MoTuWeThFrSaSu
    303112345
    6789101112
    13141516171819
    20212223242526
    2728291234
    567891011
    View posts in large calendar

    Tag Cloud

    Blog Roll

      OPMLDownload OPML file

      Authors

      Month List

      Recent Posts

      Recent Comments

      Disclaimer
      The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

      © Copyright 2012 In the Trenches