The best VPN 2024

The Best VPS 2024

The Best C# Book

How to make WinForm perform Model validation?

How to make WinForm perform Model validation

How to make WinForm perform Model validation? If you have experience in asp.net mvc development, you will know that we can call ModelState.IsValid to verify the model. This is to verify the legality of the data submitted by the client from a security or business perspective.

C# DbDataReader iterating OracleClob Bug

DbDataReader iterating OracleClob Bug

C# DbDataReader iterating OracleClob Bug, When you use C# to connect to the Oracle database, you may encounter some unexpected errors. I also encountered similar problems in my work. I happened to see that some friends encountered them on stackoverflow. The following content is from this post. DbDataReader iterating OracleClob Bug I wrote an app … Read more

How to Schedule a Batch File in Windows

How to Schedule a Batch File in Windows

How to Schedule a Batch File in Windows? If you’re not automating things, you’re missing out on the point of computers. The real purpose of computers is to do tedious, repetitive things humans don’t want to do anymore.

How to configure windbg on windows and lldb on Linux?

How to automatically add css prefix?

How to configure windbg on windows and lldb on linux? In this post, I will share how to configure windbg on windows and lldb on linux. This is an article from a group of friends who published to webchat in Chinese, so I quoted it.

C# 3 regular expressions match SQL table names

C# 3 regular expressions match SQL table names

There is a small requirement in the project. C# 3 regular expressions match SQL table names. The table name involved in the SQL executed by the data access layer needs to be extracted through C# code, which is used to record some log-related content, because it is an older project. The data access layer is completely written by ado.net, and does not use advanced ORMs such as ef core to assist with persistence.

CPU 100% .NET performance analysis of HIS system

CPU 100% .NET performance analysis of HIS system

CPU 100% .NET performance analysis of HIS system, This is a case of performing performance analysis using the his system developed by .net in a production environment when the CPU is 100%. The post shows how to use windbg to find the performance bottleneck of the .net program. The original source is a post from cnblogs. If you can read Chinese, you can find its link at the bottom of the article.

How to use Kotlin 1.5 new feature Inline classes

How to use Kotlin 1.5 new feature Inline classes

How to use Kotlin 1.5 new feature Inline classes? If you are using Android Studio 4.2.0, IntelliJ IDEA 2020.3 or higher, you will soon receive the Kotlin 1.5 Plugin push. As a major version, 1.5 brings many new features, the most important of which is the inline class.

How ASP.NET Core reads Request.Body

How ASP.NET Core reads Request.Body

If you are a C# developer and apply asp.net core to your project, do you know how ASP.NET Core reads Request.Body? When we use ASP.NET Core to develop projects, we will definitely involve the scene of reading Request.Body, because most POST requests store data in the Http Body. The main thing I use in my daily development is ASP.NET Core, so I often encounter this kind of scene. This post is to share the reading problem of Request.Body.

10+ SQL Server commonly used scripts

10+ SQL Server commonly used scripts

10+ SQL Server commonly used scripts, In the development environment, we can perform arbitrary operations on the database. Once the project is completed and is about to go online, we may perform some deletion operations on the database, such as deleting all stored procedures, all views, backups, restores, etc.