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 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.

In this LIVE RECORDED video, Monster James has a look at the user-secret command and walks through using the command line as well as the tooling built into Visual Studio.

Here’s some other, related links:

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 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.

GenFu is an open source library (created by the Monsters!) that allows you to save hours of work when you’re asked to create lists of data to support a test or prototype. When you build out a user experience it’s often better to have data that looks realistic, which is old-hat for GenFu. Need 10,000 rows of data in your DB? Yeah, it can help you do that, too.

Be sure to check out our follow-up episode when we dive into even more advanced use cases.

Check out GenFu:

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 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.