https://github.com/webmasterdevlin/graphql-and-odata
GraphQL and OData in ASP.NET Core 3.1
https://github.com/webmasterdevlin/graphql-and-odata
Last synced: 3 months ago
JSON representation
GraphQL and OData in ASP.NET Core 3.1
- Host: GitHub
- URL: https://github.com/webmasterdevlin/graphql-and-odata
- Owner: webmasterdevlin
- License: mit
- Created: 2020-08-01T23:57:17.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T23:10:50.000Z (over 2 years ago)
- Last Synced: 2025-02-11T13:22:30.681Z (4 months ago)
- Language: C#
- Size: 3.5 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
#### Dockerizing a ASP.NET GraphQL
Login to Docker Hub
```zsh
$ docker login
```create an ASP.NET Web API container
```zsh
$ docker build -t {yourDockerUsername}/asp-api:1.0.0 .
```Test the ASP.NET Web API container by running it. It should be visible at localhost:8080
```zsh
$ docker run -p 8080:80 {yourDockerUsername}/asp-api:1.0.0
```Push the container to your Docker Hub account repository
```zsh
$ docker push {yourDockerUsername}/asp-api:1.0.0
```