Getting started with the FwkLight demo

To get started with the FwkLight Demo, follow these steps:

  1. 1. download the newest FwkLightDemo.zip archive from here and extract it on your computer
    2. restore the db.bak database to an SQL Server instance
    3. in the FwkLightDemo directory, double click on FwkLightDemo.Web.sln to open the solution in Visual Studio
    4. in the FwkLightDemo.Web project double click the hibernate.cfg.xml file to open it, and change the connection_string information
    5. press F5 to run the solution

That’s it, you can now start looking over the FwkLight Demo examples!

 

How to study the demo application?

The demo application contains many examples, which are more or less independent of each other. There are many entities of the same type (for example, CustomerOrder1, CustomerOrder2, CustomerOrder3, and so on), and each one is dedicated to a particular example.
This means that you can’t study it layer by layer like you would with a normal application, instead you have to take the examples one by one and study their code from UI / controller to domain / database.
So, our suggestion is to study the demo application slice by slice instead of layer by layer.

Also, the application contains examples of how to do certain things and how to not do certain things. All explanations of why / why not are in the documentation (which contains pointers to the examples in the Demo app), so it would be best to start with this documentation and follow the pointers that it offers.

Advertisement

About this entry