DEV Community

Discussion on: ASP.NET Basics: Inject Service into Controller

Collapse
 
zakwillis profile image
zakwillis

Hi Bradley. Hope you are doing well. Am trying to understand why we would call a Web service/api controller method from within the same Web project when it would make far more sense to call the underlying library/service? Would it not involve going over http/s for code that existed in the same library?
Probably need to reread this to understand it.