Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Between ASP.NET WebForms , using AJAX , Jquery or another JS Library and CSS .Leaving all the extra overheads (ViewState,Session State and even code behind) , something close to HTML5, JS n CSS and on the other ASP.NET MVC4 , which one would be the preference ? Or you don't see much difference apart from the IOC ?
ASP.NET is a great Solution for web technologies Even with an intermediate Experience you can deal with great C# Code and the productivity still an option
I think that CSS is coming second Because the basic and Important Item in the developing process for developer is the Code but for the user is the Style
Ajax , Js , JQuery and is important and Enhancing Productivity.
Html5 is promising Technology and the time is enough to push it to the podium
ASP .Net Webforms are helpful in quick development but it has some shortcomes whcih ASP.Net MVC solves
Unit testing you cann't use ASP.Net web forms you will have to use ASP.Net MVC
MVC also separate the views from inline code of ASP.net code with in html you can use razor or any other template engine
ASP.NET developers have two options when building new Web projects: the old faithful ASP.NET Web Forms, or the young gun, ASP.NET MVC framework. Increasingly, companies are choosing ASP.NET MVC for green field development and for significant revisions of existing sites.
Two important factors you should consider while making the choice is
i think we can mixing between the two patern and get MVP, its same as MVC in structures and stil working in your enviroment with your cool stafe and you can disable all the overhead that buzzing you in webform. :-)
Asp.net MVC
- Easier to get control over your HTML
- Easier to do unit testing
- Few "Gotchas"
Asp.net
- Easy to put simple CRUD/business apps together extremely fast (Rapid Development)
- Hard to beat ViewState performance in local LAN enviroment
- Easy to learn forms paradigm
Conclusion:
Time/money are the greatest reasons why webforms would be chosen over MVC.
It's depend on our requirement. Let's say, I have an requirement to develop application in less time then I will prefer Asp.Net Rapid application development framework. But if I have requirement to develop large scale application with full control over the behaviour of application then I will prefer Asp.Net MVC.
of course asp.net mvc
faster
easier
lighter
easy to maintain
no postbacks
no server headache
Asp.net MVC because when we think of usig asp.net core its purely mvc so its better to salect MVC which support open source aswell as crossplatform development