最早在初学C#的时候有接触过一点点GitVersion,但它的Configuration过于繁杂,当时对C#也不是很了解,尤其是对Assembly,文件结构,构建,编译项目相关内容。所以看过Demo也就忘了。这次参考相关文章和官网的文档进行尝试。

工具和环境

  • IDE: Visual Studio 2022
  • .NET Runtime: .Net 8
  • GitVersion: gitversion.tool 6.0.0-rc.1
Read more »

Introduction

Time-based One-time Password (TOTP), standardized under RFC 6238 is a crucial component in the realm of online security, serving as a cornerstone for the Initiative for Open Authentication (OATH). TOTP is widely employed in various two-factor authentication (2FA) systems, providing an additional layer of protection beyond traditional password mechanisms. This article delves into the TOTP algorithm, explaining its foundations and highlighting key implementation aspects.

Read more »

  • Environment

    • Currently using Windows 11.
    • Visual Studio 2022 Community is installed.
    • Git is also installed.

While following the steps from Microsoft to initialize a local git repository and push to a newly created git repository on GitHub using Visual Studio, some issues were encountered:

Read more »

What is WebView2

Check out the introduction of WebView2

Supported Programming Environments

According to the introduction, WebView2 is supported in the following programming environments:

  • Win32 C/C++
  • .NET Framework 4.5 or later
  • .NET Core 3.1 or later
  • .NET 5
  • .NET 6
  • WinUI 2.0
  • WinUI 3.0
Read more »

In my latest project, I encountered a puzzling issue while deploying a .NET 8 application to Azure App Service. Despite working flawlessly on Windows, the application failed when deployed to the Azure App Service for Linux. This post details the steps I took to diagnose and resolve the problem, offering insights that might help others facing similar challenges.

Read more »
0%