How to pass some property on startup class and initialize it on controller #23257
-
I have a .net core 3.1 background application where i am spanning kestrel server as per implementation.
I needed this as same class multiple instances will be starting kestrel instance on other ports listening different traffic. At the time of request receive i need that channel Id to initialize something |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Got solution from https://stackoverflow.com/questions/62537031/how-to-pass-some-property-on-startup-class-and-initialize-it-on-controller/ |
Beta Was this translation helpful? Give feedback.
Got solution from https://stackoverflow.com/questions/62537031/how-to-pass-some-property-on-startup-class-and-initialize-it-on-controller/