Silver Light and Blue Sky

C# and Infrastructure. Code is everything.

Entries from 2016-01-01 to 1 year

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…

P/Invoke in .NET Core on Red Hat Enterprise Linux

This post was originally published on Red Hat Developers, the community to learn, code, and share faster. To read the original post, click here. P/Invoke(Platform Invocation Service) is one of the features of CLI (Common Language Interface…

Azure PowerShell preview on Linux

PowerShell is now open sourced and can run on Linux. blogs.msdn.microsoft.com Azure PowerShell depends on full .NET Framework, so it can't run on Linux now. github.com However, preview version for .NET Core is released and I tried it.

How to queue and cancel build from C# code with VSTS Nuget library

Overview Visual Studio Team Services has an API, so we can queue and cancel build via API. Visual Studio Team Services and Team Foundation Server REST API Reference Here is an API about the build. Builds | REST API Reference for Visual Stu…