Subscribed unsubscribe Subscribe Subscribe

Silver Light and Blue Sky

C# and Infrastructure. Code is everything.

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…

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…

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…

3 issues for using PSCmdlet binary module

I use PSCmdlet binary module code with C# in order to automate operation on Windows Server. Development with C# and execution speed are the pros for me. However there are issues I can't ignore. I will describe these issue and I wish PSCmdl…

Released OpenForPSCmdlet VS extension v1.1

OpenForPSCmdlet helps debugging your Cmdlet binary module writing C# or VB. OpenForPSCmdlet extensionvisualstudiogallery.msdn.microsoft.com After install this VS extension, you can right click "Open for PSCmdlet" in your Cmdlet class. Then…

Execute MSDeploy from C# program code like an API

I'm now working on constructing build & deploy ASP.NET applications to several IIS Web servers. I use MSBuild and MSDeploy commands. To be specific, making a zip package of ASP.NET application on CI server and deploy it to Web servers. A z…

How to show AWS RDS metrics on NewRelic using C#

I'd like to introduce how to show AWS RDS metrics on NewRelic using C#. There is an Amazon RDS Plugin devloped by Ruby, but I have developed by C# because I want to customize components. Here is a chat of this plugin. This plugin can show …