. NET Core - Modularity
.Net core tutorial
.NET Core - Modularity
This is another consideration of .NET Core to build and implement an application that is modular. Instead of installing the entire .NET Framework, your application can now simply install what is required. Let's move on to the visual studio and see the modularity.
This is our simple .NET Core application, in Solution Explorer. Let's expand References and you will see the reference to .NETCoreApp
In .NETCoreApp you will see a package reference to NuGet; let's expand it.
You will see the whole series of references to the NuGet package. If you have worked in the .NET Framework then many of these namespaces will look familiar to you, because you are used to it by using .NET Framework.
.NET Framework is
Now if you expand the NETStandard.Library you will see additional references.same System.Console that we use in this app.
Now you don 't have to import everything into .NET Framework, just bring what you need for your application.
There are other advantages too; for example, these modules can be updated individually if desired.
Modularity has performance benefits and your application can run faster, especially ASP.NET Core application.