![]() ![]() We’ll make a change to the “Welcome” page to output the current time and to output (via an environment variable) whether the code is running in a container. The site is actually running in HTTP mode on port 5000 ( as well as HTTPS mode on port 5001 ( The website is configured to redirect HTTP requests to HTTPS via the HTTPS Redirection Middleware ( UseHttpsRedirection) in Startup.cs. Now if you run the project from Visual Studio, after accepting any development certificate prompts displayed, your browser should load the “Welcome” page on the URL Name the project core5-website in a new solution core5-docker-playarea. Use the target framework of “.NET 5” and “No Authentication”. ![]() NET 5 ASP.NET Core website in Visual Studio 2019 for Mac and running this website from both Visual Studio and from a Docker image.īefore we start, the following prerequisites need to be installed: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |