Skip to content
No description, website, or topics provided.
C# Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
Controllers
Migrations
Models
ViewModels
.gitignore
DatabaseContext.cs
Program.cs
README.md
Startup.cs
appsettings.Development.json
appsettings.json
deploy.bat
dockerfile
dotnet-sdg-template.csproj

README.md

Defualt Template for SDG .NET Course

This is the default template for a simple .NET Core Web API. This template has:

  • CORS Enabled
  • Postgres & EF Core
  • Swagger
  • Ready for Docker Deployment

to use:

  • Update your database name in DatabaseContext.cs

to Deploy to heroku:

  • create a web app on heroku, make sure to have the CLI downloaded, installed, logged in and be logged into the container via heroku.
  • Update your dockerfile to use your *.dll file instead of dotnet-sdg-template.dll
  • Update the deploy script:
    • change sdg-template-image to your-project-name-image
    • change heroku-web-app to your web app name on heroku

PROTIP:

When you are complete with the project and have turned it in to your instructor, update this read me with details about the assignment.

You can’t perform that action at this time.