Boise Prism, Unity, WPF, MVVM Code and Decks

June 29, 2011

Everyone had a great time in Boise this week with developers from the United Kingdom and all over the United States.  WPF is alive and well and being used in corporate development along with Prism!

Contents

C# early version of Ocean.

  • Data Binding
  • M-V-VM
  • Commands in M-V-VM
  • Dialogs in M-V-VM
  • Data Validation
  • M-V-VM Tips & Tricks
  • Unit Testing & Moq
  • Introduction to Prism
  • Unity and Dependency Injection
  • Shell and Bootstrapping
  • Modules
  • Regions
  • Events
  • Navigation

Download

The download includes PowerPoint decks for most of the sessions and source for all sessions.  Also included is an  Extras folder with goodies.

Please READ THE READ ME.

You can download the code and decks from my Sky Drive here.

Have a great day,

Just a grain of sand on the worlds beaches.


Project Silk Drop 12

June 23, 2011

The patterns & practices Web Guidance team released Drop 12 of Project Silk (6-23-2011). The code changes for this release were minor.

The next drop will be on or about 6 July 2011.

Chapters

We are providing the guidance chapters in Word document, .pdf, and .chm format. Providing the chapters in Word format makes it easier for the community to provide feedback by using the Word Track Changes feature. If you provide feedback on a chapter, you can upload your feedback to: Project Silk Issue Tracker.

The following chapters are ready for review:

  • Introduction (new)
  • Modularity (new – early draft)
  • Architecture (updated)
  • Client Data Management and Caching (updated)
  • Server-Side Implementation (updated)
  • jQuery UI Widgets
  • Application Notifications
  • Security
  • Unit Testing Web Applications
  • Widget QuickStart
  • How to: Check UIElement Properties with Coded UI Test
  • How to: Create Automation Negative case with Coded UI Test
  • How to: Create Web Client UI Test using Coded UI Test

The following chapters are currently being written or will be started soon:

  • Navigation
  • Communication
  • HTML Templates

Close

We welcome and appreciate your feedback on the application and book content.

Have a great day,

Just a grain of sand on the worlds beaches.


Mole v 1.3 for Visual Studio 2010 Released

June 20, 2011

Mole 2010 v1.3 contains a lot of enhancements made in response to customer feedback. These range from simple bug fixes to making existing features more powerful.

Developers leveraging Prism will be happy to find enhanced support for exploring objects from the Prism and Unity frameworks.

Several fixes will make our large user base in Germany quite happy, including the ability to use a list separator, other than a comma, in exported CSV files.

Mole v1.3 Enhancements

  • Fixed bug where Mole would not close properly when computer has a touch-enabled screen (worked around a WPF issue).
  • Enabled viewing and drilling into more collection types. Mole 2010 now supports drilling into any IEnumerable object.
  • Both the Key and Value properties of a DictionaryEntry object are now shown in the MoloScope’s Value column.
  • Collection items for NameValueCollection now show the keys and values in the MoloScope.
  • Improved support for working with Prism and Unity applications (support for drilling into the RegionManager and Unity container collections).
  • Enabled drilling into objects with only non-public fields.
  • Exporting collection data to CSV now uses the list separator defined by your system locale, instead of always using a comma.
  • The Options dialog allows you to specify a list separator to use in the CSV files, if necessary.
  • MoloScope column widths are no longer set to incorrect large values when running on a system with the German locale.
  • Snapshot rendering of Windows Forms controls has been modified to properly handle some edge cases.

Current Registered Users

Current registered users of Mole can download this updated version and install the new version over old one.

http://www.molosoft.com/wp-content/uploads/2011/06/Mole2010.zip

Demo Version Available

If you are interested in trying out Mole 2010 before buying it, visit the Molosoft Demo page to get the latest release of the trial version. The trial version includes the new features and fixes listed on this page.

Learn About Mole

To learn about the Visual Studio 2010 Debugger Visualizer Mole and how this debugging tool can help you when debugging applications in Visual Studio 2010, please visit Molosoft.com.

Close

We welcome and appreciate your feedback on Mole!

Have a great day,

Just a grain of sand on the worlds beaches.


Project Silk Drop 11

June 14, 2011

The patterns & practices Web Guidance team released Drop 11 of Project Silk (6-14-2011). This drop includes work recommended by the advisory board and 3rd party code review of the JavaScript.

Code Updates

  • Significantly reduced the coupling to the mstats global object. Widgets are no longer stored as members on mstats. Instead, widgets are either created in the bootstrapping mileagestats.js or in another managing widget.
  • Added a utility function for mixing in helper methods that simplify the syntax for invoking public method on widgets (when used inside of another widget).
  • Significantly reduced the number of hard-coded URLs. URLs are generally pulled from data- attributes.
  • Corrected an issue with the way that the chart vehicle selection UI was constructed. Changes in jQuery 1.6.1 caused this to surface.
  • Now correctly redirects to the Login page when a session timeouts and JSON request is made while using the Single Page Interface.

Chapters

We are providing the guidance chapters in Word document, .pdf, and .chm format. Providing the chapters in Word format makes it easier for the community to provide feedback by using the Word Track Changes feature. If you provide feedback on a chapter, you can upload your feedback to: Project Silk Issue Tracker.

The following chapters are ready for review:

  • Client Data Management and Caching (new)
  • Architecture (updated)
  • jQuery UI Widgets (updated)
  • Application Notifications (updated)
  • Server-Side Implementation
  • Security
  • Unit Testing Web Applications
  • Widget QuickStart (updated)
  • How to: Check UIElement Properties with Coded UI Test
  • How to: Create Automation Negative case with Coded UI Test
  • How to: Create Web Client UI Test using Coded UI Test

The following chapters are currently being written or will be started soon:

  • Introduction (in progress)
  • Modularity (in progress)
  • Navigation
  • Communication

Video

We have also made a new video for Project Silk that includes a short tour through the countryside with stops for gas and parts. During parts of the video, the Mileage Stats UI displays as a HUD (heads up display). After this short but entertaining introduction a new tutorial video beings.  This video is currently in production and will be released on Channel9 soon.

HUD

Close

We welcome and appreciate your feedback on the application and book content.

Have a great day,

Just a grain of sand on the worlds beaches.


Project Silk Drop 10

June 5, 2011

The patterns & practices Web Guidance team released Drop 10 of Project Silk (6-3-2011). This drop includes work recommended by the advisory board and a review of the JavaScript.

On the server-side we refactored business services layer into task handlers used by the controllers.

On the client-side we refactored and cleaned up the widget code as follows: use of option, _setOption, and _setOptions to be consistent,  namespaced event bindings and unbound them in the destroy method, removed endpoint Url’s from the widgets options these are now extracted from data dash attributes, and cleaned up conditional statements.

On the client-side data manager and widgets, we consolidated saveData and getData into a single call (sendRequest) that takes an option indicating whether or not to cache.

We are now providing the guidance chapters in Word document, .pdf, and .chm format. Providing the chapters in Word format makes it easier for the community to provide feedback by using the Word Track Changes feature.

The following chapters are ready for community review:

  • Application Notifications (new)
  • Server-Side Implementation (updated to reflect refactoring)
  • Architecture
  • Security
  • Unit Testing Web Applications
  • jQuery UI Widgets
  • Widget QuickStart
  • How to: Check UIElement Properties with Coded UI Test
  • How to: Create Automation Negative case with Coded UI Test
  • How to: Create Web Client UI Test using Coded UI Test

Close

We welcome and appreciate your feedback on the application and book content.

Have a great day,

Just a grain of sand on the worlds beaches.


Follow

Get every new post delivered to your Inbox.

Join 136 other followers