Why mix .Net Standard and .Net Core projects in one solution? -
i started working through apress "building web applications visual studio 2017". @ beginning setting projects. set solution called spystore. .net core console app called spystore.dal. .net standard class library project called spystore.models.
my question why author choose .net standard class library on .net core class library. there difference?
what difference between .net standard , .net core. , there reason him mixing standard in of sudden?
you can visualize .netstandard set of apis. implemented multiple runtimes, netframework (net461, net47 monikers example) or netcore (netcoreapp) lib not executable, independant concreate implementation.
because may want use library in netframework project (or other implementation of .net standard), targeting netstandard make sure portable of these implementation, netcoreapp lib targetable netcoreapp project.
an app can netcoreapp or netcore, dependant of implementation of framework
you can find more infos here, , platform implements version of netstandard: https://docs.microsoft.com/dotnet/standard/net-standard
Comments
Post a Comment