The Monsters Weekly - Episode 27 - Windows Docker Containers

Some monsters like rice pudding, some monsters like to do automotive repair but these monsters like containers. Containers of what? To day containers of Windows. In this episode we show off a simple right click deploy of our project to a Windows container running on Windows 2016 on Azure. That’s right, it is 2016, and we don’t need no stinking Linux our ASP.NET apps in containers!

If you’re interested in learning more about Windows Containers then check out 

GitHub Authentication with ASP.NET Core

Authentication has changed over the years, and my take on it has surely shifted. No longer is it the scary, intimidating beastie that must be overcome on our projects. Today, we can let external providers provide the authentication mechanisms, giving the user with a streamlined experience that can give them access to our application with previuosly defined credentials.

GitHub Authentication in ASP.NET Core

Let’s have a look at what it takes to allow users to authenticate in our application using GitHub as the login source, and you can check out the Monsters video take of this on Channel 9.

The Monsters Weekly - Episode 26 - GitHub Authentication in ASP.NET Core

When your primary market is fellow developers, having GitHub authentication is a great way to allow your users to engage with your site without requiring them to sign up on yours, while still providing a means to create and manage user-specific data in your application.

In this episode, Monster James walks us through the process of getting GitHub authentication working in an ASP.NET Core application using the OAuth authentication provider. 

The Monsters Weekly - Episode 25 - Dependency Injection into Filters

Action filters can be used to annotate action methods in ASP.net - that’s not new. But in ASP.NET Core the filters can participate much more fully in the dependency injection story. You no longer need to jump though container specific hoops or make use of a service locator pattern. As an added bonus in this episode James throws Simon under the bus and makes him write GenFu code on the fly.  

Read all about filters in the official documentation at https://docs.asp.net/en/latest/mvc/controllers/filters.html

The Monsters Weekly - Episode 24 - View Components in ASP.NET MVC Core

If you need a way to bundle up bits of UI and related behind-the-scenes logic, chances are you’re looking for View Components in ASP.NET MVC. This feature of the MVC Framework lets you build reusable components in a new way that better participates in the HTTP request and controller lifecycle.

In previous versions of the MVC Framework, we had child actions, but those have gone the way of the dodo. In this video, Monster Dave walks us through leveraging View Components - including a brief cross over into dependency injection - in our Razor views.

The Monsters Weekly - Episode 23 - 'Working With Sensitive Data - User Secrets'

If you’re working on a project where you’ll be sharing code with someone else, particularly if you’re keeping the source code in a public repository, you’re going to want to make sure that sensitive data is separate from your project. This includes things like API keys, tokens for services and perhaps passwords or other similar data.

The Monsters Weekly - Episode 22 - 'Realistic Prototype Data in ASP.NET Core with GenFu'

In this episode, Monster James walks you through the basics of prototyping a new feature in your application without having to do the grunt work of creating all the data you need to light the feature up in your UI.

The Monsters Weekly - Episode 21 - 'Donuts, Donut Holes & Razor Output Caching with Tag Helpers'

In this episode, Dave takes us through caching Razor output using the ASP.NET Core MVC Cache Tag Helper. We look at the different ways you can think about how to break down a page and how it can relate to optimizing your site’s performance.

While not everyone will need the benefit of output caching, any site with multiple web servers running, all accessing the same backend services should likely consider the merits. While other layers and services may provide their own approaches to minimizing resource-intensive lookups, this is just one other tool in the belt to help keep your site snappy.

The Monsters Weekly - Episode 20 - 'Docs and GitHub Repos'

Join us for a quick tour of the Documentation and GitHub repos for ASP.NET Core.

The Monsters Weekly - Episode 19 - 'Building Advanced Tag Helpers'

Back in Episode 7 we looked at creating custom tag helpers in ASP.NET Core MVC. This week, we take a look at a more advanced scenario where a custom tag helper can be used to cleanup our markup and help enforce consistency.