SlideShare a Scribd company logo
1 of 9
WebForms vs
MVC
Stupid Web Technology Moves Too
Damn Fast
*** Web 3.0
• I was brought on board 8/2011
• Discussion/architecture continued until 10/2011
• Our platform consists of
• Web Forms with Custom Web Parts
• Open Source Grid/Layout/Window plugins
• Challenges we faced
• Localization of client side script
• How to take advantage of ***’s awesome biz architecture
• How to support licensing/authentication through a state-full architecture
• How to organize client side code in a meaningful efficient manner
• How to create rich UI widgets in HTML 5 that have “near native” performance
Our Choices
• Localization:
• Uses AJAX ScriptManager and embedded JavaScript files in web part assemblies
• Biz Architecture
• Created a Service Oriented Architecture on top of the *** biz layer using Windows Communication
Foundation. All client side interactions are handled through AJAX calls to these services.
• Authentication/Licensing
• Handled by shuffling a cookie containing “auth” object from web application to client side JavaScript
and back to web service. User is authenticated via cookie through two separate app domains.
• Client Side Code Organization
• Each main UI element is encapsulated in it’s own “web part project” in the UI layer under ***.UI.Web.*.
Each web part is embedded with it’s own HTML/JavaScript/CSS resources, and injected into the site via
the web forms script manager. During injection ScriptManager can handle things like localization.
• UI Widget
• Used the open source plugins DataTables, AeroWindow, and jQueryLayout
Our UI Framework Alternatives Were Not
Ready…
• KendoUI/IgniteUI were both in infancy
• IgniteUI was previously called
NetVantage for jQuery
• Neither had a stable grid component that
supported the advanced functionality we
required.
• These features did not yet exist per the
Netvantage jQuery 2011.2 document:
• Column resizing/reordering
• Item previewing
• NetVantage’s grid had a list of 27 known
bugs, 7 of which had no workaround and
were never fixed.
KendoUI
Microsoft Also changed the Web Service
game…
• At the time, WCF or traditional ASPX web services were
the only way to create RESTful web services
• WCF is a pain in the ass.
• WCF REST is an extra hard pain in the ass.
• WCF REST with both windows authentication and
anonymous authentication is the most unbelievably
largest pain in the ass imaginable.
• Plus it ruined my Disneyworld trip.
• Help was around the corner – Two project promised to
simplify RESTful services:
• WCF Web API:
• http://wcf.codeplex.com/wikipage?title=WCF%20Web
%20API%20is%20now%20ASP.NET%20Web%20API
• WCF REST Starter Kit:
• http://aspnet.codeplex.com/releases/view/24644
Microsoft Also changed the Web Service
game…
• Microsoft was very awesome. :-/
• They decided to replace WCF REST API
with MVC Web API
• As always – the story is that WCF REST
has very viable use cases blah blah
blah… *cough* Silverlight *cough*
• Web API was released Aug 2012 –
about halfway through our
development cycle.
• MVC itself was in Version 3 when we
started – Version 4 was released Aug
2012, and Version 5 is currently in
preview.
WEB
API
WCF
Other technology that has popped up over
the last two years
• SignalR/WebSockets
• TypeScript
• SASS/LeSS
• NodeJS
• NuGET
• GitHub
• 5 gazillion JavaScript frameworks
• Native JS Development (Windows
8, Google Apps)
• ShadowDOM
• Web Components/Polymer
• HTTP 2.0
• SPDY (IE11 supports!)
In Use Today Around the Corner
Web Forms vs. MVC
Web Forms
• Great UI encapsulation
• Localization through
RESX/ScriptManager
• Poor web development practices
• ViewState
• Single Form per Page
• Slows development – very difficult
to order JavaScript/CSS/HTML in
the most efficient manner.
MVC
• Ex Ruby staff
• UI encapsulated only through JS files –
not separate projects
• Localization through JSON
• Thin HTML – no extra hidden
elements/ViewState/random Microsoft
garbage
• All of the new Visual Studio tooling is
being developed with WinForms in mind
– i.e. web essentials doesn’t have a way
to preview/reference files from an
embedded assembly.
In Summation
• I’ve developed a healthy hatred for the Microsoft platform
• I also like some really cool things about the new Microsoft
platforms.
• But those really cool things will probably be replaced in a year or
two.
• MVC is a very cool way to develop
• Except for it abandons the way Microsoft has built web software for over 10 years.
• And it also does not integrated with Microsoft Web products like SharePoint, which
will remain web forms based for years to come.
• It is more closely related to every other web platform out there, like PHP, Ruby, Java
Server Pages (JSP), etc.
• MVC is a faster, more web oriented, and a less bug prone method
of developing.
• I don’t have to spend time digging around in viewstate
• JavaScript isn’t parsed through web handlers
• Web toolsets like Google Chrome are easier to use.
• We are prepared for the transition – MVC was on the radar, and all
of our web parts will built with the concept of one day transitions to
MVC in mind.
• No server side DOM
• No ViewState
I ran out of time building this
PowerPoint – here’s a picture
of a kitten petting a duck

More Related Content

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Microsoft ASP.NET Webforms vs. MVC

  • 1. WebForms vs MVC Stupid Web Technology Moves Too Damn Fast
  • 2. *** Web 3.0 • I was brought on board 8/2011 • Discussion/architecture continued until 10/2011 • Our platform consists of • Web Forms with Custom Web Parts • Open Source Grid/Layout/Window plugins • Challenges we faced • Localization of client side script • How to take advantage of ***’s awesome biz architecture • How to support licensing/authentication through a state-full architecture • How to organize client side code in a meaningful efficient manner • How to create rich UI widgets in HTML 5 that have “near native” performance
  • 3. Our Choices • Localization: • Uses AJAX ScriptManager and embedded JavaScript files in web part assemblies • Biz Architecture • Created a Service Oriented Architecture on top of the *** biz layer using Windows Communication Foundation. All client side interactions are handled through AJAX calls to these services. • Authentication/Licensing • Handled by shuffling a cookie containing “auth” object from web application to client side JavaScript and back to web service. User is authenticated via cookie through two separate app domains. • Client Side Code Organization • Each main UI element is encapsulated in it’s own “web part project” in the UI layer under ***.UI.Web.*. Each web part is embedded with it’s own HTML/JavaScript/CSS resources, and injected into the site via the web forms script manager. During injection ScriptManager can handle things like localization. • UI Widget • Used the open source plugins DataTables, AeroWindow, and jQueryLayout
  • 4. Our UI Framework Alternatives Were Not Ready… • KendoUI/IgniteUI were both in infancy • IgniteUI was previously called NetVantage for jQuery • Neither had a stable grid component that supported the advanced functionality we required. • These features did not yet exist per the Netvantage jQuery 2011.2 document: • Column resizing/reordering • Item previewing • NetVantage’s grid had a list of 27 known bugs, 7 of which had no workaround and were never fixed. KendoUI
  • 5. Microsoft Also changed the Web Service game… • At the time, WCF or traditional ASPX web services were the only way to create RESTful web services • WCF is a pain in the ass. • WCF REST is an extra hard pain in the ass. • WCF REST with both windows authentication and anonymous authentication is the most unbelievably largest pain in the ass imaginable. • Plus it ruined my Disneyworld trip. • Help was around the corner – Two project promised to simplify RESTful services: • WCF Web API: • http://wcf.codeplex.com/wikipage?title=WCF%20Web %20API%20is%20now%20ASP.NET%20Web%20API • WCF REST Starter Kit: • http://aspnet.codeplex.com/releases/view/24644
  • 6. Microsoft Also changed the Web Service game… • Microsoft was very awesome. :-/ • They decided to replace WCF REST API with MVC Web API • As always – the story is that WCF REST has very viable use cases blah blah blah… *cough* Silverlight *cough* • Web API was released Aug 2012 – about halfway through our development cycle. • MVC itself was in Version 3 when we started – Version 4 was released Aug 2012, and Version 5 is currently in preview. WEB API WCF
  • 7. Other technology that has popped up over the last two years • SignalR/WebSockets • TypeScript • SASS/LeSS • NodeJS • NuGET • GitHub • 5 gazillion JavaScript frameworks • Native JS Development (Windows 8, Google Apps) • ShadowDOM • Web Components/Polymer • HTTP 2.0 • SPDY (IE11 supports!) In Use Today Around the Corner
  • 8. Web Forms vs. MVC Web Forms • Great UI encapsulation • Localization through RESX/ScriptManager • Poor web development practices • ViewState • Single Form per Page • Slows development – very difficult to order JavaScript/CSS/HTML in the most efficient manner. MVC • Ex Ruby staff • UI encapsulated only through JS files – not separate projects • Localization through JSON • Thin HTML – no extra hidden elements/ViewState/random Microsoft garbage • All of the new Visual Studio tooling is being developed with WinForms in mind – i.e. web essentials doesn’t have a way to preview/reference files from an embedded assembly.
  • 9. In Summation • I’ve developed a healthy hatred for the Microsoft platform • I also like some really cool things about the new Microsoft platforms. • But those really cool things will probably be replaced in a year or two. • MVC is a very cool way to develop • Except for it abandons the way Microsoft has built web software for over 10 years. • And it also does not integrated with Microsoft Web products like SharePoint, which will remain web forms based for years to come. • It is more closely related to every other web platform out there, like PHP, Ruby, Java Server Pages (JSP), etc. • MVC is a faster, more web oriented, and a less bug prone method of developing. • I don’t have to spend time digging around in viewstate • JavaScript isn’t parsed through web handlers • Web toolsets like Google Chrome are easier to use. • We are prepared for the transition – MVC was on the radar, and all of our web parts will built with the concept of one day transitions to MVC in mind. • No server side DOM • No ViewState I ran out of time building this PowerPoint – here’s a picture of a kitten petting a duck