Click here to Skip to main content
15,903,201 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: MVC View Engines Pin
Suvabrata Roy21-May-14 4:12
professionalSuvabrata Roy21-May-14 4:12 
GeneralRe: MVC View Engines Pin
Kornfeld Eliyahu Peter21-May-14 4:14
professionalKornfeld Eliyahu Peter21-May-14 4:14 
GeneralRe: MVC View Engines Pin
Suvabrata Roy21-May-14 4:16
professionalSuvabrata Roy21-May-14 4:16 
GeneralRe: MVC View Engines Pin
Dave Kreskowiak21-May-14 4:23
mveDave Kreskowiak21-May-14 4:23 
GeneralRe: MVC View Engines Pin
Suvabrata Roy21-May-14 5:29
professionalSuvabrata Roy21-May-14 5:29 
GeneralRe: MVC View Engines Pin
thatraja21-May-14 4:25
professionalthatraja21-May-14 4:25 
GeneralRe: MVC View Engines Pin
Suvabrata Roy21-May-14 5:28
professionalSuvabrata Roy21-May-14 5:28 
GeneralRe: MVC View Engines Pin
newton.saber21-May-14 5:50
newton.saber21-May-14 5:50 
Great answer.
Suvabrata Roy wrote:
Light weight

2. Separation Of concern using Model.

3. UI Injection O View Injection


You have to understand the PageController pattern to understand how you are limited by ASP.Net and why you would move to Razor / MVC. Once you understand the problems (so nicely summarized above) then you'll know.
Basically, PageController (ASP.Net) says, oh, you sent me this URL I am going to send you some HTML.
Whereas, in Razor / MVC the server sasy, Oh, you sent me this URL, I am going to do whatever the custom controller behind me says to do (calculate a value, return business objects (JSON), etc.)
ASP.Net basically returns only the view because it is a PageController pattern.

http://martinfowler.com/eaaCatalog/pageController.html[^]
GeneralRe: MVC View Engines Pin
Suvabrata Roy21-May-14 18:18
professionalSuvabrata Roy21-May-14 18:18 
GeneralRe: MVC View Engines PinPopular
Marc Clifton21-May-14 4:15
mvaMarc Clifton21-May-14 4:15 
GeneralRe: MVC View Engines Pin
Jeremy Falcon21-May-14 4:20
professionalJeremy Falcon21-May-14 4:20 
GeneralRe: MVC View Engines Pin
User 483504721-May-14 5:00
User 483504721-May-14 5:00 
GeneralRe: MVC View Engines Pin
C Grant Anderson30-May-14 5:37
professionalC Grant Anderson30-May-14 5:37 
GeneralRe: MVC View Engines Pin
Marc Clifton30-May-14 8:34
mvaMarc Clifton30-May-14 8:34 
GeneralRe: MVC View Engines PinPopular
Pete O'Hanlon21-May-14 4:20
mvePete O'Hanlon21-May-14 4:20 
GeneralRe: MVC View Engines Pin
Jeremy Falcon21-May-14 4:22
professionalJeremy Falcon21-May-14 4:22 
GeneralRe: MVC View Engines Pin
#realJSOP21-May-14 4:23
professional#realJSOP21-May-14 4:23 
GeneralRe: MVC View Engines Pin
Pete O'Hanlon21-May-14 4:37
mvePete O'Hanlon21-May-14 4:37 
GeneralRe: MVC View Engines Pin
Shameel21-May-14 4:55
professionalShameel21-May-14 4:55 
GeneralRe: MVC View Engines Pin
Pete O'Hanlon21-May-14 4:58
mvePete O'Hanlon21-May-14 4:58 
GeneralRe: MVC View Engines Pin
#realJSOP21-May-14 7:54
professional#realJSOP21-May-14 7:54 
GeneralRe: MVC View Engines Pin
Kornfeld Eliyahu Peter21-May-14 4:23
professionalKornfeld Eliyahu Peter21-May-14 4:23 
GeneralRe: MVC View Engines Pin
Pete O'Hanlon21-May-14 4:37
mvePete O'Hanlon21-May-14 4:37 
GeneralRe: MVC View Engines Pin
Kornfeld Eliyahu Peter21-May-14 5:29
professionalKornfeld Eliyahu Peter21-May-14 5:29 
GeneralRe: MVC View Engines Pin
#realJSOP21-May-14 7:55
professional#realJSOP21-May-14 7:55 

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.