zwei1121

博客园 首页 新随笔 联系 订阅 管理
上一页 1 2 3 4 5 6 7 ··· 31 下一页

2019年2月28日 #

摘要: GetCurrentDirectory returns the worker directory of the process started by IIS rather than the app's directory (for example, C:\Windows\System32\inets 阅读全文
posted @ 2019-02-28 18:38 zwei 阅读(507) 评论(0) 推荐(0) 编辑

2019年1月9日 #

摘要: [Reference(ReferenceType.Many, ColumnName = "OneId", ReferenceMemberName = "OneId")] var user = Database.FetchOneToMany<UserDecoratedWithExtraInfoAsLi 阅读全文
posted @ 2019-01-09 16:34 zwei 阅读(192) 评论(0) 推荐(0) 编辑

2019年1月2日 #

摘要: typeFaqs.ForEach(async p => { var results = await ; p.Results = results; }); https://stackoverflow.com/questions/52505970/abstract-away-async-calls-to 阅读全文
posted @ 2019-01-02 12:19 zwei 阅读(265) 评论(0) 推荐(0) 编辑

2018年12月21日 #

摘要: 1.下载 https://marketplace.visualstudio.com/items?itemName=RandomEngy.UnitTestBoilerplateGenerator 2. public static AppSettings GetSettings() { var envV 阅读全文
posted @ 2018-12-21 10:44 zwei 阅读(266) 评论(0) 推荐(0) 编辑

2018年11月7日 #

摘要: 有时候邮件发不出去,很有可能就是邮件服务器的IP被国际上一些反垃圾组织列入黑名单了,这时你可以通过返回的邮件判断是否进入黑名单,或者通过以下查询地址看是否被列入,然后一个个申请移除: http://multirbl.valli.org/ https://mxtoolbox.com/ http://w 阅读全文
posted @ 2018-11-07 16:34 zwei 阅读(5605) 评论(0) 推荐(0) 编辑

2018年10月30日 #

摘要: services.AddScoped(typeof(Test)); //services.AddScoped<Test>() // .AddScoped<ITest, Test>(s => s.GetService<Test>()); 阅读全文
posted @ 2018-10-30 10:25 zwei 阅读(114) 评论(0) 推荐(0) 编辑

2018年10月25日 #

摘要: [Produces("application/json")][Consumes("application/json")][Consumes("application/x-www-form-urlencoded")] [Route("api/[controller]/[action]")] 阅读全文
posted @ 2018-10-25 18:52 zwei 阅读(125) 评论(0) 推荐(0) 编辑

2018年10月15日 #

摘要: services.AddControllersWithViews().AddNewtonsoftJson(); Install-Package Microsoft.AspNetCore.Mvc.NewtonsoftJson -Version 3.1.3 ASPNETCORE_ENVIRONMENT 阅读全文
posted @ 2018-10-15 17:24 zwei 阅读(714) 评论(0) 推荐(0) 编辑

2018年10月9日 #

摘要: https://www.jianshu.com/p/9abad055fff6 阅读全文
posted @ 2018-10-09 14:49 zwei 阅读(135) 评论(0) 推荐(0) 编辑

2018年9月30日 #

摘要: 1、centos 7.0及以上服务器 2、.NET SDK 安装 2.1 安装 https://www.microsoft.com/net/download/linux-package-manager/centos/sdk-current Add the dotnet product feed Be 阅读全文
posted @ 2018-09-30 18:02 zwei 阅读(366) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 31 下一页