In the .NET space the overwhelming majority of web projects are built with ASP.NET in one form or another. But there are alternatives. Alternatives that offer other approaches, and supports other ways of thinking.Alternatives that are open source. Altenratives that run on Mono. Maybe one of those alternatives is the better fit for your next project - except if you don't know about them you will never know. In this code heavy talk I'll show the same sample application in the three Open Source .NET web frameworks FubuMVC, OpenRasta, and Nancy. You will not become an expert at anything by attending this talk - but you may discover just the right web framework for your next project.
3. Who Am I?
• Lead Software Architect @ Mjølner Informatics
• Denmark
• Husband and Father
• Some who enjoys
– Clean code
– TDD’ing
– When Denmarks wins at football
– Simplicity
– Whisky
4. Why?
• There are alternatives to ASP.NET
– Even on .NET
– Know them!
• Style matters
• Tradeoffs, tradeoffs, tradeoffs
– Conventions <-----> explicitness
– DRY <-----> separation of concerns
– Abstract <-----> concrete
8. FubuMVC – At a glance
• One Model In One Model Out
– Aka OMIOMO
– Aka Russian Doll
• Convention over Configuration
• Really cool built-in diagnostics
• Everything is POCOs
9. FubuMVC – ShortUrl Overview
GET “/” • No params
HomeController
• Returns HomeViewModel
.get_Home
HomeView.cshtml • Takes HomeViewModel
18. Nancy– At a glance
• Lightweight, low ceremony
– Just works
– But easily swappable
– DSLs
• Built in diagnostics
• Automatic conneg
• Testability is first class