Bascis of NancyFx Bootstrapper

474 views Asked by At

I am a beginner in Nancy application develpment. Can any one explain about what is the role of Bootstrapper in a Nancy application.

Thanks.

1

There are 1 answers

1
Christian Horsdal On BEST ANSWER

I think the Nancy documentation explains it well.

the bootstrapper is for application wide configuration. That includes setting up your DI container, adding hanlders to Before, After and Error pipelines, setting up any special conventions you may have and so on. The modules are discovered automatically by Nancy on startup. If you don't have any particular setup, you don't need a bootstrapper.