List of Listings
Chapter 2. Building your first .NET Core applications
Listing 2.1. Program.cs from the Hello World application
Listing 2.2. hwapp.csproj from the Hello World console application
Listing 2.3. hwwebapp.csproj package reference to Microsoft.AspNetCore.All
Listing 2.4. Program.cs for an ASP.NET Core web application
Listing 2.5. Trimmed-down Startup.cs file for a Hello World web application
Listing 2.6. Add RuntimeIdentifiers to the hwapp.csproj file
Listing 2.7. Dockerfile for Hello World console application
Listing 2.8. Command to build Hello World console application container image
Listing 2.9. Running the Hello World console application Docker container
Listing 2.10. Modifying Program.cs for Docker container deployment
Get .NET Core in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.