Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Mortal Kombat! ASP.NET MVC vs ASP.NET WebForms - WebForms Demo

From a presentation of:

Mortal Kombat! ASP.NET MVC vs ASP.NET WebForms

I was defending WebForms.

The Code for the presentation can be found on:

Event Info:

  • Login to see the comments

  • Be the first to like this

Mortal Kombat! ASP.NET MVC vs ASP.NET WebForms - WebForms Demo

  1. 1. WebForms The Classic Approach To Web Development Mortal Kombat! ASP.NET MVC vs ASP.NET WebForms
  2. 2. Outline • Why WebForms • Demo / Walk Through • Plugins • Tips / Tricks
  3. 3. Why WebForms • More Focused on UI o Rich Controls o Easy to Adopt HTML and CSS Changes o Easier for Designers to Work with Developers o Master Pages • Rapid Development • Great for small shops
  4. 4. Easy to Build Plugins • Custom WebForm Controls o Add to Toolbox o Build Library of Plugins for Future Projects o Control how how much gets rendered o More Complex Code • User Controls o Easy to Encapsulate Repeatable Code o Can be used as a plugin o Coded like a WebForm within a WebForm o Keep Complicated Functions Separate from the Main Form
  5. 5. Tips / Tricks • High school taught us to wrap it up – Don’t! • ViewState can really bloat your page; Be careful! • Use a custom page base , it can save you • Use classes and controls to organize yourself • Master Pages are great to keep a common structure
  6. 6. Problems? • More difficult to create tests • More difficult to adapt to SCRUM process • ViewState, useful, but very messy • Post backs are a pain in the @ss!
  7. 7. Use the right tool! You can do any project with any tool.
  8. 8. For Further Questions Twitter: @LdnDeveloper Email: SlideShare: GitHub: Web: