摘要:
原文链接:https://zhuanlan.zhihu.com/p/657458522 缓存指在中间层中存储数据的行为,该行为可使后续数据检索更快。 从概念上讲,缓存是一种性能优化策略和设计考虑因素。 缓存可以显著提高应用性能,方法是提高不常更改(或检索成本高)的数据的就绪性 既然缓存是是一种性能优 阅读全文
摘要:
原文链接:https://blog.csdn.net/dabusidede/article/details/124858045 内存缓存包: Microsoft.Extensions.Caching.Memory 1.注册内存缓存 services.AddMemoryCache(); 2.基本使用示 阅读全文
摘要:
原文链接:https://www.cnblogs.com/xiongze520/p/14500156.html 今天在项目上遇到一个坑, 在.Net Core中通过ajax向mvc的controller传递对象时,控制器(controller)的方法一直没有进去,百思不得其解, 后面把传递的参数打印 阅读全文
摘要:
原文链接:https://blog.csdn.net/zls365365/article/details/124162096 前言 以前.NetCore是不内置JSON库的,所以大家都用Newtonsoft的JSON库,而且也确实挺好用的,不过既然官方出了标准库,那更方便更值得我们多用用,至少不用每 阅读全文
摘要:
原文链接:https://blog.csdn.net/He_lh/article/details/110522231 在 .Net Core3.1 Web的视图获取从后台传来的数据的时候,默认使用的是 UnicodeRanges.BasicLatin进行的编码,所以在前台显示中文,而在查看源码的时候 阅读全文