.NET Framework 4.8 console application in C# accesses the established database through EF

Table of Contents 1. Create a .NET Framework 4.8 console application 2. Establish a database 1. Establish database Blogging in SSMS 2. Create a new database connection on VS 3. Install the EF package 4. Automatically generate EF models and contexts 1.Blog.cs class model 2. Model of Post.cs class 3.BloggingContext.cs database context 5. Write an […]

Develop a modern .NetCore console program, including dependency injection/configuration/logging and other elements

1Foreword There are a lot of scenarios where gadgets need to be developed recently. Last time I developed a hive export tool using the go language. The experience was pretty good, but I really don’t like the syntax of the go language. This time I will try to use C# to develop gadgets. The function […]

Vue project code prevents debugging – open the console and jump directly to a blank page

Vue project code prevents debugging – open the console and jump directly to a blank page After the front-end code is online, the code will be exposed, or the interface will be exposed, and interested people will study the code logic and find project bugs and loopholes! Project background I was targeted by the security […]

Minesweeper – including blank expansion, marking function, game interface optimization – fully reproduced on the console

Table of Contents introduce Ideas Involving header file index main function Branch function function implementation Sum of codes—CV can be played Introduction I accidentally played the game Minesweeper in the past two days. I played Minesweeper owned by Microsoft. I feel that it is much better than the simple interface before. I feel that minesweeper […]

c# Datatable (2) console, Excel reading and output

1. Console output Code #region output DataTable public static void print_DT(DataTable dt) {<!– –> if (dt.Rows.Count > 0) {<!– –> //Print all column names string columnName = string.Empty; //Print short lines string line_str=””,line = “-“; int long_number = 40;//Fixed length of each column //Print column names and dashes for (int i = 0; i < […]

A brief analysis of how Ctrl+C in the C# console works

One: Background 1. Tell stories In the last article, we talked about why the Console is stuck. Friends who have read that article believe that they have a general understanding of conhost.exe. This article goes further and talks about the special events of the window Ctrl + C What is the underlying flow like? To […]

Performance testing – Tomcat monitoring and tuning: Jconsole monitoring

JConsole’s graphical user interface is a monitoring tool that complies with the Java Management Extensions (JMX) specification. JConsole uses the Java Virtual Machine (Java VM) to provide performance and resource consumption information for applications running on the Java platform. In Java Platform, Standard Edition (Java SE Platform) 6, JConsole has been updated to the current […]

A brief analysis of why the C# Console console gets stuck

One: Background 1. Tell stories During the analysis journey, there will always be a few production accidents caused by the unexpected stuck of the console. Friends with experience know that the stuck console is usually caused by moving the Quick Edit Window, screenshot as follows: Although I know the reason, I have never had time […]

A brief analysis of why the C# Console console gets stuck

One: Background 1. Tell stories During the analysis journey, there will always be a few production accidents caused by the unexpected stuck of the console. Friends with experience know that the stuck console is usually caused by moving the Quick Edit Window, screenshot as follows: Although I know the reason, I have never had time […]