Silver Light and Blue Sky

C# and Infrastructure. Code is everything.

ASP.NET Core

Running a NuGet server on OpenShift

This post was originally published on Red Hat Developers, the community to learn, code, and share faster. To read the original post, click here. When you build your .NET Core project, NuGet packages are retrieved from nuget.org by default.…

Thank you for hearing my presentation at London OpenShift meetup

Today I have a chance to make a presentation at London OpenShift meetup. I have been in England with my family on vacation. www.meetup.com Here is my slide. Deep Dive OpenShitt on Azure & .NET Core on OpenShift from Takayoshi Tanaka www.sl…

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…