I was working in .Net Framework and Now I learn ASP.Net Core I Have Some Doubt. I Have a one Web App/API Project and Two Class Libraries(Services and Communication ). In Communication Layer Referred with Service Layer. In that Communication Layer Referred in Web Layer.
In a Communication Layer Classes Access in Web Layer. It's Possible For .Net Framework.but not able access Service layer in Web Layer Because, It's Not Referred in Web Layer.
In the same Structure was Created in a ASP.Net Core 2.0 Application. In a Service Layer Also Accessible in Web Layer.
How the web layer access the service layer without reference of service layer.
.Net Core Reference Image
.Net Framework Reference Image
i was working in .Net Framework for more than 3 year's. i know the service layer class not directly access without reference. for code separation and access only reference layered only access in the web layer. that layer communicate other layer based on the reference.
in this .net core access directly. in this scenario how to how to access secure and separate the layers. and one layer communicate only reference layer.
I think In .Net core access the All Reference in . Hierarchical of All Layer.
Any One Know share the Solution.
Thanks