摘要:
直接上代码,我们可以创建自己的MyStartUp类 public class MyStartup { //这个方法是可有可无的、用来进行依赖注入的添加 public void ConfigureServices(IServiceCollection services) { services.AddM 阅读全文
posted @ 2021-04-23 14:46
ProZkb
阅读(144)
评论(0)
推荐(0)
摘要:
{ "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { "applicationUrl": "http://localhost:59016", "sslPo 阅读全文
posted @ 2021-04-23 12:52
ProZkb
阅读(76)
评论(0)
推荐(0)
摘要:
直接上代码,重点文字看注释 namespace ProNetCore { public class Program { public static void Main(string[] args) { //在内部会先配置K8s服务器和IIS相关,其他配置 IHostBuilder builder = 阅读全文
posted @ 2021-04-23 12:34
ProZkb
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号