• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
PowerCoder
博客园    首页    新随笔    联系   管理    订阅  订阅
05 2020 档案
C#中JSON字符串中的转义字符

摘要:新建一个.NET Core控制台项目,然后引入Json.NET的NuGet包:Newtonsoft.Json,我们使用Json.NET将类序列化为JSON字符串,再将JSON字符串反序列化为类,代码如下: using Newtonsoft.Json; using System; namespace 阅读全文
posted @ 2020-05-25 21:10 PowerCoder 阅读(14200) 评论(0) 推荐(0)
使用文件流,读写网络共享盘

摘要:新建一个.NET Core控制台项目,使用文件流读写网络共享盘文件,如下所示: using System; using System.IO; using System.Text; namespace NetCoreShareFolderReading { class Program { static 阅读全文
posted @ 2020-05-15 22:35 PowerCoder 阅读(742) 评论(0) 推荐(0)
Does Redis lock during write?(转载)

摘要:问: I tried to find out but I don't sure that is Redis MVCC? Does Redis allow reading during writing? 答: Redis is single-threaded. All commands are ato 阅读全文
posted @ 2020-05-14 02:08 PowerCoder 阅读(209) 评论(0) 推荐(0)
ASP.NET Core : Synchronous operations are disallowed. Call WriteAsync or set AllowSynchronousIO to true instead(转载)

摘要:问: ASP.NET core server, AllowSynchronousIO is set to false new WebHostBuilder() .UseKestrel(options => { options.AllowSynchronousIO = false; }) In the 阅读全文
posted @ 2020-05-12 23:45 PowerCoder 阅读(1683) 评论(0) 推荐(1)
关于Microsoft.Data.SqlClient(链接)

摘要:官方NuGet链接如下: Microsoft.Data.SqlClient 微软官方文档介绍: Introduction to Microsoft.Data.SqlClient namespace 另一篇很详细的介绍文章: Introducing the new Microsoft.Data.Sql 阅读全文
posted @ 2020-05-08 16:41 PowerCoder 阅读(2066) 评论(0) 推荐(1)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3