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.

Do you know these CSS gradient art?

Do you know these CSS gradient art?

In this post, I will introduce some knowledge about CSS gradient art, using some very small units, and only a few lines of code can produce a wonderful and interesting background effect~

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.

How to use zookeeper commands

How to use zookeeper commands

How to use zookeeper commands? After preparing the corresponding configuration, you can directly use the zkServer.sh script to perform service-related operations, such as starting the zookeeper service, viewing the zookeeper service status, stopping the zookeeper service, and restarting the zookeeper service.

2021 C# Exception Handling Best Practices

C# Exception Handling Best Practices

C# Exception Handling Best Practices, Regarding the basic grammar and function of exceptions, I won’t repeat them here. Let me record some thoughts about Exceptions in the project.