Southworks is pleased to announce the release of its EDRA Workshop material to the community!


This course has been delivered to over 65 companies in different industries like Banking, Finance, Insurance, Health and Automotive all around the world during the last year (including places like Argentina, Chile, Colombia, Costa Rica, Ecuador, Mexico, Sweden and Uruguay). Some of these workshops were co-hosted by Microsoft regional offices.


The material includes ALL THE HANDS ON LABS and the source code!


These are the labs you’ll find:



  • MODA01 Installing EDRA
  • MODA02 Creating a sample solution
  • MODA03 Implementing Authenticate Use Case
  • MODA04 Implementing Funds Transfer Use Case
  • MODA05 Implementing Bill Payment Use Case
  • MODA06 Implementing UIP in Funds Transfer Use Case
  • MODA07 Implementing Account Summary Use Case
  • MODA08 Instrumentation with EIF
  • MODA09 Multilanguage implementation of Home Banking.pdf
  • MODA10 Creating an EDRA Handler - IdentityImpersonate
  • MODA11 Generating Unit Tests using NUnit 2.2

This is the same material used by the instructor lead course!


If you want to take a brief look at how they look, download the HOL PDFs from the EDRA workspace


Download the full version of the HOLs

UPDATE: I’ve updated the GAT package and created the GotDotNet workspace. See this post.

 

I’ve started working on GAT recipes because of a project called blueprint that we are doing here at Southworks.

 

So here is my first attempt. After 1 day I’ve built something that would have been very useful in the old days.

The
recipe is a simple xsd to class generator by just right-click on *.xsd
files (no wizards, no input). I thought that Whidbey was going to
improve
xsd.exe but it didn’t. It is just the same as before but with property generation instead of fields.

Today there are some of these tools already, but I always wanted to have my own “xsd.exe” to customize it a piacere.

So I picked this idea from this article in msdn (written by kzu) and created my guidance package.

 

This
is a very first version that generates a c# entity by right clicking
the xsd on a project. It still needs some refactoring, some fixes and
some missing features, but it works. My assignment was to make a proof
of concept on the GAT technology and provide feedback about it to the blueprint architect. We believe that GAT recipes are great because they are more user friendly than using VS external tools.

 

The current features are:

  • Generates c# class/es by right click on the xsd on a project
  • Uses System.Collections.Generic.List instead of arrays
  • Lazy initialization of generic collections (on property getters)
  • Class takes the default namespace of the project

 Coming features:

  • Right click the project and generates all classes for every xsd on the project
  • Another command bar to generate in vb.net

 Known bugs:

  • Generate for a second time if the target file already exist will throw an exception

Requirements:

Download the MSI and install the GAT package XsdToEntityPackageSetup.zip (202.49 KB)

 

Remember to enable
the package in vs 2005: Tools -> Guidance Package Manager ->
Enable/Disable Packages. Choose the one that says “Generates a class
from xsd”.