The Monsters Weekly - Episode 110 - Live Unit Testing

The new live unit testing capabilities of Visual Studio 2017 are a real timesaver. In this video, we take a poke around at them.

Authorize Tag Helper for ASP.NET Core

In ASP.NET Core, it's easy to control access to Controllers and Action Methods using the Authorize attribute. This attribute provides a simple way to ensure only authorized users are able to access certain parts of your application. While the Authorize attribute makes it easy to control authorization for an entire page, the mechanism for controlling access to a section of a page is a little clumsy. In this blog post, we build a Tag Helper that makes it incredibly easy to control access to any block HTML in a Razor view.

The Monsters Weekly - Episode 109 - DbContext Pooling in Entity Framework Core 2.0

Entity Framework Core 2 was released recently. In today's episode we explore a new feature called DbContext Pooling. See how enabling DbContext Pooling might magically make your ASP.NET Core application faster!

Related Links:
GitHub Repo - https://github.com/AspNetMonsters/EP109-EFDbContextPooling
Netling Load Testing Tool - https://github.com/hallatore/Netling
.NET Conf Video - What's new in EF Core 2.0 - https://channel9.msdn.com/Events/dotnetConf/2017/T221

                 (Section on DbContext Pooling starts at 10:55s)

 

The Monsters Weekly - Episode 108 - Using the LIKE operator in Entity Framework Core 2.0

Entity Framework Core 2 was released recently. In today's episode we explore a new feature that allows us to specify the SQL Server LIKE operator when querying for entities.

Related Links:
GitHub Repo - https://github.com/AspNetMonsters/EP108-EFLikeOperator

The Monsters Weekly - Episode 107 - Azure Key Vault

In this episode we take a look at how to retrieve secrets from Azure Key Vault for use in your ASP.NET Core application

The Monsters Weekly - Episode 106 - Global Query Filters in Entity Framework Core 2.0

Entity Framework Core 2 was released recently. In today's episode we explore a new feature called Global Query Filters. See how query filters can be applied globally to easily support features such as soft delete and even multi-tenancy.

Episode Sponsor:
AppVeyor - Continuous Delivery Services for Windows Developers

Related Links:
Code from the show on GiHub

 

The Monsters Weekly - Episode 105 - SQL Injection attacks in Entity Framework Core 2.0

Entity Framework Core 2 was released recently. In today's episode we explore a new feature which automatically paramaterizes SQL Queries when the FromSql method is used with an interpolated string. Monster Dave shows us exactly why parametrized queries are so important when querying using raw sql.

Episode Sponsor:
AppVeyor - Continuous Delivery Services for Windows Developers

 

Related Links:
EF Core Injection Samples by Nick Craver
FormattableString - MSDN

 

The Monsters Weekly - Episode 104 - Deploy Virtual Applications in Azure App Service

Did you know that you can deploy multiple applications to a single Web App in Azure App Service? In today's episode, Dave explores this virtually unknown feature of Virtual Applications in Azure App Service. Learn how to create a virtual application and how to deploy your ASP.NET Core application to that virtual application. 

Episode Sponsor:
AppVeyor - Continuous Delivery Services for Windows Developers

The Monsters Weekly - Episode 103 - Setting Version Numbers on a Build Server

Setting assembly and product version numbers as part of your build process is easier now in .NET Core. In this episode, Dave shows us how to specify version numbers for .NET core assemblies and NuGet packages using command line parameters and how easily that can be integrated into build systems like AppVeyor.

Episode Sponsor:
AppVeyor - Continuous Deliver Services for Windows Developers

 

Previous Episodes:
Hosted ASP.NET Core Builds with AppVeyor
Continuous Deployment with AppVeyor
Deploying a NuGet package with AppVeyor

Related Content:
AppVeyor Docs - Environment Variables

 

The Monsters Weekly - Episode 102 - Structured Logging with Application Insights

In this episode, we'll explore how to hook up Application Insights to your ASP.NET Core application using the really excellent Serilog.

 

Serilog - structured logging for .NET

Seq - structured log searching

Application Insights Serilog sink

Serilog connector for .NET Core Logging