• 大小: 1.55M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: API  asp.net  asp  c  .NET  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;

namespace ASPNETCoreAPI
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var host = new WebHostBuilder()
                .UseKestrel()
                .UseContentRoot(Directory.GetCurrentDirectory())
                .UseIISIntegration()
                .UseStartup()
                .Build();

            host.Run();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-12-28 07:27  Blog-master\
     文件         378  2016-12-28 07:27  Blog-master\.gitattributes
     文件        4884  2016-12-28 07:27  Blog-master\.gitignore
     目录           0  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\
     文件        1481  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\ASPNETCoreAPI.sln
     文件         131  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\README.md
     文件          94  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\global.json
     目录           0  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\
     目录           0  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\
     文件        1145  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\ASPNETCoreAPI.xproj
     目录           0  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Controllers\
     文件        2076  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Controllers\UsersController.cs
     目录           0  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Migrations\
     文件         972  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Migrations\20160801075113_MyFirstMigration.Designer.cs
     文件        1002  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Migrations\20160801075113_MyFirstMigration.cs
     文件         939  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Migrations\DataContextModelSnapshot.cs
     目录           0  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Models\
     文件         387  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Models\DataContext.cs
     文件         296  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Models\User.cs
     文件         588  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Program.cs
     目录           0  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Properties\
     文件         661  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Properties\launchSettings.json
     文件        1874  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\Startup.cs
     文件         168  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\appsettings.json
     文件        1577  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\project.json
     文件         551  2016-12-28 07:27  Blog-master\ASPNETCoreAPI\src\ASPNETCoreAPI\web.config
     目录           0  2016-12-28 07:27  Blog-master\IdentityServer4OpenID\
     文件        2065  2016-12-28 07:27  Blog-master\IdentityServer4OpenID\IdentityServer4OpenID.sln
     文件         155  2016-12-28 07:27  Blog-master\IdentityServer4OpenID\README.md
     文件          94  2016-12-28 07:27  Blog-master\IdentityServer4OpenID\global.json
     目录           0  2016-12-28 07:27  Blog-master\IdentityServer4OpenID\src\
............此处省略355个文件信息

评论

共有 条评论