Enable Data Access Guidance Package in Web Client Software Factory Solution - Code Generation

Enable Data Access Guidance Package in Web Client Software Factory Solution - Code Generation

by David Hayden ( Microsoft MVP C# ), Filed: Web Client Software Factory

 

In the current version of the Web Service Software Factory there is a Data Access Guidance Package that will help you create business entities, stored procedures, and a data access layer for your applications by walking you through various wizards. I think the guidance package is cool and is a good example of how to create a data access layer using various design patterns and principles. Certainly if you are a data access tinkerer like myself, you will find it very interesting. You could also use it for your applications, but let me just say there are far better solutions out there that can provide you a more maintainable and feature-rich data access layer.

That being said, however, someone asked me today in the Web Client Software Factory Forums if it is possible to use the guidance package in WCSF Solutions, and the answer is yes. In fact, you can use it in any of your applications.

Below is a montage that shows you graphically some of the steps you need to perform to get the Data Access Guidance Package working in your applications, assuming you of course have successfully installed the Web Service Software Factory.

Steps:

  1. Go to Tools Menu and Choose Guidance Package Manager.
  2. Choose Enable / Disable Packages... Button.
  3. Click the checkbox to enable the Web Service Software Factory ( Data Access ) Guidance Package.
  4. Click OK and get back to your WCSF Solution.
  5. Assign Responsibilities to your projects that will be doing the business logic, data access, etc.
  6. Use the recipes to create business entities, stored procedures, repository classes, etc.

 

Data Access Guidance Package

 

That is pretty much it. The same works if you want to enable other packages as well from the Web Client Software Factory, such as the ASMX or WCF Packages.

Note that the next version of the Web Service Software Factory is not expected to have a Data Access Guidance Package. The Data Access Guidance Package will be done separately. Which begs the question - what is going on with it???

Enjoy!

 

News Feed: David Hayden ( Microsoft MVP C# )

Filed: Web Client Software Factory

posted on Wednesday, July 04, 2007 8:27 PM

Main

David Hayden Google +

David Hayden Twitter

Health & Fitness

JavaScript Patterns Book Review

HTML 5 and CSS3 - Develop with Tomorrow's Standards Today

Professional ASP.NET Design Patterns Book Review

Beginning Mac Programming Book Review

C# in Depth Book Review

ASP.NET MVC

Orchard CMS

Categories