导航

随笔分类 -  C#

摘要:using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensio 阅读全文

posted @ 2021-01-13 09:36 DotNet1010 阅读(525) 评论(0) 推荐(0)

摘要:https://blog.gkarch.com/2015/09/high-resolution-timer.html https://www.cnblogs.com/samgk/articles/5725694.html http://yiiyee.cn/blog/2013/09/01/clock- 阅读全文

posted @ 2020-12-30 13:48 DotNet1010 阅读(245) 评论(0) 推荐(0)

摘要:NET number values such as positive and negative infinity cannot be written as valid JSON https://github.com/dotnet/runtime/issues/40140 阅读全文

posted @ 2020-12-11 10:24 DotNet1010 阅读(1582) 评论(0) 推荐(0)

摘要:https://aloiskraus.wordpress.com/2019/09/29/net-serialization-benchmark-2019-roundup/ 阅读全文

posted @ 2020-12-01 09:01 DotNet1010 阅读(217) 评论(0) 推荐(0)

摘要:http://blog.csdn.net/qq_17255515/article/details/53293120 阅读全文

posted @ 2017-11-02 15:43 DotNet1010 阅读(186) 评论(0) 推荐(0)

摘要:http://www.cnblogs.com/wqh17/p/6911748.html 阅读全文

posted @ 2017-10-30 09:59 DotNet1010 阅读(651) 评论(0) 推荐(0)

摘要:http://www.cnblogs.com/liujunyang/p/4962423.html 阅读全文

posted @ 2017-10-30 09:54 DotNet1010 阅读(203) 评论(0) 推荐(0)

摘要:http://www.cnblogs.com/1996V/p/7700087.html 阅读全文

posted @ 2017-10-25 11:27 DotNet1010 阅读(160) 评论(0) 推荐(0)

摘要:C#进阶系列——WebApi 身份认证解决方案:Basic基础认证 http://www.cnblogs.com/landeanfen/archive/2016/03/24/5287064.html 阅读全文

posted @ 2017-10-13 10:30 DotNet1010 阅读(117) 评论(0) 推荐(0)

摘要:https://github.com/Jimmey-Jiang/Common.Utility/tree/master/Utility%E5%9F%BA%E7%A1%80%E7%B1%BB%E5%A4%A7%E5%85%A8 阅读全文

posted @ 2017-10-12 15:27 DotNet1010 阅读(234) 评论(0) 推荐(0)

摘要:List<string> KeyWordList = new List<string> { }; private void InitKeyWordList() { KeyWordList.Add("SELECT"); KeyWordList.Add("TOP"); KeyWordList.Add("*"); KeyWordList.Add("FROM"); KeyWordList.Add("JOIN"); KeyWordList.Add("ON"); 阅读全文

posted @ 2011-09-08 17:57 DotNet1010 阅读(529) 评论(0) 推荐(0)

摘要:privatestaticdoubleCalcTax(doublesalary){doubleC0=3000,C0Ratio=0.00;intL1=1500,L2=4500,L3=9000,L4=35000,L5=55000,L6=80000;doubleC1=L1-0,C1Ratio=0.05;doubleC2=L2-L1,C2Ratio=0.10;doubleC3=L3-L2,C3Ratio=0.20;doubleC4=L4-L3,C4Ratio=0.25;doubleC5=L5-L4,C5Ratio=0.30;doubleC6=L6-L5,C6Ratio=0.35;doubleC7=d. 阅读全文

posted @ 2011-04-21 14:37 DotNet1010 阅读(447) 评论(0) 推荐(0)

摘要:回答: string fileName = @"C:\Resource.resx"; ResXResourceReader reader = new ResXResourceReader(fileName); IDictionaryEnumerator enumerator = reader.GetEnumerator(... 阅读全文

posted @ 2008-04-09 17:00 DotNet1010 阅读(2043) 评论(0) 推荐(0)

摘要: .NET Framework 2.0 版中新增的 TransactionScope 单独使用确实很方便。但是在实际项目中都有自己的访问层。如何才能让它和自己的访问层结合起来简单而又不失其功能呢?下面是作者想到的实现方案:[在访问相同数据库时避免讨厌的分布式事务] 阅读全文

posted @ 2007-08-22 20:20 DotNet1010 阅读(3618) 评论(13) 推荐(0)