随笔分类 - C#
关于C#语言
摘要:类库项目无法引用Microsoft.AspNetCore程序集下的类库 在类库项目中不能直接引用WebApplicationBuilder、ApplicationBuilder等类,这些类位于Microsoft.ASPNetCore程序集中,但是无法通过Nuget包引用,因为该Nuget包的版本已经
阅读全文
摘要:【docker操作mongo的基本知识】https://blog.csdn.net/mmd0308/article/details/132618707https://blog.csdn.net/bull521/article/details/90642883【docker的常用操作】https://
阅读全文
摘要:(1)对应下层: 首先记录异常日志(或debug状态下激活调试光标,可以查看ex),然后向上throw (2)对于最上层:首先要记录日志(或debug状态下激活调试光标,可以查看ex),然后 呈现 或 输出 “异常 或 错误消息” (3)在未捕获异常事件中,要做到处理,放置崩溃 (4)在非托管代码中
阅读全文
摘要:https://www.cnblogs.com/CSharpLover/p/5193700.html
阅读全文
摘要:出于方法重载的目的,方法的返回类型不是方法签名的一部分。 但是在确定委托和它所指向的方法之间的兼容性时,它是方法签名的一部分。
阅读全文
摘要:https://www.cnblogs.com/wangjinya/p/16654112.html
阅读全文
摘要:转自:https://www.cnblogs.com/mingnianjiehunba/p/17676347.html 转自:https://www.cnblogs.com/atomy/p/12200978.html
阅读全文
摘要:【ASP.NET Core中使用Redis缓存】https://www.cnblogs.com/dotnet261010/p/12033624.html【ASP.NET Core分布式缓存Redis主从Sentinel哨兵模式实战演练 】https://www.bilibili.com/read/c
阅读全文
摘要:dotnet build 生成 .NET 应用程序。 dotnet build-server 与通过生成启动的服务器进行交互。 dotnet clean 清除生成输出。 dotnet exec 运行 .NET 应用程序。 dotnet help 显示命令更详细的在线文档。 dotnet migrat
阅读全文
摘要:public static string CompressedJsonString(string jsonStrring) { string compressedJsonString = JsonConvert.SerializeObject(JsonConvert.DeserializeObjec
阅读全文