Takayoshi Tanaka
Takayoshi Tanaka is the Software Maintenance Engineer of Red Hat. He is mainly in charge of OpenShift, .NET Core on Red Hat Enterprise Linux and Red Hat solutions on Microsoft Azure. He is a Microsoft MVP for Visual Studio and Development Technologies. He writes many articles in his personal blog and web sites, and also he gives many technical session in community events.
Takayoshi Tanaka's contributions
Writing a Linux daemon in C#
Takayoshi Tanaka
When you want to run .NET Core process as a daemon on Red Hat Enterprise Linux, you can create a custom systemd unit. Today I'll write about two examples of custom systemd unit for .NET Core. The one is a oneshot type for running a .NET Core console application and the other is a simple type for running an ASP.NET Core Web application. Oneshot type with a console application Building an app You can use dotnet run in systemd with...
Welcome to Red Hat Enterprise Linux, MSBuild, a build tool for .NET Core CLI!
Takayoshi Tanaka
Microsoft announced the first "alpha" release of the new MSBuild-based .NET Core tools. .NET Core SDK which can be downloaded from the Red Hat Developer Program site consists of .NET Core Runtime and .NET Core command line tools (.NET Core CLI). (Reminder - you must have a Red Hat Enterprise Linux subscription first. If you don't, you can go here for a no-cost subscription.) The MSBuild tool is included in .NET Core 1.0 preview 3 (not in the latest release...
Getting Started with Microsoft SQL Server on Red Hat Enterprise Linux
Takayoshi Tanaka
Microsoft announced SQL Server on Linux public preview, so now you can try SQL Server on your Red Hat Enterprise Linux server. I'll describe how to start SQL Server on RHEL. Install and connect with CLI on RHEL Microsoft publishes a step-by-step document how to Install SQL Server on Red Hat Enterprise Linux. It's only 7 steps to install and run. # systemctl status mssql-server ● mssql-server.service - Microsoft(R) SQL Server(R) Database Engine Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled)...
Working with OpenShift secrets for ASP.NET Core
Takayoshi Tanaka
If you want to use secret configuration which you don't want to store the code repository during developing ASP.NET Core app, what will you do? ASP.NET Core provides Secret Manager tool. Then how about developing on OpenShift? I'd like to talk about Secret Manager tool and working OpenShift secrets for ASP.NET Core in this blog. Secret Manager tool Let's try to use following the document. At first, make ASP.NET Core web project. Then add Microsoft.Extensions.SecretManager.Tools, Microsoft.Extensions.Configuration.UserSecrets and userSecretsId to the...
P/Invoke in .NET Core on Red Hat Enterprise Linux
Takayoshi Tanaka
P/Invoke(Platform Invocation Service) is one of the features of CLI (Common Language Interface) on .NET Framework. P/Invoke enables managed code to call a native function in DLL (Dynamic Link Library). It's a powerful tool for .NET Framework to execute existing C-style functions easily. .NET Core also has a P/Invoke feature and it means we can call a native function in .so file (Linux) and . file (Max OSX). I will show you the short example P/Invoke in .NET Core on...
It's a wrap! dotnetConf 2016 Japan
Takayoshi Tanaka
If you are not already familiar with it, dotnetConf 2016 was an online event about .NET, and it was announced at this event that .NET Core RTM would be released at 6/27, at Red Hat Summit in San Francisco. There are several .NET meetups called dotnetConf.local, of which dotnetConf 2016 Japan is one such event. I had the pleasure of giving a session about .NET Core on Red Hat Enterprise Linux. This event was held with the cooperation of Japan...
Writing a Linux daemon in C#
Takayoshi Tanaka
When you want to run .NET Core process as a daemon on Red Hat Enterprise Linux, you can create a custom systemd unit. Today I'll write about two examples of custom systemd unit for .NET Core. The one is a oneshot type for running a .NET Core console application and the other is a simple type for running an ASP.NET Core Web application. Oneshot type with a console application Building an app You can use dotnet run in systemd with...
Welcome to Red Hat Enterprise Linux, MSBuild, a build tool for .NET Core CLI!
Takayoshi Tanaka
Microsoft announced the first "alpha" release of the new MSBuild-based .NET Core tools. .NET Core SDK which can be downloaded from the Red Hat Developer Program site consists of .NET Core Runtime and .NET Core command line tools (.NET Core CLI). (Reminder - you must have a Red Hat Enterprise Linux subscription first. If you don't, you can go here for a no-cost subscription.) The MSBuild tool is included in .NET Core 1.0 preview 3 (not in the latest release...
Getting Started with Microsoft SQL Server on Red Hat Enterprise Linux
Takayoshi Tanaka
Microsoft announced SQL Server on Linux public preview, so now you can try SQL Server on your Red Hat Enterprise Linux server. I'll describe how to start SQL Server on RHEL. Install and connect with CLI on RHEL Microsoft publishes a step-by-step document how to Install SQL Server on Red Hat Enterprise Linux. It's only 7 steps to install and run. # systemctl status mssql-server ● mssql-server.service - Microsoft(R) SQL Server(R) Database Engine Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled)...
Working with OpenShift secrets for ASP.NET Core
Takayoshi Tanaka
If you want to use secret configuration which you don't want to store the code repository during developing ASP.NET Core app, what will you do? ASP.NET Core provides Secret Manager tool. Then how about developing on OpenShift? I'd like to talk about Secret Manager tool and working OpenShift secrets for ASP.NET Core in this blog. Secret Manager tool Let's try to use following the document. At first, make ASP.NET Core web project. Then add Microsoft.Extensions.SecretManager.Tools, Microsoft.Extensions.Configuration.UserSecrets and userSecretsId to the...
P/Invoke in .NET Core on Red Hat Enterprise Linux
Takayoshi Tanaka
P/Invoke(Platform Invocation Service) is one of the features of CLI (Common Language Interface) on .NET Framework. P/Invoke enables managed code to call a native function in DLL (Dynamic Link Library). It's a powerful tool for .NET Framework to execute existing C-style functions easily. .NET Core also has a P/Invoke feature and it means we can call a native function in .so file (Linux) and . file (Max OSX). I will show you the short example P/Invoke in .NET Core on...
It's a wrap! dotnetConf 2016 Japan
Takayoshi Tanaka
If you are not already familiar with it, dotnetConf 2016 was an online event about .NET, and it was announced at this event that .NET Core RTM would be released at 6/27, at Red Hat Summit in San Francisco. There are several .NET meetups called dotnetConf.local, of which dotnetConf 2016 Japan is one such event. I had the pleasure of giving a session about .NET Core on Red Hat Enterprise Linux. This event was held with the cooperation of Japan...