Subscribed unsubscribe Subscribe Subscribe

Silver Light and Blue Sky

C# and Infrastructure. Code is everything.

resource file naming in ASP.NET Core localization

While I'm reading the document, I found difficulty in resource file naming. Globalization and localization | Microsoft Docs To summarize first: "name" property of the project.json uses as the assembly name of the .NET Core project. The top…

Static file authorization in ASP.NET Core MVC

When we want to serve static file ins ASP.NET Core, we should have to read this document. Working with Static Files | Microsoft Docs Let's imagine serving some static protected files with authorization. These files are only accessible by a…

Configure IDistributedCache and IDataProtection for session in ASP.NET Core

Background This blog describes two things. How to store session data out of the ASP.NET Core process How to separate the life cycle of session data from that of ASP.NET Core process and host In the background, ASP.NET Core app can run as a…

Update OpenShift ASP.NET Core s2i to .NET Core 1.1 Preview1

OpenShift provides ASP.NET Core s2i image. GitHub - openshift-s2i/s2i-aspnet: Source-to-Image template for ASP.NET applications GitHub - openshift-s2i/s2i-aspnet-example: Example projects for the ASP.NET builder image Now .NET Core 1.1 Pre…