• Composite Application Guidance for WPF & SL (Prism-v2) C# Snippets with Guidance, Links and Tips

    Published by Damian Schenkelman on September 7th, 2009 7:21 am under Attached Behaviors, Composite Application Guidance for WPF & SL, Event Aggregation, Patterns & Practices, Prism-v2, Silverlight, WPF, Windows Presentation Foundation, p&p

    3 Comments

    Most developers are familiar with code snippets. They are really useful while developing code, mainly because they make some of the most common developing tasks easier and faster, by making us just fill in a couple of blanks.

    This is great, but Julian had an idea that I believe will make the code snippets we created even more useful. He said: “What if we not only provide the code snippets, but we also add some guidance, links and tips based on our experience as Prism developers, that will help others with these common tasks”. Matias, Ezequiel and me thought this was a great idea, specially for people starting with Prism. The guidance offered in the snippets will provide insight about how Prism works, leading to better and faster development. This guidance can simply be deleted once the code is put into place as it is just composed of code comments.

    Without further introduction, the code snippets we created are useful for the most common ways of performing the following tasks (between brackets how to insert the snippet in code):

    Below you can find a picture of the generated code for the Event Subscription snippet, so you can get an idea of about these snippets with tips:

    image

    Pre-Requirements

    1. Download the Snippet Visual Studio installer and run the installer (the snippets are provided “AS IS” with no warranties and confers no rights). You can also get the .zip file from here if you want to edit the snippets.

    I hope the snippets help you learn Prism while developing. As always your feedback is really appreciated.

    kick it on DotNetKicks.com

    Shout it

    Tags: , , , , , , , ,

  • 3 Comments:

    1. DotNetShoutout said on September 8, 2009:

      Composite Application Guidance for WPF & SL (Prism-v2) C# Snippets with Guidance, Links and Tips…

      Thank you for submitting this cool story – Trackback from DotNetShoutout…

    2. Composite Application Guidance for WPF & SL (Prism-v2) C# Snippets with Guidance, Links and Tips · WPFdc said on September 8, 2009:

      [...] Read the original: Composite Application Guidance for WPF & SL (Prism-v2) C# Snippets with Guidance, Links and Tips [...]

    3. Twitter Trackbacks for Damian Schenkelman’s Blog » Blog Archive » Composite Application Guidance for WPF & SL (Prism-v2) C# [southworks.net] on Topsy.com said on September 10, 2009:

      [...] Damian Schenkelman’s Blog » Blog Archive » Composite Application Guidance for WPF & SL (Pr… blogs.southworks.net/dschenkelman/2009/09/07/composite-application-guidance-for-wpf-sl-prism-v2-c-snippets-with-guidance-links-and-tips – view page – cached Composite Application Guidance for WPF & SL (Prism-v2) C# Snippets with Guidance, Links and Tips — From the page [...]

    Leave a comment

    Your email address will not be published.

Categories

Archives

Map

SO Profile

Client Dev Twitter