why choose microsoftasp.net mvc framework for your next project?
Post on 16-Apr-2017
897 Views
Preview:
TRANSCRIPT
Why ChooseASP.NET MVCFor your next
project?
Web/ Mobile Development Firm, Los Angeles, CA
Microsoft MVC Framework
The Next Generation of Microsoft Web Development
Web/ Mobile Development Firm, Los Angeles, CA
Web-form was a Genius
Idea!Web-forms was introduced in 2001 and it was a great idea at the time.It made it easy for visual basic 6.0 developers to move to web developmentutilizing their existing knowledge
Web/ Mobile Development Firm, Los Angeles, CA
Forget about the webYou are still on the windows platform
Web form gave the illusion to developers that they are still developing on MS Windows platform. Therefore the transition was simple for million of
Microsoft developers.
Web/ Mobile Development Firm, Los Angeles, CA
Windows Developers Web Developers!became
in no-time
Web/ Mobile Development Firm, Los Angeles, CA
If Web-forms was so awesome then, why did we need this
new platform calledMVC?
Web/ Mobile Development Firm, Los Angeles, CA
In the last 10 years many powerful open-source client side libraries have been emerging in the world.
Web/ Mobile Development Firm, Los Angeles, CA
Users expectations has gone up!They can clearly see the difference, the power and the
flexibility that these open-source libraries provide.responsive, beautiful, powerful , flexible and smart applications
Web/ Mobile Development Firm, Los Angeles, CA
On the other hand the Software architecture methodologies has
been advancing too…
Reliable CodeMaintainable Code
Unit Testing
Plug and Play Design
Embrace Change
Separation of Concerns
Parallel Coding
Web/ Mobile Development Firm, Los Angeles, CA
Web-forms was overwhelmed by the
software development community requests to
support advanced architecture
and alsoby the end-users
request for magical, powerful web 2.0 enabled front-end.
Web/ Mobile Development Firm, Los Angeles, CA
Microsoft introduced MVC framework in 2009 to address these pain points
Leave it to me!
Web/ Mobile Development Firm, Los Angeles, CA
Microsoft MVC became so popular
Web/ Mobile Development Firm, Los Angeles, CA
Web/ Mobile Development Firm, Los Angeles, CA
So what is the MVC pattern anyway?
The MVC PatternHTML
jQuery
CSS
Customer Class Name string(50)Customer_ID IntegerAddress string(200)Phone_Number string(10)
Web/ Mobile Development Firm, Los Angeles, CA
ASP.NET Web FormsUI components(pages ,buttons, etc.)
ASP.NETA way to host .NET
applications in IIS(deals w/t Post, Get requests)
.NETA Multilanguage managed-
code platform
Web Forms
Web/ Mobile Development Firm, Los Angeles, CA
Web/ Mobile Development Firm, Los Angeles, CA
MVC Web FormsState-less Stateful (Viewstate)Total Control Over HTML Limited Control over HTML
Clear separation of Concerns False sense of separation of concerns
Unit Testing Unit Testing is Almost Impossible
No Server Controls(Light weight HTML Helpers)
Rich Set of Server Controls(Heavy Server side controls)
Powerful Routing Powerful Routing in .NET 4.0+
No Confusing Form Events Lots of Confusing Form Events
Better Performance Not so good Performance
No Physical page per URL Physical page for each URL
Wonderful Support for AJAX, jQuery, CSS
Poor Support for AJAX, jQuery, CSS
More Maintainable Code Less Maintainable Code
Parallel coding Parallel coding is hard
vs.
Web/ Mobile Development Firm, Los Angeles, CA
MVC!
And the Winner is…
Web/ Mobile Development Firm, Los Angeles, CA
Benefits of MVC for Managers
Easy to Maintain! Reduce Maintenance Cost
Less BugsHappy Customers!
Web/ Mobile Development Firm, Los Angeles, CA
Benefits of MVC for End Users
Less Bugs Happy Customers!
Better Performance
Interactive SoftwareWeb/ Mobile Development Firm, Los Angeles, CA
Does this mean that Web-Forms
are Dead?
Web/ Mobile Development Firm, Los Angeles, CA
When to Use Web-Forms
RAD Projects(Rapid Application Development)
User Experience not so important
Temporary Projects (maintenance not so important
Not approved by me…
Web/ Mobile Development Firm, Los Angeles, CA
Let’s Dig Deeper into
MVC!
Web/ Mobile Development Firm, Los Angeles, CA
Features in MVC 4.0
Web/ Mobile Development Firm, Los Angeles, CA
#1
#2
#3
Clear Separation of Concerns
Unit Testing and Test Driven Development
Total Control Over HTML
Web/ Mobile Development Firm, Los Angeles, CA
#4NuGet (Package Management System)
#6
Powerful Routing#5
Extensible Framework
Web/ Mobile Development Firm, Los Angeles, CA
#7Support For Mobile Development
#8Parallel Development
#9 Maintainable Code
Web/ Mobile Development Firm, Los Angeles, CA
#10Better Performance
Web/ Mobile Development Firm, Los Angeles, CA
Surprise!
Web/ Mobile Development Firm, Los Angeles, CA
Microsoft MVCFramework
is
Open Source!
Web/ Mobile Development Firm, Los Angeles, CA
Model Controller
View
Get a list ofall projects
DB
GetAllprojects( )…
Return View()
Project_ID=1, ProjectName=ABCProject_ID=2, projectName=DEFProject_ID=3, Project_Name=GHI
ProjectsID Name1 ABC2 DEF3 GHI
Web/ Mobile Development Firm, Los Angeles, CA
Mobile Development support in MVC
Model Controller
View
Get a list ofall projects
DB
GetAllprojects( )…
Return View()
Return MobileView()
Project_ID=1, ProjectName=ABCProject_ID=2, projectName=DEFProject_ID=3, Project_Name=GHI
ProjectsID Name1 ABC2 DEF3 GHI
If MobileNo
Yes
Mobile View
Projects
ID Name
1 ABC2 DEF3 GHI
Web/ Mobile Development Firm, Los Angeles, CA
The same application can be used for mobile and web. The only extra thing that needs to be done is creating mobile specific view using jQuery Mobile
Contest!
Web/ Mobile Development Firm, Los Angeles, CA
Send us the correct answers
For the following questions
And get 20% discountOn Custom Software
DevelopmentWeb/ Mobile Development Firm, Los Angeles, CA
1.Name 2 advantages of
Microsoft MVC over web-forms
Web/ Mobile Development Firm, Los Angeles, CA
2.Why separation of concerns is important in
application design?
Web/ Mobile Development Firm, Los Angeles, CA
3.What are 2 scenarios where using web-form is
still encouraged
Web/ Mobile Development Firm, Los Angeles, CA
4.Name 2 benefits of The MVC framework
for the end-users
Web/ Mobile Development Firm, Los Angeles, CA
5.Why traditional .NET web-formwas a great idea when it was first
introduced a decade ago?
Web/ Mobile Development Firm, Los Angeles, CA
6.What are 2 amazing things you can do in
MVC frameworkthat are NOT easy/possible
in .NET web-forms
Email us your answers:
services@agileclouders.com
Good Luck Web/ Mobile Development Firm, Los Angeles, CA
Web/ Mobile Development Firm, Los Angeles, CA
top related