Click here to Skip to main content
15,905,915 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: web API - C# Pin
Kornfeld Eliyahu Peter3-Oct-13 9:45
professionalKornfeld Eliyahu Peter3-Oct-13 9:45 
GeneralRe: web API - C# Pin
miss7868-Oct-13 1:20
miss7868-Oct-13 1:20 
GeneralRe: web API - C# Pin
Kornfeld Eliyahu Peter8-Oct-13 1:32
professionalKornfeld Eliyahu Peter8-Oct-13 1:32 
GeneralRe: web API - C# Pin
miss7868-Oct-13 2:26
miss7868-Oct-13 2:26 
GeneralRe: web API - C# Pin
Kornfeld Eliyahu Peter8-Oct-13 19:55
professionalKornfeld Eliyahu Peter8-Oct-13 19:55 
GeneralRe: web API - C# Pin
miss78610-Oct-13 5:18
miss78610-Oct-13 5:18 
GeneralRe: web API - C# Pin
Kornfeld Eliyahu Peter10-Oct-13 5:32
professionalKornfeld Eliyahu Peter10-Oct-13 5:32 
SuggestionSomeone - Please sell me on MVC Pin
L Viljoen2-Oct-13 23:57
professionalL Viljoen2-Oct-13 23:57 
On to an issue whether or not we should move to MVC development I have been debating this with my developers now for months.

And some insist MVC is better though I just dont see it.

What makes a programming methodology better for me ?

Speed of development.
Developer spending less time on interface and normal features and more time getting validation and business logic to be solid
Code that is easy to understand by new developers taking on the project
Structure that is easy to follow and you dont have to jump between mappings and target pages to check how they link
Ability to create reusable controls
Visual designer , so you dont have to repeatedly code something as mundane as a table.
Scalability

When working with MVC4
Razor

Visual designer Gone ;(
No Server Controls
Hooking up an event is manually coded (instead of double clicking or hooking up an event
Single controller multiple pages

Bottom line is what is quicker , on asp.net I can drag a button on the exact spot i need it double click (3 seconds later) I have a button named and hooked up to an event without touching the keyboard. which the mvc guy is still busy typing his input tag , not to mention switching between the controller and the markup screens creating a event and a model.

When i used a aspx grid , I get a nice linq data source hook it up to a grid, columns gets auto generated , meaning all i have to do is change the column headers , click that I want to enable sorting and paging , and I am done 2 minutes later. and if I have not too complex columns the add edit and delete features are created for me in one shot which can be configured for more complex scenarios's

Now as an mvc developer doing the whole grid thing , everything has to be coded , I have to code my data queries (be it LINQ or SQL) to do the paging and sorting , 2 hours an insane amount of typing and script later I have something that kinda does the same thing but looks butt ugly. I guess an expereinced MVC dev can do it in probably 10 mintes flat


My Recommendation, MVC is ok for cases with little complexity and smaller size projects, but when you need to deliver something of great scale and complexity you are shooting yourself in the foot as you will still be coding interface logic when a asp.net dev is long done with the project.

Also just in case you wondering I know
1 MVC does not have viewstate : good practiice minimises viewstate/ you can also hide your viewstate in session using very basic code, also viewstate has never kept me awake one night , projects running late has
2. MVC generates easy to read markup : not really relevant since your customers only really look at the interface not the code
("but but but. . . search engines" - trust me google can handle it.
3. Ability to create clean user friendly urls - The url rewrite method has been available since .net 2, and is infinitely flexible to anyone who knows their regular expressions




The goal of industry here is.
1.to have it done quickly
2.have it done at low cost
3.and to have to have it done right
(you can have only 2 of the 3)

now needless to say 3 quality is non negotiable and 2 is usually what sells software to a client .
but 1 does not help you if developers pulling a salary takes 3 months to develop software that brings in 1 month of profit


So please explain why MVC is better ?
Chona1171
Web Developer (C#), Silverlight

GeneralRe: Someone - Please sell me on MVC Pin
Kornfeld Eliyahu Peter8-Oct-13 1:52
professionalKornfeld Eliyahu Peter8-Oct-13 1:52 
GeneralRe: Someone - Please sell me on MVC Pin
L Viljoen9-Oct-13 1:17
professionalL Viljoen9-Oct-13 1:17 
GeneralRe: Someone - Please sell me on MVC Pin
Kornfeld Eliyahu Peter9-Oct-13 1:29
professionalKornfeld Eliyahu Peter9-Oct-13 1:29 
GeneralRe: Someone - Please sell me on MVC Pin
João Márcio Prado17-Oct-13 10:52
João Márcio Prado17-Oct-13 10:52 
GeneralRe: Someone - Please sell me on MVC Pin
Kornfeld Eliyahu Peter17-Oct-13 19:46
professionalKornfeld Eliyahu Peter17-Oct-13 19:46 
QuestionRadWindow does not display Pin
Steve Holdorf1-Oct-13 14:03
Steve Holdorf1-Oct-13 14:03 
AnswerRe: RadWindow does not display Pin
Kornfeld Eliyahu Peter2-Oct-13 20:37
professionalKornfeld Eliyahu Peter2-Oct-13 20:37 
Questionslideshow Pin
crood29-Sep-13 19:56
crood29-Sep-13 19:56 
AnswerRe: slideshow Pin
Richard MacCutchan29-Sep-13 21:33
mveRichard MacCutchan29-Sep-13 21:33 
AnswerRe: slideshow Pin
Abhinav S30-Sep-13 18:37
Abhinav S30-Sep-13 18:37 
QuestionSelect data on the basis of URL. Pin
webmas128-Sep-13 1:11
professionalwebmas128-Sep-13 1:11 
AnswerRe: Select data on the basis of URL. Pin
Richard MacCutchan29-Sep-13 21:31
mveRichard MacCutchan29-Sep-13 21:31 
AnswerRe: Select data on the basis of URL. Pin
David Mujica30-Sep-13 2:13
David Mujica30-Sep-13 2:13 
AnswerRe: Select data on the basis of URL. Pin
Govindaraj Rangaraj30-Sep-13 23:29
Govindaraj Rangaraj30-Sep-13 23:29 
QuestionHow to Handle Null using LINQ during Datatable CrossJoin C# Pin
priyaahh27-Sep-13 0:51
priyaahh27-Sep-13 0:51 
AnswerRe: How to Handle Null using LINQ during Datatable CrossJoin C# Pin
Richard Deeming27-Sep-13 2:04
mveRichard Deeming27-Sep-13 2:04 
GeneralRe: How to Handle Null using LINQ during Datatable CrossJoin C# Pin
priyaahh29-Sep-13 21:10
priyaahh29-Sep-13 21:10 

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.