Skip to content

Commit 352e3ad

Browse files
mairawJRAlexander
authored andcommitted
fix branding (dotnet#3986)
1 parent 0a4a381 commit 352e3ad

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

docs/csharp/tutorials/microservices.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ ms.assetid: 87e93838-a363-4813-b859-7356023d98ed
1414

1515
# Microservices hosted in Docker
1616

17-
## Introduction
18-
1917
This tutorial details the tasks necessary to build and deploy
2018
an ASP.NET Core microservice in a Docker container. During the course
2119
of this tutorial, you'll learn:
@@ -73,13 +71,13 @@ Grunt, and Gulp. If you have them installed that is good, otherwise type the fol
7371
The `-g` option indicates that it is a global install, and those tools are
7472
available system wide. (A local install scopes the package to a single
7573
project). Once you've installed those core tools, you need to install
76-
the yeoman asp.net template generators:
74+
the yeoman ASP.NET template generators:
7775

7876
`npm install -g generator-aspnet`
7977

8078
## Create the Application
8179

82-
Now that you've installed all the tools, create a new asp.net core
80+
Now that you've installed all the tools, create a new ASP.NET Core
8381
application. To use the command line generator, execute the following
8482
yeoman command in your favorite shell:
8583

@@ -92,12 +90,12 @@ will prompt you for a name. Select 'WeatherMicroservice'.
9290

9391
The template creates eight files for you:
9492

95-
* A .gitignore, customized for asp.net core applications.
93+
* A .gitignore, customized for ASP.NET Core applications.
9694
* A Startup.cs file. This contains the basis of the application.
9795
* A Program.cs file. This contains the entry point of the application.
9896
* A WeatherMicroservice.csproj file. This is the build file for the application.
9997
* A Dockerfile. This script creates a Docker image for the application.
100-
* A README.md. This contains links to other asp.net core resources.
98+
* A README.md. This contains links to other ASP.NET Core resources.
10199
* A web.config file. This contains basic configuration information.
102100
* A runtimeconfig.template.json file. This contains debugging settings used by IDEs.
103101

@@ -148,7 +146,7 @@ framework that will run this application.
148146
The application is implemented in Startup.cs. This file contains the startup
149147
class.
150148

151-
The two methods are called by the asp.net core infrastructure to configure
149+
The two methods are called by the ASP.NET Core infrastructure to configure
152150
and run the application. The `ConfigureServices` method describes the services that are
153151
necessary for this application. You're building a lean microservice, so it doesn't
154152
need to configure any dependencies. The `Configure` method configures the handlers
@@ -309,7 +307,7 @@ A ***Docker Container*** represents a running instance of a Docker image.
309307
By analogy, you can think of the *Docker Image* as a *class*, and the
310308
*Docker Container* as an object, or an instance of that class.
311309

312-
The Dockerfile created by the asp.net template will serve
310+
The Dockerfile created by the ASP.NET template will serve
313311
for our purposes. Let's go over its contents.
314312

315313
The first line specifies the source image:
@@ -349,7 +347,7 @@ RUN dotnet publish -c Release -o out
349347

350348
[!INCLUDE[DotNet Restore Note](~/includes/dotnet-restore-note.md)]
351349

352-
This will copy the project file from the current directory to the docker VM, and restore
350+
This will copy the project file from the current directory to the Docker VM, and restore
353351
all the packages. Using the dotnet CLI means that the Docker image must include the
354352
.NET Core SDK. After that, the rest of your application gets copied, and the dotnet
355353
publish command builds and packages your application.
@@ -362,7 +360,7 @@ ENTRYPOINT ["dotnet", "out/WeatherMicroservice.dll", "--server.urls", "http://0.
362360

363361
This configured port is referenced in the `--server.urls`
364362
argument to `dotnet` on the last line of the Dockerfile. The `ENTRYPOINT` command
365-
informs Docker what command and command line options start the service.
363+
informs Docker what command and command-line options start the service.
366364

367365
## Building and running the image in a container.
368366

@@ -380,7 +378,7 @@ out/*
380378
```
381379

382380
You build the image
383-
using the docker build command. Run the following command from the directory containing your code.
381+
using the `docker build` command. Run the following command from the directory containing your code.
384382

385383
```console
386384
docker build -t weather-microservice .
@@ -438,7 +436,7 @@ container process, but rather stop the `docker attach` command. The final argume
438436
is the name given to the container in the `docker run` command.
439437

440438
> [!NOTE]
441-
> You can also use the docker assigned container ID to refer to any container. If you
439+
> You can also use the Docker assigned container ID to refer to any container. If you
442440
> didn't specify a name for your container in `docker run` you must use the container id.
443441
444442
Open a browser and navigate to your service. You'll see the diagnostic messages in
@@ -467,10 +465,10 @@ docker rmi weather-microservice
467465

468466
## Conclusion
469467

470-
In this tutorial, you built an asp.net core microservice, and added a few
468+
In this tutorial, you built an ASP.NET Core microservice, and added a few
471469
simple features.
472470

473-
You built a docker container image for that service, and ran that container on
471+
You built a Docker container image for that service, and ran that container on
474472
your machine. You attached a terminal window to the service, and saw the
475473
diagnostic messages from your service.
476474

0 commit comments

Comments
 (0)