From Zero to API in Seconds: Welcome to the World of Minimal APIs Picture this: you’re sitting at your desk, staring at lines of code, knee-deep in a sea of controllers, routes, and middleware just to get a simple API working. Sound familiar? It’s the kind of overhead that every developer has accepted as part […]
What is Dependency? A dependency is an object that another object depends upon. For example; public class EmployeeController : ControllerBase{IEmployee _employee = new EmployeeImplementor();//business logic} In the above example, the class EmployeeController directly depends upon class EmployeeImplementor, so EmployeeImplementor is the dependency of class EmployeeController. What Is Dependency Injection Dependency Injection is a programming technique that […]