When talking about using MongoDB in your application, one wonders how easy it will be to add this functionality to a new ASP.NET Core MVC application. The process is really easy. To start off, create a new ASP.NET Core Web application and name it BugTracker
:
- On the
New ASP.NET Core Web Application - BugTracker
screen, make sure that you have selectedASP.NET Core 2.0
from the drop-down list. - Select
Web Application (Model-View-Controller)
. - Uncheck the
Enable Docker Support
option. Finally, click on theOK
button. - Your new ASP.NET Core MVC application will be created with the basics, as shown in the following screenshot:
- Enabling Docker support for your application can easily be done at creation time. You can also enable Docker support for existing applications.
I will take a look at Docker in a later chapter and how to make your application work with Docker. For now, our application does not need Docker support. Leave it unchecked and create...