• 大小: 816KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-09
  • 语言: C#
  • 标签: Asp.net  core  

资源简介

一个asp.net core开发的,使用ef core,连接postgreSql数据库的项目demo

资源截图

代码片段和文件信息

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

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

            host.Run();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-07-12 08:55  PostgresSqlDemo\
     目录           0  2016-07-12 10:47  PostgresSqlDemo\.vs\
     目录           0  2016-07-12 10:47  PostgresSqlDemo\.vs\config\
     文件       86131  2016-07-12 10:47  PostgresSqlDemo\.vs\config\applicationhost.config
     目录           0  2016-07-12 08:55  PostgresSqlDemo\.vs\PostgresSqlDemo\
     目录           0  2016-07-12 08:55  PostgresSqlDemo\.vs\PostgresSqlDemo\v14\
     文件       22528  2016-07-12 16:07  PostgresSqlDemo\.vs\PostgresSqlDemo\v14\.suo
     文件         118  2016-07-12 09:16  PostgresSqlDemo\.vs\restore.dg
     文件         100  2016-07-12 08:55  PostgresSqlDemo\global.json
     文件        1519  2016-07-12 08:55  PostgresSqlDemo\PostgresSqlDemo.sln
     目录           0  2016-07-12 08:55  PostgresSqlDemo\src\
     目录           0  2016-07-12 15:51  PostgresSqlDemo\src\PostgresSqlDemo\
     文件          36  2016-07-12 08:55  PostgresSqlDemo\src\PostgresSqlDemo\.bowerrc
     文件         376  2016-07-12 15:51  PostgresSqlDemo\src\PostgresSqlDemo\appsettings.json
     目录           0  2016-07-12 09:35  PostgresSqlDemo\src\PostgresSqlDemo\bin\
     目录           0  2016-07-12 09:30  PostgresSqlDemo\src\PostgresSqlDemo\bin\Debug\
     目录           0  2016-07-12 09:36  PostgresSqlDemo\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\
     文件      192010  2016-07-12 16:09  PostgresSqlDemo\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.deps.json
     文件      292864  2016-07-12 16:09  PostgresSqlDemo\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.dll
     文件       44544  2016-07-12 16:09  PostgresSqlDemo\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.pdb
     文件         120  2016-07-12 16:09  PostgresSqlDemo\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.runtimeconfig.dev.json
     文件         192  2016-07-12 16:09  PostgresSqlDemo\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.runtimeconfig.json
     目录           0  2016-07-12 09:35  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\
     目录           0  2016-07-12 09:35  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\
     目录           0  2016-07-12 09:35  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\bin\
     目录           0  2016-07-12 09:35  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\bin\Debug\
     目录           0  2016-07-12 09:36  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\
     文件      192010  2016-07-12 11:26  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.deps.json
     文件      278016  2016-07-12 11:26  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.dll
     文件       17920  2016-07-12 11:26  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.pdb
     文件         120  2016-07-12 11:26  PostgresSqlDemo\src\PostgresSqlDemo\bin\src\PostgresSqlDemo\bin\Debug\netcoreapp1.0\PostgresSqlDemo.runtimeconfig.dev.json
............此处省略119个文件信息

评论

共有 条评论