Base solution for your next web application
Open Closed

How does it register IApplicationService as transient #7603


User avatar
0
antonis created

How does Apb registers IApplicationService as transient instance?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    By default it is ITransientDependency

    public interface IApplicationService : ITransientDependency
    {
    
    }
    
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    antonis created

    Yes I understand that. How is this registered to the container?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    maliming created
    Support Team

    Please refer to: https://aspnetboilerplate.com/Pages/Documents/Dependency-Injection#asp-net-boilerplate-dependency-injection-infrastructure

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)