当前位置:网站首页>C# .Net Core and Net5 Skills record
C# .Net Core and Net5 Skills record
2022-07-13 18:07:00 【笨笨D幸福】
用来记录使用C#时,一些在意料外的问题修复办法。
Net Framework, Net Core, Net 6关系
- Net FrameWork 目前到4.8就停止维护了,后续也没有了。建议换到Net Core.
- Net Core 目前 3.0,3.1(LTS),可以跨平台使用,单文件发布,IDE支持到VS2019. 但是后续也没有了。
- Net 5, Net 6 是 Net Core和Framework的后续,继承Net Core的优势,推荐IDE VS2022.
如果没有特殊需求,推荐 Net6 + VS2022, 或者 Net Core 3.1+VS2019.
Net 最新维护列表: https://dotnet.microsoft.com/zh-cn/download/dotnet
Net Core 不支持日文编码
因为net core对语言的支持不是很好,默认不引入其他语言的编码,所以使用时,需要手动加载。
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); // add when using net core
using (var fs = new System.IO.StreamReader(path, Encoding.GetEncoding("Shift-JIS")))
边栏推荐
- Detailed explanation of sliding window
- Unittest one stop learning
- "Why do you want to resign, Tencent, which broke its head?"
- RAID disk array
- VLAN和Trunnk
- VLAN and trunnk
- 全排列next_permutation()函数
- The workplace crisis of the tester is 35 years old? No, but the middle-aged was laid off!
- Seckill activity development
- Principle and configuration of static routing
猜你喜欢

Why is it said that the testing post is a giant pit? The 10-year-old tester told you not to be fooled~

Redis只能做缓存?太out了!

Layer 3 switching and VRRP

IDEA 注释模板,这样配置才够逼格!

help one another in defense work

The experience of finding a job after coming out of the software testing training class taught me these five things

Code quality inspection based on sonarqube

Druid database connection pool monitoring page

socket详解

Are you still using the strategy mode to solve if else? Map+ functional interface method is yyds
随机推荐
Dynamic open point segment tree
Attack and defense World Web
还在用策略模式解决 if-else?Map+函数式接口方法才是YYDS
Use redis' sorted set to make weekly hot reviews
NAT与PAT原理以及配置
This should be the most complete software test interview question in the whole network [quick look]~
边缘计算 KubeEdge+EdgeMash
It is said that the salary of software testing is high, so how can the monthly salary of software testing exceed 10K
Byte test director stayed up for 10 days, and the test post interview script came out of the liver, giving you wings to your big factory dream~
A man with an annual salary of 35W was dismissed from the test, and his words were thought-provoking
LVM and disk quota
As an interviewer for the test development post, how do I choose people?
Concurrent simulation of program ape's exclusive "pressure test tool"
Redis can only cache? Too out!
TCP协议详解
Why is it said that the testing post is a giant pit? The 10-year-old tester told you not to be fooled~
将一个数分解成多个加数相加的形式
Pytest series-01-installation and introduction
How to self-study software testing? [super comprehensive analysis from 0 to 1] (with learning notes)
Are you still using the strategy mode to solve if else? Map+ functional interface method is yyds