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.

JHRS wpf framework to create directory file principles

JHRS wpf framework to create directory file principles

JHRS wpf framework to create directory file principles, JHRS development framework team projects follow some directory document principles and suggestions. This series of articles aims to record the use of WPF in the development of new medical projects.

How to create WPF user control

How to create WPF user control

How to create WPF user control? Following the previous article, I introduced how to encapsulate the base class of ViewModel , but as the project gets bigger, it is really tiring to do one function point by one function point.

How to use bat file clone projects in batch?

How to use bat file clone projects in batch

How to use bat file clone projects in batch? Team development uses Team Foundation for source code management. Usually, for large projects, writing a BAT batch clone project is very convenient for pulling the project for the first time.

How to install Kafka as windows service?

How to install Kafka as windows service?

How to install Kafka as windows service? The official website project uses kafka and zookeeper. It was originally started through the command line. The risk is that other people on the server may shut down the command line cmd for you at any time or accidentally, so that kafka and zookeeper will die.