ASP.NET 应用程序 - 体系结构和类图

发布于 2024-08-08 06:36:24 字数 122 浏览 2 评论 0原文

我是 ASP.NET 开发新手。

谁能参考一个文档/教程/链接,其中提供了基于 3 / 4 / n 层的简单 ASP.NET 应用程序/示例的示例代码、体系结构、类和序列图?

这对我会有很大的帮助。

I am new to ASP.NET Development.

Could anyone please refer a document/tutorial/link which gives a sample code, architecture, class and sequence diagrams for 3 / 4 / n tier based simple ASP.NET application/example?

It would be of great help to me.

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

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

发布评论

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

评论(5

星光不落少年眉 2024-08-15 06:36:24

有很多技术/工具和各种方法可以完成您对 .Net 的要求,因此我将为您提供一些各种工具的链接:

N-Tier with:

ASP.Net 2.0

http://weblogs.asp.net/bsimser/archive/2006 /08/13/3_2D00_tier-Architecture-wtih-ASP.NET-2.0.aspx

ASP.Net 3.5

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=476

LINQ 2 SQL

http://weblogs.asp.net/ dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx

动态数据

http://weblogs .asp.net/craigshoemaker/archive/2008/07/01/6-steps-to-n-tier-asp-net-dynamic-data.aspx

MVC

http://www.codeproject.com/KB/aspnet/aspnetmvc_bugtracker_v4.aspx

那里有很多示例。不要把我给你的东西当作唯一的东西,而是作为你的开始。 :-)

快乐编码!

There is a lot of techniques / tool and various ways to do what you asked with .Net so I will give you some links for various tools:

N-Tier with:

ASP.Net 2.0

http://weblogs.asp.net/bsimser/archive/2006/08/13/3_2D00_tier-Architecture-wtih-ASP.NET-2.0.aspx

ASP.Net 3.5

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=476

LINQ 2 SQL

http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx

Dynamic Data

http://weblogs.asp.net/craigshoemaker/archive/2008/07/01/6-steps-to-n-tier-asp-net-dynamic-data.aspx

MVC

http://www.codeproject.com/KB/aspnet/aspnetmvc_bugtracker_v4.aspx

There is a lot of examples out there. Don't take the one's I have given you as the only one's but as a start for you. :-)

Happy Coding!

以可爱出名 2024-08-15 06:36:24

我最近在解释典型的经典 Microsoft .ASP/SQL Server 网站体系结构与采用较新的 Microsoft ASP.NET 技术的网站体系结构之间的区别时绘制了这个草图。

图表顶部标记为“Front”的框代表一个公共网站。可以是任何尺寸,大或小。
底部的“can”代表幕后的 SQL Server 数据库。网站用户实际上并不知道或关心它的存在,保存着网站的所有数据。
中间区域代表 ASP.NET 技术可以完成的工作。这些方框代表执行特定操作的代码小“引擎”。人们可能会处理一张信用卡。人们可能会将一件商品添加到购物车中。另一种可能会列出页面上的项目,并在项目旁边显示缩略图。这个清单是无穷无尽的。
这里的要点是,通过 ASP.NET,所有这些“引擎”都可以随时自行使用,或与其他“引擎”结合来执行网站任务和功能。这减少了需要放置在顶框代表的实际网页内的特殊代码的数量。这是一种效率更高、速度更快的技术,尤其是在网站越复杂的情况下。

只是觉得你可能想知道这一点。

I made this sketch recently when explaining the difference between a typical classic Microsoft .ASP/SQL Server website architecture, and one that incorporates the newer Microsoft ASP.NET technology.

The box labeled “Front” at the top of the diagram represents a public website. Could be any size, large or small.
The “can” at the bottom represents a SQL Server database that is behind the scenes. The website user really doesn’t know or care that it is there, holding all the data for the website.
The middle area represents what can be done with ASP.NET technology. The boxes represent little “engines” of code that do specific things. One might process a credit card. One might add an item to a shopping cart. Another might list items on a page with a thumbnail image next to them. The list is endless.
The point here is that with ASP.NET, all these “engines” can be ready at anytime for use by themselves, or in combination with other “engines” to perform website tasks, and features. This lessens the amount of special code that needs to be placed inside the actual web pages represented by the top box. It is a far more efficient, and much faster technology, especially the more complex and complicated a website may be.

Just thought you might like to know that.

故事↓在人 2024-08-15 06:36:24

这可能是您能找到的最好的收藏...
http://www.asp.net/get-started/

This may be the best collection you will find...
http://www.asp.net/get-started/

萧瑟寒风 2024-08-15 06:36:24

看看 sharpdevelop
它为使用最佳实践创建 ASP.NET MVC 应用程序提供了坚实的基础。
该项目甚至提供 Visual Studio 模板。

Look at sharpdevelop
It provides a solid foundation for creating asp.net mvc apps using best practices.
The project even provides Visual Studio templates.

花开雨落又逢春i 2024-08-15 06:36:24

帮自己一个忙,从 ASP.NET MVC 开始,把 Webform 抛在脑后。 Rob 的店面教程是一个很棒的 3 层示例,并且视频使其非常容易学习。

Do yourself a favour and start with ASP.NET MVC and leave Webforms behind. Rob's Storefront tutorial is a great 3 tier example and the videos make it very easy to learn.

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