Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A modern n-layer asp.net web application sample?

So my asp.net is very very rusty, and i'm trying to get back into best practices and what not. So, I whip out google and start looking for examples and samples and tutorials, but what do I find? Old crusty stuff that tends to be written even before "the latest" technology was released back in the stone age.

Sure, the concepts may still hold up. But the actual implementations are basically useless. I'm looking for something using Linq, n-layers (not tiers. Tiers can be a layer, but a layer is not necessarily a tier) some kind of current ORM (L2S, EF, etc..) and some real-world stuff, not abitrary and useless examples.

Does anyone have any pointers?

like image 585
Erik Funkenbusch Avatar asked Jul 18 '10 21:07

Erik Funkenbusch


2 Answers

Here are 3 links from Daniel Simmons that should get you started:
N-Tier Application Patterns
Anti-Patterns To Avoid In N-Tier Applications
Building N-Tier Apps with EF4
Also have a look at NerdDinner, if you're interested in ASP.NET MVC (i've been working in ASP.NET for the past two years and i was a bit reluctant at first to learn ASP.NET MVC, i thought i knew everything i needed with webforms, but it's definitely a breath of fresh air, not to replace, but to complement WinForms). This project is developed by Scott Gurthie, so you're learning from the best if you check out that project. There's also a tutorial accompanying NerdDinner, but i didn't manage to find the updated (MVC 2) tutorial. Hope this helps.

like image 103
scripni Avatar answered Sep 20 '22 08:09

scripni


I suggest NSK, on codeplex:

http://nsk.codeplex.com/

It's a layered sample application based on Northwind.

like image 32
onof Avatar answered Sep 23 '22 08:09

onof