How to add and remove security-related HTTP response headers for HTML pages and API endpoints, for .NET web applications hosted in IIS.
BlogAll • .NET (1) • C# (5) • Entity Framework (2) • IdentityServer3 (1) • IIS (1) • Json.NET (1) • LINQ (1) • MVC (2) • OpenID Connect (2) • OWIN (2) • TopShelf (1)
How to simply serialize and deserialize an interface with several possible concrete implementations using Json.NET
What looks like a C# collection initializer without a "new" keyword, is in fact a collection appender.
How to set the EnableServiceRecovery options of a console application running as a Windows Service using TopShelf.
A simple C# algorithm that takes a sequence of characters and returns every possible combination of those characters.