Blog Posts for: dotnet core

Use Polly fallback policies for default return values
28 June 2019

Fallback policies in Polly allow you to provide a substitute value in the event of a failure. This is useful in situations you don't want failure to throw an exception, but instead return a default value.

Determine available runtimes on Azure App Service
12 April 2019

Demonstrates how to determine the available .NET Core and Node runtimes on Azure App Service

Updating your .NET project dependencies with Dependabot
12 September 2018

Dependabot is a service that will automatically create pull requests to update outdated dependencies in your .NET projects.

Refresh a Google Access Token with Polly
24 July 2018

Google access tokens are short-lived, but you can configure a Polly policy to refresh the access token when expired.

Store a Dictionary as a JSON string using EF Core 2.1
21 July 2018

Demonstrates how you can store the contents of a Dictionary property as a JSON document in your database when using EF Core 2.1

Analyzing .NET Core project dependencies: Finding transitive dependencies
26 June 2018

Demonstrate how to use the .NET Core CLI to find transitive dependencies for any .NET Core project.

Analyzing .NET Core project dependencies: Finding Package References
20 June 2018

Demonstrate how to use the .NET Core CLI to analyze dependencies for any .NET Core project.

Disposing of services when using Dependency Injection with .NET Core console apps
19 June 2018

Look at how you can ensure that services are disposed of when using dependency injection with .NET Core Console applications.

Using version ranges for package dependencies in .NET project files
25 May 2018

When adding package references in your projects files, you are not limited to specifying a specific version. You can specify a version range instead.

Determine the ConsoleColor from a 24 bit hexadecimal color code
17 April 2018

The .NET Console is limited to 16 colors. Learn how you can convert a hexadecimal color code to one of the 16 colors available in the console.

Older Posts