A web application allows creating diversed applications with server-client architecture.
In the following guide we will create a small web application project – "Hello NPersistence web appliaction" which manages one persistence class. Our web application also exposes a web site so the client of the web application will be the internet browser.
"Hello NPersistence web application"
In this sample web application we will set up one persistent class and the NPersistence configuration file. We use the MySql database in which we create the table to which the persistent class will be mapped to.
Prerequisites:
• Download and install MySql database. The sample application uses the mySql.dll and other configuration parameters. You may use any other DB as long as you set the required dll and parameters.
• Downlaod and install Microsoft Visual Web Developer 2010 Express edition. This tutorial shows how to create a web application with the Microsoft Visual Web Developer 2010 Express edition development environment.
Next: step1 - Download NHibernate-NPA