10 2020 档案

摘要:1.首先创建一个类库,用于创建模型 Contact using System; namespace Common{ public class Contact { public string Id { get; set; } public string Name { get; set; } publi 阅读全文
posted @ 2020-10-30 17:03 丹心石 阅读(243) 评论(0) 推荐(0) 编辑
摘要:AutoFac 阅读全文
posted @ 2020-10-29 11:08 丹心石 阅读(234) 评论(0) 推荐(0) 编辑
摘要:MySql EF 阅读全文
posted @ 2020-10-25 22:03 丹心石 阅读(830) 评论(0) 推荐(0) 编辑
摘要:1.启动顺寻 public class program{ public static void Main(string[] args) CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBuilder CreateWe 阅读全文
posted @ 2020-10-15 21:44 丹心石 阅读(299) 评论(0) 推荐(0) 编辑
摘要:简单的认证设置: 1.在Web.config配置文件中增加 <authentication mode="Forms"> <forms loginUrl="~/Account/Login" timeout="2880"> <credentials passwordFormat="Clear"> <us 阅读全文
posted @ 2020-10-07 14:11 丹心石 阅读(109) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示