Skip to content

Build and deploy an ASP.NET WebAPI application with traditional .NET on Windows with Docker

License

Notifications You must be signed in to change notification settings

alexellis/guidgenerator-aspnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuidGenerator for ASP.NET and WebAPI

This repository goes with an introduction to running ASP.NET and IIS on Windows Containers with Docker.

If you want to try out the project then you can either create your own WebAPI projects by following the steps in the example or clone this repository and use the Dockerfiles as they are.

Take a look at build.ps1 which will:

  • Run a NuGet package restore
  • Build the C# code in a container with MSBuild (without Visual Studio needing to be installed)
  • Build a brand new container with IIS and the DLLs created by the previous step

You can then navigate to a browser at http://localhost/api/values/ and see your GUID. For Windows 10 run a docker inspect command first to find the IP address of the machine.

A video walkthrough is available in the Blog post

About

Build and deploy an ASP.NET WebAPI application with traditional .NET on Windows with Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published