如何利用实体框架开发asp.net web应用程序开发的三层架构 [英] How to develop the 3 - tier archtecture of asp.net webapplication development by using entity framwork

查看:124
本文介绍了如何利用实体框架开发asp.net web应用程序开发的三层架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请您提供更好的方法来开发asp.net项目



可能包含DAL --- BLL ----- PL





请建议我在哪里维护属性以及在哪里必须维护惰性,更新,删除和选择方法





请帮助我,我想为此

解决方案

<维护正确的应用程序结构blockquote>步骤1)做一点研究。 Google [ ^ ]是一个很好的起点。您可以找到以下链接:

a) 1:创建数据访问层 [ ^ ], 2:创建业务逻辑层 [ ^ ]和 3:母版页和网站导航 [ ^ ]

b)简单实体框架示例 [ ^ ]

c) 3-Tier-Architecture-in-asp.net-using-c / 67931 [ ^ ]

d) http://www.asp.net/web-form/tutorials/data-access [ ^ ]

e) Building3TierApp [ ^ ]

步骤2)开始编码

步骤3)编译并使用调试解决小问题

步骤4)当你遇到问题时你不知道如何解决但至少你试了一下,然后来吧ck并询问一些具体的代码片段给出问题



对不起,如果这不是你想要的答案。但你的问题有点太宽,无法在快速答案中得到解答。如果你针对具体问题提出10个具体问题,那么你会得到更好的帮助,而不是关于如何引导的大问题


Could you please provide the better approach for develop the asp.net project

that might be contain DAL --- BLL-----PL


please suggest me where do i have to maintain properties and where do i have to maintain methods for inert ,update ,delete and select


please help me i would like to maintain proper application stucture for this

解决方案

Step 1) Do a little research. Google[^] is a good start point. You can find links like:
a) 1: Creating a Data Access Layer[^], 2: Creating a Business Logic Layer[^] and 3: Master Pages and Site Navigation[^]
b) Simple Sample with Entity Framework [^]
c) 3-Tier-Architecture-in-asp.net-using-c/67931[^]
d) http://www.asp.net/web-form/tutorials/data-access[^]
e) Building3TierApp[^]
Step 2) Start coding
Step 3) Compile and use the debug to solve little issues
Step 4) When you get a problem you don't know how to solve but at least you tried it, then come back and ask for something concrete with a snippet of the code giving problems

Sorry if this is not the answer you were looking for. But your question is a bit too wide to be answered at the "Quick" Answers. It is better and you get faster help if you make 10 concrete questions about concrete problems, than a big question about a "how-to guide"


这篇关于如何利用实体框架开发asp.net web应用程序开发的三层架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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