34Patterns with XAML Apps

WHY MVVM?

Technologies and frameworks change. I created the first version of my company website (http://www.cninnovation.com) with ASP.NET Web Forms. When ASP.NET MVC came along, I tried it out to migrate a feature of my site to MVC. The progress was a lot faster than I expected. Within one day I transformed the complete site to MVC. The site uses SQL Server, integrates RSS feeds, and shows trainings and books. Information about the trainings and books is coming from the SQL Server database. The fast migration to ASP.NET MVC was only possible because I had separation of concerns from the beginning; I had created separate layers for the data access and business logic. With ASP.NET Web Forms it would have been possible to directly use data source and data controls within the ASPX page. Separating the data access and business logic ...

Get Professional C# 7 and .NET Core 2.0, 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.