Click here to Skip to main content
16,021,041 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Want a solution for this problem Pin
m@dhu22-Sep-11 3:48
m@dhu22-Sep-11 3:48 
AnswerRe: Want a solution for this problem Pin
Shah Rizal22-Sep-11 16:20
Shah Rizal22-Sep-11 16:20 
QuestionGet frame on another page Pin
Mugdha_Aditya22-Sep-11 2:51
Mugdha_Aditya22-Sep-11 2:51 
QuestionNeed to access physical file in iSeries by using asp.net Pin
Member 322226421-Sep-11 15:02
Member 322226421-Sep-11 15:02 
QuestionQuestion on entity class in the layer Pin
DotNetXenon21-Sep-11 9:07
DotNetXenon21-Sep-11 9:07 
AnswerRe: Question on entity class in the layer Pin
Pravin Patil, Mumbai21-Sep-11 18:53
Pravin Patil, Mumbai21-Sep-11 18:53 
GeneralRe: Question on entity class in the layer Pin
DotNetXenon22-Sep-11 5:52
DotNetXenon22-Sep-11 5:52 
GeneralRe: Question on entity class in the layer Pin
Pravin Patil, Mumbai23-Sep-11 7:10
Pravin Patil, Mumbai23-Sep-11 7:10 
I highly appreciate your response. You raised a very correct and genuine concern. You have two options.

Options 1:
Keep the business entity and business logic altogether different. In business entity you will have only public properties exposed. in simple terms it will act as a container for the data that flows through the layers. And business logic will have the core busines logic in it. Now, in this approach you only need to add the reference of Business entity in all the layers. Presentation, Business and DAL.

Options 2:
You will have no difference between Business logic and Entity. You can merge these two layers. i.e. Public properties and the business logic pertaining to that will be in the same class. Validation also goes in the same class. In this case you will have to add reference of this layer to both presentation and Data layer.

Both these approaches are used extensively in the Software Industry. However, second approach is much more extensively used, even it is used in MVC, MVP and MVVP architecture.

Hope this helps.
All the best.
I quit being afraid when my first venture failed and the sky didn't fall down.

GeneralRe: Question on entity class in the layer Pin
DotNetXenon23-Sep-11 8:04
DotNetXenon23-Sep-11 8:04 
GeneralRe: Question on entity class in the layer Pin
Pravin Patil, Mumbai23-Sep-11 19:36
Pravin Patil, Mumbai23-Sep-11 19:36 
Questioncreate user Pin
kunal Singh Rajput20-Sep-11 19:44
kunal Singh Rajput20-Sep-11 19:44 
AnswerRe: create user Pin
Blue_Boy20-Sep-11 21:15
Blue_Boy20-Sep-11 21:15 
AnswerRe: create user Pin
uspatel21-Sep-11 2:09
professionaluspatel21-Sep-11 2:09 
AnswerRe: create user Pin
Dalek Dave21-Sep-11 22:38
professionalDalek Dave21-Sep-11 22:38 
Question2010 C# asp.net designer Pin
classy_dog20-Sep-11 3:39
classy_dog20-Sep-11 3:39 
AnswerRe: 2010 C# asp.net designer Pin
Morgs Morgan20-Sep-11 5:18
Morgs Morgan20-Sep-11 5:18 
QuestionASP Logout Pin
berba19-Sep-11 20:54
berba19-Sep-11 20:54 
AnswerRe: ASP Logout Pin
Arun Jacob19-Sep-11 23:10
Arun Jacob19-Sep-11 23:10 
GeneralRe: ASP Logout [modified] Pin
berba20-Sep-11 0:35
berba20-Sep-11 0:35 
AnswerRe: ASP Logout Pin
Arun Jacob20-Sep-11 1:46
Arun Jacob20-Sep-11 1:46 
GeneralRe: ASP Logout [modified] Pin
berba20-Sep-11 1:48
berba20-Sep-11 1:48 
Questionredirect page in asp.net Pin
ZeroOne819-Sep-11 15:40
ZeroOne819-Sep-11 15:40 
AnswerRe: redirect page in asp.net Pin
Parwej Ahamad19-Sep-11 18:41
professionalParwej Ahamad19-Sep-11 18:41 
AnswerRe: redirect page in asp.net Pin
AditSheth19-Sep-11 22:29
AditSheth19-Sep-11 22:29 
AnswerRe: redirect page in asp.net Pin
GenJerDan20-Sep-11 5:14
GenJerDan20-Sep-11 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.