一个现代的 n 层 asp.net web 应用程序示例? [英] A modern n-layer asp.net web application sample?

查看:24
本文介绍了一个现代的 n 层 asp.net web 应用程序示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我的 asp.net 非常非常生疏,我正在努力回到最佳实践中,什么不是.所以,我用谷歌搜索并开始寻找示例、示例和教程,但我能找到什么?甚至在石器时代最新"技术发布之前就倾向于编写旧的硬壳内容.

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.

当然,这些概念可能仍然成立.但是实际的实现基本没用.我正在寻找使用 Linq、n 层(不是层.层可以是层,但层不一定是层)某种当前 ORM(L2S、EF 等)和一些现实世界的东西东西,而不是随意和无用的例子.

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.

有大佬指点一下吗?

推荐答案

以下是 Daniel Simmons 提供的 3 个链接,可以帮助您入门:
N 层应用程序模式
在 N 层应用程序中要避免的反模式
使用 EF4 构建 N 层应用
如果您对 ASP.NET MVC 感兴趣,也可以查看 NerdDinnerASP.NET 过去两年,一开始我有点不愿意学习 ASP.NET MVC,我以为我知道我需要使用 webforms 的一切,但这绝对是一股新鲜空气,不是取代,而是补充 WinForms).该项目由 Scott Gurthie 开发,因此如果您查看该项目,就会向最好的人学习.NerdDinner 还有一个教程,但我没有找到更新的 (MVC 2) 教程.希望这可以帮助.

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.

这篇关于一个现代的 n 层 asp.net web 应用程序示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆