I would like to learn the best practices to employ when creating a database driven web-application. I prefer to learn from examples. What is a good sample application that I can download and run to learn this:
I am looking for:
ASP.NET offers three frameworks for creating web applications: Web Forms, ASP.NET MVC, and ASP.NET Web Pages. All three frameworks are stable and mature, and you can create great web applications with any of them.
The Visual Studio web project templates use SQL Server for the ASP.NET membership database by default. Nearly all ASP.NET documentation on the MSDN web site, ASP.NET web sites, and in blog posts uses SQL Server.
ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications easily. It does this by automatically discovering data-model metadata at run time and deriving UI behavior from it. A scaffolding framework provides a functional Web site for viewing and editing data.
If you don't want to worry about writing your DAL (Data Access Layer), then I suggest looking at Nhibernate. There are samples with it and ASP.NET here, here, and here. Here's a sample with just Oracle and ASP.NET.
If you are looking for just sample ASP.NET Applications without an Object Relational Mapper like NHibernate, try this.
Also, on a higher level, you're looking for an N-Tier ASP.NET application design. There are good tutorials on that here, here, and here.
There are lots of examples in ASP.NET Starter Kits. I really like the BlogEngine.NET application. For higher-end basics (hmmm..."higher-end basics"...oxymoron?) the BeerHouse E-Commerce application is great.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With