How-To: Get Started with LASG

Welcome to the first tutorial in a 7 series walk-through to introduce you to the Layered Architecture Solution Guidance (LASG) visual studio extension. This tutorial will get you started in using the extension to unfold the basic structure for a layered web application and in the upcoming posts, we will be going through each of the code-generators individually.
  1. Launch Visual Studio 2013 with administrator privileges.
  2. Open the File menu, click New and then click Project...
  3. At the New Project dialog, under Installed Templates on the left pane, expand Guidance Packages and click Layered Architecture Solution Guidance.

  4. Leave the Layered Application solution template selected as default.
  5. Enter a Name for the solution i.e. Tutorial and click OK.
  6. At the Choose LASG Solution Template dialog, select Layered Web Application.

    Note: The Project Namespace will follow the solution name that was provided earlier. You can also check/uncheck the projects which you want to add to/remove from your solution from the Project templates list.
  7. Click OK, and wait for the projects to unfold.
  8. For Layered Web Applications, the New ASP.NET Project dialog box will be displayed. This is Visual Studio 2013's default prompt for creating Web Projects. Choose the Empty template and check the Web Forms check box in the Add folders and core reference for.

    Note: You may choose other predefined Visual Studio 2013 web templates if you wish.
  9. Click OK to complete the unfolding process. Once completed, the Layered Web Application solution is now ready for use.

    Tip: All the relevant project references were automatically added between the projects for your convenience.

    Note: At this point of writing, LASG only supports English version of Visual Studio.
  10. If you have not installed Enterprise Library - Data Access Application Block on your machine, you may need to NuGet it. Right-click on the Tutorial.Data project and select Manage NuGet Packages...
  11. Search for Enterprise Library and select the Enterprise Library - Data Access Application Block package for installation.


Summary

We have basically gone through the simple steps of unfolding a layered web application using LASG.

If you would like to learn more about Layered Architecture concepts, please visit the following links:

No comments:

Post a Comment

Popular Post