Skip to content
项目

mmacneil/ASPNetCoreGraphQL

在 GitHub 查看

关于

Sample project demonstrating a GraphQL service built with ASP.NET Core 2.2, Entity Framework Core and graphql-dotnet.

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ASPNetCoreGraphQL

Sample project based on the blog post demonstrating how to build a GraphQL service powered by ASP.NET Core 2.2, Entity Framework Core and graphql-dotnet.

Development Environment

  • .NET Core 2.2 SDK
  • Visual Studio Code v1.21.1 (Should also work in VS2017)
  • Sql Server Management Studio 2017

Project Setup

The project is configured to create and seed the database at runtime if necessary so there shouldn't be any initial setup required. Simply start the debugger from the IDE or run it directly using the CLI dotnet run command from the root of the \NHLStats.Api folder.

After running the project, verify the database was created in your local Sql Server LocalDB instance.

Alternatively, you can also apply the existing migrations to create the database by running dotnet ef database update from the \NHLStats.Data folder. The seed data will be inserted on first run of the application.

The API is configured to run on port 5000, if this conflicts with some other service on your computer you can change it here.

Contact

[email protected]

探索相关项目

加载中…