OR An unhandled exception occurred while processing the request. InvalidOperationException: Invalid non-ASCII or control character in header: 0x60A8
An unhandled exception occurred while processing the request. InvalidOperationException: Invalid non-ASCII or control character in header: 0x60A8 Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpHeaders.ThrowInvalidHeaderCharacter(char ch) InvalidOperationE ...
1k+ 1378 reads
Generally speaking, GET is to obtain data, and POST is to submit data. But because GET and POST are both HTTP methods, HTTP is a TCP/IP-based protocol on how data communicates on the World Wide Web. So in essence, there is no difference between GET and POST requests. They are all TCP connections. What they can do is the same. Now that the HTTP protocol has these two methods, it is to ...
Let me first try to explain the background C# code: This is a typical rewritten method. Its initial version should look like this: Why does the rewritten code become so complicated? Because it not only has a paging function, it also comes with a search function. Every time ...
2k+ 2101 reads
How to set up mysql scheduled task First, check the switch: SHOW VARIABLES LIKE 'event_scheduler' If it's off: SET GLOBAL event_scheduler = ON; Second, create a stored procedure: CREATE PROCEDURE update_test() UPDATE test set num=num+1 where ...
OR How does native JS get the number of child elements that the current element belongs to the parent element
I will tell you where this thing is applied. Basically every mobile game will have a star system. Especially those card games. I want to show you an example of Princess Connect: Re Dive. You know, if you have played this game, the number of stars of the character is very important ...
At the same time, please pay attention to turn off the firewall in the LAN. Of course, you can also add some LAN port rules, but this is not what I will teach in this tutorial. The reason why I want to write this tutorial is that I want to actually visit the project I just finished with ...
How to express love with animation tone. I want to use all the sentences expressing love in the anime I have seen to form a paragraph. And the reason why I wrote this is because I saw a picture on the forum before. [Image] Yes.It's all written in Chinese, but I tried to convert it ...
OR [SOLVED] The EF Core tools version '3.1.5' is older than that of the runtime '3.1.9'. Update the tools for the latest features and bug fixes.
The EF Core tools version '3.1.5' is older than that of the runtime '3.1.9'. Update the tools for the latest features and bug fixes. Solution: the EF core tools version needs to be updated please executed this in CMD： dotnet tool update -g dotnet-ef ...
1k+ 1131 reads
This is a tonal rotation filter Assuming your original picture is yellow, this code will make your yellow picture purple. The complete code is style="filter: hue-rotate(270deg);" You can use star.png as a test. I have given the picture here, you will understand if you try to do it. ...
It's been a long time since I've been using stupid methods like one-dimensional arrays. C# has always provided some very useful tips. This blog will tell you a very common way to get a list of characters composed of commas and strings. ...
1. 安装EF Core连接MySQL的驱动，这里有两类： (1).Oracle官方出品：MySql.Data.EntityFrameworkCore (版本：8.0.17) (2).其他第三方出品：Pomelo.EntityFrameworkCore.MySql (版本：2.2.0) 8.0.11版本的官方包，大概会抛出这个错误： The 'MySQLNumberTypeMapping ...
新建一个同名的mysql数据库，这里为了演示取名为test。 基字符集是你默认安装的系统的字符集，我们这里默认使用utf-8，防止乱码。 不过话说回来，如果不清楚default是什么的话，建议执行一下语句： SHOW VARIABLES LIKE 'character%'; SHOW VARIABLES LIKE 'collation_%'; 第二条语句将告诉你，默认连接、默认数据库使用基础字符集。 右击数据库，导入，导入外部数据 ...
1k+ 1107 reads