Open in app

Sign In

Write

Sign In

Tsuyoshi Ushio
Tsuyoshi Ushio

906 Followers

Home

About

Jan 12

Distributed System Logging Best Practices (1) — Overview

I wanted to know the best practices how for writing logs. However, I can’t find the best practices for it. It might not be mature, however, I started writing the best practices by myself. Any feedback is welcome. This Blog post consists of three parts. Overview How to write logs? …

3 min read

Distributed System Logging Best Practices (1) — Overview
Distributed System Logging Best Practices (1) — Overview

3 min read


Jan 12

Distributed System Logging Best Practices (3) — Automation

We use logging for automation. That saves a bunch of time especially if your team is working as DevOps model. Good logging practices help you to automate several things.

3 min read

Distributed System Logging Best Practices (3) — Automation
Distributed System Logging Best Practices (3) — Automation

3 min read


Jan 12

Distributed System Logging Best Practices (2) — How to write logs?

Described the importance of logging on to the previous post. This article shows the best practices for logging messages. AI observes several repositories and extracts the pattern I frequently see. Any feedback is welcome. How to design log messages? Before moving on to the best practices, how can we design the log message? …

7 min read

Distributed System Logging Best Practices (2) — How to write logs?
Distributed System Logging Best Practices (2) — How to write logs?

7 min read


Dec 22, 2022

How to solve sluggish Win11 issue when you RDP into it

When I RDP into my machine, after upgrading to Win11, the first-time login was fine but second time, it gets sluggish. It was fixed by reboot, so it was very annoying. Fortunately, I found the solution in my case, I’d like to share how to do it. Symptom RDP into a…

Windows 11

2 min read

How to solve sluggish Win11 issue when you RDP into it
How to solve sluggish Win11 issue when you RDP into it
Windows 11

2 min read


Oct 3, 2022

Writing a function with Action in PowerShell

I wanted to write a function that has an action parameter. The goal is to write functions that have the following features: Implement a dry-run feature Print the command with resolved variables For example, Run({echo "hello $some"}); Result some = “world” [Command] echo "hello world" hello world If you configure…

Powershell

2 min read

Powershell

2 min read


Jul 4, 2022

Understand Advanced AssemblyLoadContext with C#

I shared the fundamental of AssemblyLoadContext usage with the following Post. I’d like to plugin loading advanced. usages. Understanding Dynamic Assembly Loading with AssemblyLoadContext in C# | by Tsuyoshi Ushio | Jul, 2022 | Medium Loading the different version’s library at the same time Loading application as a plugin is an excellent feature. We can develop a framework that…

C Sharp Programming

5 min read

Understand Advanced AssemblyLoadContext with C#
Understand Advanced AssemblyLoadContext with C#
C Sharp Programming

5 min read


Jul 4, 2022

Understanding Dynamic Assembly Loading with AssemblyLoadContext in C#

I encountered an issue that .NET Framework app reading a plugin in runtime. One person uses Library A, and the other uses Library B. Both tests work. However, after merged the two Pull Requests, it works on visual studio, however, not in test environment. The libraries they introduce use the…

C Sharp Programming

4 min read

Understanding Dynamic Assembly Loading with AssemblyLoadContext in C#
Understanding Dynamic Assembly Loading with AssemblyLoadContext in C#
C Sharp Programming

4 min read


Jan 3, 2022

Option patterns with custom configuration provider in .NET

How to develop reloadable provider for Option Patterns — I was wondering how to write a custom configuration provider with IOptionsMonitor<T> that means, some value will be loaded after a DI configuration finished. I had following questions. How to write a custom configuration provider? How can we reload the configuration value using IOptionsMonitor<T>? How to create an entry that…

Option Pattern

6 min read

Option patterns with custom configuration provider in .NET
Option patterns with custom configuration provider in .NET
Option Pattern

6 min read


Aug 7, 2021

How to get an opportunity of an innovative project from scratch?

Many people working on add feature/improvement on legacy code. Not many people working on designing from scratch and write code for brand new system. I was wondering how can we get the opportunity of the second one. I have a great mentor (and my hero) Chris Gillum. He is the…

Programming

3 min read

How to get an opportunity of an innovative project from scratch?
How to get an opportunity of an innovative project from scratch?
Programming

3 min read


Mar 5, 2021

How to prevent PowerShell from prompting on Mandatory parameter on CI

When we use the mandatory parameter with PowerShell, it prompts. I’m considering using the script on the Continuous integration, so that I don’t want it. ParamSpike.ps1 param( [Parameter(Mandatory=$true, HelpMessage="Number of the Stage. e.g. 0")] [int] $stage ) Write-Host $stage Execute it > mv .\ParamPike.ps1 .\ParamSpike.ps1 PS C:\Users\tsushi\Code\PowerShell> .\ParamSpike.ps1 cmdlet ParamSpike.ps1 at command…

Powershell

1 min read

How to prevent PowerShell from prompting on Mandatory parameter on CI
How to prevent PowerShell from prompting on Mandatory parameter on CI
Powershell

1 min read

Tsuyoshi Ushio

Tsuyoshi Ushio

906 Followers

Senior Software Engineer — Microsoft

Following
  • Juan Alberto España Garcia

    Juan Alberto España Garcia

  • toshihiro ichitani

    toshihiro ichitani

  • Taiji

    Taiji

  • hihihiroro

    hihihiroro

  • Hirono Jumpei

    Hirono Jumpei

See all (201)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams