This is an source code for an Net Core app that is used in this article
https://dgtechboost.com/2021/06/03/publish-a-package-with-visual-studio-to-nuget/
It is a basic app with minimal changes that are required to demonstrate how to consume, install, update the installed version of nuget library.
Asp.Net Core 3.1 Application as web api
Install the package from Nuget using this command Install-Package DgLoggers -Version 1.0.2-beta
Run the application and check the Output window for the test message