Building Your First Application

Topic updated 10-10-2007

This chapter explains how to build your first application from scratch with GenWise Studio. It is assumed that you have already installed GenWise. Furthermore it is assumed that you have a working database that you can use for your application. This should not be a database used for production purposes, since the finished application will allow you to modify and delete data in it. Check Supported Databases to see which databases can be used.

We'll use the Database Repository, the GenWise NHibernate Templates and the GenWise ASP.NET 2.0 Templates to create an ASP.NET 2.0 web application. The process consists of twelve steps, divided into three phases according to the three application layers that make up the final application.

Setting up your Database Repository

1. Create a new Database Repository
2. Connect to your database
3. Import the database schema
4. Save the Database Repository

Creating a Business Object Layer

5. Create a new BO-Layer project
6. Select the tables and views to map
7. Build the BO-Layer
8. Save the BO-Layer project

Creating the ASP.NET web application

9. Create a new ASP.NET project
10. Run the Project Wizard
11. Build the ASP.NET project
12. Save and run the ASP.NET project

 

See also

The step-by-step approach covered in this section gives you maximum control of your project setup. Alternatively, you can use the ASP.NET Quickstart to set up your project as fast as possible.