2020年4月21日
摘要: .net core 实现基于 JSON 的多语言 Intro 上次我们提到了,微软默认提供基于资源文件的多语言本地化,个人感觉使用起来不是太方便,没有 json 看起来直观,于是动手造了一个轮子, dotnet core 基于 json 的本地化组件 GetStarted 需要引用 nuget 包 阅读全文
posted @ 2020-04-21 20:21 createwell 阅读(656) 评论(2) 推荐(0)
摘要: C# 中 ConfigureAwait 相关答疑FAQ 在前段时间经常看到园子里有一些文章讨论到 ConfigureAwait,刚好今天在微软官方博客看到了 Stephen Toub 前不久的一篇答疑 ConfigureAwait 的一篇文章,想翻译过来。 原文地址:https://devblogs 阅读全文
posted @ 2020-04-21 15:21 createwell 阅读(504) 评论(0) 推荐(1)
摘要: Newtonsoft.Json与System.Text.Json区别 在 Newtonsoft.Json中可以使用例如 .AddJsonOptions(options => { options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH: 阅读全文
posted @ 2020-04-21 08:20 createwell 阅读(1228) 评论(0) 推荐(0)