Best location for Fluent IOC configuration/Modules (Currently trying Ninject)

前端 未结 4 1271
清歌不尽
清歌不尽 2021-01-05 16:37

I am struggling to find the best place to locate my Ninject configuration \"Modules\" (the place where Type bindings are specified). I hope I am just missing some obvious tr

4条回答
  •  伪装坚强ぢ
    2021-01-05 17:25

    The best way to organize your modules is by feature! For example

    • AuthenticationModule
    • OrderModule
    • CustomerModule

    Have fun!

提交回复
热议问题