Reputation: 41
Just wondering why Microsoft.Extensions library e.g. Configuration, Logging, Dependency Injection are documented under ASP.NET Core? They also can be used for other types of application.
https://learn.microsoft.com/en-us/dotnet/api/?view=aspnetcore-2.0
Upvotes: 3
Views: 72
Reputation: 151
The Microsoft.Extensions.* packages are documented under ASP.NET Core for a couple of reasons:
That said, you are correct that the Microsoft.Extensions.* packages can be used outside of ASP.NET Core. These packages target .NET Standard and can be used wherever the corresponding version of .NET Standard is supported (ex. .NET Core, .NET Framework, Xamarin, UWP). That's why these packages don't have "AspNetCore" in their IDs.
Upvotes: 1