Connecting your ASP.NET Core MVC application to MongoDB

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:

  1. On the New ASP.NET Core Web Application - BugTracker screen, make sure that you have selected ASP.NET Core 2.0 from the drop-down list.
  2. Select Web Application (Model-View-Controller).
  3. Uncheck the Enable Docker Support option. Finally, click on the OK button.
  4. Your new ASP.NET Core MVC application will be created with the basics, as shown in the following screenshot:
  1. Enabling Docker support for your application can easily be done ...

Get C# 7 and .NET Core 2.0 Blueprints 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.