Creating an ASP.NET Core application in Ubuntu to use the library
We will be creating an ASP.NET Core application to use the library in this recipe. ASP.NET Core will be using the MVC design pattern, as well as working in Linux, macOS, and, of course, in Windows. We will be using Ubuntu as the operating system for building this small app to demonstrate the cross-platform capabilities of .NET Core.
Getting ready
Make sure you have completed the previous recipe that includes setting up the environment and building of the .NET Standard 2.0 library that creates a text file as a log. This recipe assumes you have basic knowledge of MVC architecture. In simple terms, MVC is a software architectural pattern that separates data models, controlling code, and user interfaces. Let's have a look at how to build this application and use our library.
How to do it..
- Open the terminal and navigate to the root of your application built in the previous recipe.
- The directory structure should look like this:

- Now type...