archive: Configuration

User Secrets Header Image

User Secrets – What Are They And Why Do I Need Them?

Jamie Taylor5 comments

Committing passwords, api keys and connection strings to open source projects can be incredibly dangerous. Even once they've been removed from the repo they can still be found in the commit history. The .NET Core boffins have come up with a technique called User Secrets, which is meant to help alleviate this. What are they and how do they work? In this post, we'll find out.

continue reading
ASP.NET Core 2.0 Configuration and RazorPages Header Image

ASP.NET Core 2.0 Configuration and Razor Pages

Jamie Taylor3 comments

At Build 2017, there were a lot of new features announced for ASP.NET Core 2.0, .NET Core 2.0 and .NET Standard 2.0. In this week's blog post, we're going to look at a few of the changes, specifically: the new configuration model and Razor Pages. I'll even cover a bug that was found in Razor Pages. Remember a preview build isn't necessarily ready for production

continue reading