Click here to Skip to main content
15,891,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
NewsRe: Modify webpage controls in a contentplaceholder from a class.vb file Pin
Member 840806424-Jan-12 10:44
Member 840806424-Jan-12 10:44 
GeneralRe: Modify webpage controls in a contentplaceholder from a class.vb file Pin
manognya kota24-Jan-12 22:49
manognya kota24-Jan-12 22:49 
QuestionMaking multiple teams coexist Pin
_Zorro_23-Jan-12 4:21
professional_Zorro_23-Jan-12 4:21 
QuestionHTTPS implmentation issue in asp.net Pin
afsal qureshi23-Jan-12 3:47
afsal qureshi23-Jan-12 3:47 
AnswerRe: HTTPS implmentation issue in asp.net Pin
jkirkerx25-Jan-12 13:14
professionaljkirkerx25-Jan-12 13:14 
QuestionAsp.net rdlc reports hanging in production (Ajax application) Pin
nikam.chetan23-Jan-12 1:56
nikam.chetan23-Jan-12 1:56 
AnswerRe: Asp.net rdlc reports hanging in production (Ajax application) Pin
thatraja23-Jan-12 2:27
professionalthatraja23-Jan-12 2:27 
QuestionHow to build business layer in MVC3 project? Pin
Tesic Goran22-Jan-12 9:08
professionalTesic Goran22-Jan-12 9:08 
I've already read some articles about this matter, but I'm not sure how to solve my problem.

I work on project in which we use MVC3. The project should manage school system (schools, pupils, teachers, parents, users, roles and so on. In the center of such a school management system is - schedule of subjects.

We get data from MS SQL Server through EF4 (database first approach), which means all entity classes are created automatically. Therefore, I have such a classes that represent database tables such as School, Pupil, Teacher, Role and so on. And I have DbContext derived class.

We primarily know how our presentation (UI) layer should look like.

The problem is in layer between UI and classes we got automatically by using EF4 that I've already mentioned. I've read about repository and unit of work patterns and understood how they work. I've thought we could apply those patterns, but our project architect wants to use something else. He wants to have clear separation of layers. He wants to call simple methods from controllers that are placed in business layer, which means almost whole logic should not be in controllers, but in that business layer.

I'm not sure now what I should start with. I have all those entity classes School, Pupil, Teacher, Role and so on. And I have DbContext derived class. That means those classes are input for business layer. What should be output of business layer? How could I design business layer?

Thank you in advance.

Goran
AnswerRe: How to build business layer in MVC3 project? Pin
Anurag Gandhi23-Jan-12 0:39
professionalAnurag Gandhi23-Jan-12 0:39 
QuestionSeveral HTTPS sites on the same server! possible? Pin
abbd22-Jan-12 7:59
abbd22-Jan-12 7:59 
QuestionIFrame name Pin
Ali Al Omairi(Abu AlHassan)22-Jan-12 2:20
professionalAli Al Omairi(Abu AlHassan)22-Jan-12 2:20 
AnswerRe: IFrame name Pin
Not Active22-Jan-12 4:00
mentorNot Active22-Jan-12 4:00 
GeneralRe: IFrame name Pin
Ali Al Omairi(Abu AlHassan)22-Jan-12 4:49
professionalAli Al Omairi(Abu AlHassan)22-Jan-12 4:49 
AnswerRe: IFrame name Pin
Ali Al Omairi(Abu AlHassan)24-Jan-12 20:34
professionalAli Al Omairi(Abu AlHassan)24-Jan-12 20:34 
Questionconfirmation box in between code-behind instructions Pin
Vijay Bhojwani20-Jan-12 5:25
Vijay Bhojwani20-Jan-12 5:25 
AnswerRe: confirmation box in between code-behind instructions Pin
Ali Al Omairi(Abu AlHassan)22-Jan-12 1:58
professionalAli Al Omairi(Abu AlHassan)22-Jan-12 1:58 
QuestionDynamic Ajax controls not visible on button click event Pin
byka20-Jan-12 4:18
byka20-Jan-12 4:18 
QuestionProblem in AutocompleteExtender Pin
Member 831109520-Jan-12 2:19
Member 831109520-Jan-12 2:19 
AnswerRe: Problem in AutocompleteExtender Pin
Member 831109520-Jan-12 21:11
Member 831109520-Jan-12 21:11 
QuestionWebControl - call method from markup Pin
Hanzaplast20-Jan-12 0:59
Hanzaplast20-Jan-12 0:59 
QuestionNeed of Profession CSS for Gridview in ASP.NET Pin
ssnsol20-Jan-12 0:43
ssnsol20-Jan-12 0:43 
QuestionAccessing ASP.NET application through virtual directory. Pin
ssnsol20-Jan-12 0:13
ssnsol20-Jan-12 0:13 
QuestionAsp.net c# list<string> Pin
Member 831109519-Jan-12 21:16
Member 831109519-Jan-12 21:16 
AnswerRe: Asp.net c# list Pin
ssnsol20-Jan-12 0:22
ssnsol20-Jan-12 0:22 
Questionmaintain scroll in master page Pin
buffering8319-Jan-12 20:00
buffering8319-Jan-12 20:00 

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.