Succinctly series author Ugo Lattanzi has created a new video for Microsoft’s TechRewards program titled What’s New with MVC 6. Coming in at just less than 45 minutes, it provides the opportunity to familiarize yourself with the newest updates to the powerful ASP.NET programming model in a fast, convenient way.
Are you ready to learn?
Beginning with a refresher on ASP.NET and the platforms that are compatible with MVC 6, Lattanzi swiftly moves toward practical demonstrations of MVC 6’s features. Over the course of the video, Lattanzi constructs a “Hello, World!” application using ASP.NET 5 and MVC 6, and then modifies it with a variety of techniques. He showcases how to take advantage of APIs, dependency injection, tag helpers, and much more when working in MVC 6 environments.
One new feature is the combination of MVC and API; no longer are they two different packages. Lattanzi demonstrates how to register MVC services in your application, how to create a controller for APIs and MVC, and how to configure routing.
Another major feature is dependency injection. ASP.NET 5 comes with a built-in dependency injection framework, making dependencies easier to manage than ever before. Best of all, you can still use your favorite framework for added flexibility. Lattanzi showcases the updated dependency injection by registering a customer service and inserting it into an MVC/API controller.
The last major update Lattanzi explains is the change to hosting environments. ASP.NET now offers a class that checks the environment in which your code is running. This opens up the option to change your code to suit the current environment. For instance, you could log data to the console if in a developer environment, but log data to a file in a production environment. This opens up many options for developers who work in multiple environments.
In short, Ugo Lattanzi’s latest video is a great way to learn the ins and outs of the latest updates to MVC 6, and it is even a great opportunity for someone who simply wants to learn more about ASP.NET 5. As part of Microsoft’s TechRewards program, you’ll not only improve your knowledge, you’ll earn points that can be exchanged for a variety of prizes.
Microsoft’s TechRewards program offers new ways to learn.
For those who have watched the video or have hands-on experience with MVC 6, what are your favorite features? Which update makes the most difference for your development process? Let us know in the comments below or on Twitter or Facebook.