Skip to content

Help: How I can change dependency based on Area In Asp.net MVC #36

@hasibul2363

Description

@hasibul2363

I am very new. Just know how to use Ninject MVC3 extension. I want to change dependency based on Area. I have several DBContext for my application. I want to inject them based on Area.

Need your help. How i can achieve this. I know how to Rebind the dependency but where i have to configure this so that it rebinds dependency based on Area.

I am sorry if I posted it on wrong place.
Waiting for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions