C core creates the first API project
1. Install VS 2019, SQL Server 2019 (Optional)
2. Open VS and select new ASP.NET Core Web Application project
3. Fill in project name, solution name, modify storage path, etc.
4. Select the version of. NET Core. By default, we select 3.1 and API.
This is the default directory structure after ...
Posted by toysrfive on Thu, 12 Mar 2020 03:59:10 -0700
The fastest building steps in the history of ssm
Details of SSM development process
SSM execution flow chart:
Step 1: create database, create table statement, use mysql database, Navicat for MySQL visual database management tool.
Step 2: create Maven web project structure and use IDEA development tools for development.
Step 3: create a project direc ...
Posted by AbeFroman on Thu, 12 Mar 2020 01:57:45 -0700
[JaveEE learning paste 1] Based on Mysql, Servlet and JSP, write student's homework management system (including login interface)
The full code has been uploaded to Github: https://github.com/Shadow1300/JavaEE
It will also be listed at the end of the article.
1, First of all, understand the operation requirements
We first need to analyze the requirements:1) Users: teachers and students2) Functions: add homework, add students, q ...
Posted by garethj on Thu, 12 Mar 2020 00:32:47 -0700
The general interface of psr/log log database
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
composer require psr/log
Log interface specification
In this paper, the general interface specification of log class library is established.
The main purpose of this specification is to make the log class library record log information by receiving a Ps ...
Posted by mark_18 on Wed, 11 Mar 2020 23:05:21 -0700
express learning notes (generate project, route, route handler, use mysql, ejs template)
Generation project
Sir, a package.json
cnpm init
Node? Modules folder, which contains the modules provided by node.js
cnpm install
Install Express scaffolding
cnpm i express-generator
Install express
**cnpm install express --save**
Create an Express application named myapp, use ejs template engine ...
Posted by mrwutang on Wed, 11 Mar 2020 22:31:25 -0700
[python] context manager
What is context manager
In short, the purpose of the context manager is to specify the scope of use of the object. If it is out of the scope, take the corresponding "processing"; for example:
f = open('filename.txt')
data = f.read()
f.close()
Open a file, read the contents of the file, a ...
Posted by quimkaos on Wed, 11 Mar 2020 00:16:17 -0700
Spring boot graphic tutorial 14 - Alibaba open source EasyExcel "design for reading and writing millions of data"
If there is the concept of flying in the sky, there must be the realization of landing
Ten times of concept is not as good as one time of code. Friend, I hope you can type all the code cases in this article
Praise before you see, form a habit
Spring boot text tutorial series article directory
...
Posted by xmrcivicboix on Tue, 10 Mar 2020 23:29:50 -0700
Truncate all tables in MySQL database with one command?
Is there a query (command) that truncates all tables in the database in one operation? I wonder if this can be done through a query.
#1 building
I found that even after NOCHECK CONSTRAINT ALL, TRUNCATE TABLE.. still has a foreign key constraint problem, so I used the DELETE FROM statement instead. This does mean that the identity seed wi ...
Posted by scottlowe on Tue, 10 Mar 2020 05:08:01 -0700
Java multithreading: understand thread pool thoroughly
Advantages of thread pool
In general, thread pool has the following advantages:
(1) Reduce resource consumption. Reduce the cost of thread creation and destruction by reusing the created threads.
(2) Improve response speed. When a task arrives, it can be executed without waiting for the thread to be c ...
Posted by blackandwhite on Tue, 10 Mar 2020 04:08:25 -0700
Source Code Resolution Quartz Distributed Cluster Implementation
1. Introduction
Previous articles have provided a preliminary introduction to the use of quartz quartz-2.2.3 Source Code Analysis and Integration of Quartz and Spring In this article, the Quartz distributed cluster implementation is analyzed from the source code perspective.
2. Quartz Cluster ...
Posted by Vorotaev on Mon, 09 Mar 2020 17:27:13 -0700