why choose microsoftasp.net mvc framework for your next project?

44
Why Choose ASP.NET MVC For your next project? b/ Mobile Development Firm, Los Angeles, CA

Upload: agile-clouders-inc

Post on 16-Apr-2017

897 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Why ChooseASP.NET MVCFor your next

project?

Web/ Mobile Development Firm, Los Angeles, CA

Page 2: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Microsoft MVC Framework

The Next Generation of Microsoft Web Development

Web/ Mobile Development Firm, Los Angeles, CA

Page 3: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 4: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 5: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Windows Developers Web Developers!became

in no-time

Web/ Mobile Development Firm, Los Angeles, CA

Page 6: Why Choose MicrosoftASP.NET MVC framework for your next Project?

If Web-forms was so awesome then, why did we need this

new platform calledMVC?

Web/ Mobile Development Firm, Los Angeles, CA

Page 7: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 8: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 9: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 10: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 11: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Microsoft introduced MVC framework in 2009 to address these pain points

Leave it to me!

Web/ Mobile Development Firm, Los Angeles, CA

Page 12: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Microsoft MVC became so popular

Web/ Mobile Development Firm, Los Angeles, CA

Page 13: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Web/ Mobile Development Firm, Los Angeles, CA

So what is the MVC pattern anyway?

Page 14: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 15: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 16: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Web/ Mobile Development Firm, Los Angeles, CA

Page 17: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 18: Why Choose MicrosoftASP.NET MVC framework for your next Project?

MVC!

And the Winner is…

Web/ Mobile Development Firm, Los Angeles, CA

Page 19: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Benefits of MVC for Managers

Easy to Maintain! Reduce Maintenance Cost

Less BugsHappy Customers!

Web/ Mobile Development Firm, Los Angeles, CA

Page 20: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Benefits of MVC for End Users

Less Bugs Happy Customers!

Better Performance

Interactive SoftwareWeb/ Mobile Development Firm, Los Angeles, CA

Page 21: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Does this mean that Web-Forms

are Dead?

Web/ Mobile Development Firm, Los Angeles, CA

Page 22: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 23: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Let’s Dig Deeper into

MVC!

Web/ Mobile Development Firm, Los Angeles, CA

Page 24: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Features in MVC 4.0

Web/ Mobile Development Firm, Los Angeles, CA

Page 25: Why Choose MicrosoftASP.NET MVC framework for your next Project?

#1

#2

#3

Clear Separation of Concerns

Unit Testing and Test Driven Development

Total Control Over HTML

Web/ Mobile Development Firm, Los Angeles, CA

Page 26: Why Choose MicrosoftASP.NET MVC framework for your next Project?

#4NuGet (Package Management System)

#6

Powerful Routing#5

Extensible Framework

Web/ Mobile Development Firm, Los Angeles, CA

Page 27: Why Choose MicrosoftASP.NET MVC framework for your next Project?

#7Support For Mobile Development

#8Parallel Development

#9 Maintainable Code

Web/ Mobile Development Firm, Los Angeles, CA

Page 28: Why Choose MicrosoftASP.NET MVC framework for your next Project?

#10Better Performance

Web/ Mobile Development Firm, Los Angeles, CA

Page 29: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Surprise!

Web/ Mobile Development Firm, Los Angeles, CA

Page 30: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Microsoft MVCFramework

is

Open Source!

Web/ Mobile Development Firm, Los Angeles, CA

Page 31: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 32: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Web/ Mobile Development Firm, Los Angeles, CA

Mobile Development support in MVC

Page 33: Why Choose MicrosoftASP.NET MVC framework for your next Project?

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

Page 34: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Contest!

Web/ Mobile Development Firm, Los Angeles, CA

Page 35: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Send us the correct answers

For the following questions

And get 20% discountOn Custom Software

DevelopmentWeb/ Mobile Development Firm, Los Angeles, CA

Page 36: Why Choose MicrosoftASP.NET MVC framework for your next Project?

1.Name 2 advantages of

Microsoft MVC over web-forms

Web/ Mobile Development Firm, Los Angeles, CA

Page 37: Why Choose MicrosoftASP.NET MVC framework for your next Project?

2.Why separation of concerns is important in

application design?

Web/ Mobile Development Firm, Los Angeles, CA

Page 38: Why Choose MicrosoftASP.NET MVC framework for your next Project?

3.What are 2 scenarios where using web-form is

still encouraged

Web/ Mobile Development Firm, Los Angeles, CA

Page 39: Why Choose MicrosoftASP.NET MVC framework for your next Project?

4.Name 2 benefits of The MVC framework

for the end-users

Web/ Mobile Development Firm, Los Angeles, CA

Page 40: Why Choose MicrosoftASP.NET MVC framework for your next Project?

5.Why traditional .NET web-formwas a great idea when it was first

introduced a decade ago?

Web/ Mobile Development Firm, Los Angeles, CA

Page 41: Why Choose MicrosoftASP.NET MVC framework for your next Project?

6.What are 2 amazing things you can do in

MVC frameworkthat are NOT easy/possible

in .NET web-forms

Page 42: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Email us your answers:

[email protected]

Good Luck Web/ Mobile Development Firm, Los Angeles, CA

Page 43: Why Choose MicrosoftASP.NET MVC framework for your next Project?

Web/ Mobile Development Firm, Los Angeles, CA

Page 44: Why Choose MicrosoftASP.NET MVC framework for your next Project?