现代 n 层 ASP.NET Web 应用程序示例?

发布于 2024-09-10 02:05:22 字数 243 浏览 5 评论 0原文

所以我的 asp.net 非常非常生锈,我正在尝试回到最佳实践以及其他什么。因此,我快速搜索谷歌并开始寻找示例、示例和教程,但我找到了什么?甚至在石器时代“最新”技术发布之前就已经写了一些陈旧的硬壳东西。

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

有人有任何指点吗?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

云之铃。 2024-09-17 02:05:22

以下是 Daniel Simmons 提供的 3 个链接,可以帮助您入门:
N 层应用程序模式
N 层应用程序中要避免的反模式
使用 EF4 构建 N 层应用
如果您对 ASP.NET MVC 感兴趣(我一直在过去两年的 ASP.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.

眼波传意 2024-09-17 02:05:22

我建议 NSK,在 codeplex 上:

http://nsk.codeplex.com/

这是一个基于分层示例应用程序在北风。

I suggest NSK, on codeplex:

http://nsk.codeplex.com/

It's a layered sample application based on Northwind.

望她远 2024-09-17 02:05:22

这个系列的文章非常好,而且很现代。五年前,我们的项目基于之前的版本,并且从未后悔过。
http://imar.spaanjaars.com/573/aspnet -n-layered-applications-introduction-part-1

This series of articles is very good and modern. 5 years ago we based our project on its previous version and never regretted.
http://imar.spaanjaars.com/573/aspnet-n-layered-applications-introduction-part-1

送你一个梦 2024-09-17 02:05:22

我不久前写了一些关于此的博客文章,这是基本概述n 层设计的价值 然后我做了一个后续帖子,从 n 层设计重温第 1 部分:概述 很长一段时间我有一些来源代码向您展示发生了什么

I did some blog posts a while ago taking about this, this is a basic overview value of n-tier design and then I did a followup postings with a little more detail starting with n-tier design revisit part 1: overview a long with it I have some source code to show you what's going on

季末如歌 2024-09-17 02:05:22

那里有很多网站,但很难缩小范围。尝试 CodePlex 和CodeProject 作为一个开始。有大量的样本,经过分类和分类。由社区评价。

CodePlex

CodeProject

SourceForge

There are lots of websites out there but it's difficult to narrow them down. Try CodePlex & CodeProject for a start. There's tons of samples, categorized & rated by the community.

CodePlex

CodeProject

SourceForge

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文