{"action":"opened","issue":{"url":"https://api.github.com/repos/NancyFx/Nancy.Bootstrappers.Autofac/issues/26","labels_url":"https://api.github.com/repos/NancyFx/Nancy.Bootstrappers.Autofac/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/NancyFx/Nancy.Bootstrappers.Autofac/issues/26/comments","events_url":"https://api.github.com/repos/NancyFx/Nancy.Bootstrappers.Autofac/issues/26/events","html_url":"https://github.com/NancyFx/Nancy.Bootstrappers.Autofac/issues/26","id":100586477,"number":26,"title":"Example does not demonstrate how to use autofac","user":{"login":"vchekan","id":106474,"avatar_url":"https://avatars.githubusercontent.com/u/106474?v=3","gravatar_id":"","url":"https://api.github.com/users/vchekan","html_url":"https://github.com/vchekan","followers_url":"https://api.github.com/users/vchekan/followers","following_url":"https://api.github.com/users/vchekan/following{/other_user}","gists_url":"https://api.github.com/users/vchekan/gists{/gist_id}","starred_url":"https://api.github.com/users/vchekan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchekan/subscriptions","organizations_url":"https://api.github.com/users/vchekan/orgs","repos_url":"https://api.github.com/users/vchekan/repos","events_url":"https://api.github.com/users/vchekan/events{/privacy}","received_events_url":"https://api.github.com/users/vchekan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-12T16:51:16Z","updated_at":"2015-08-12T16:51:16Z","closed_at":null,"body":"The readme.md page in the root does demonstrate how to inherit from AutofacNancyBootstrapper but does not tell how to register component. From my experience with autofac, you create a builder, register components using it, and than create a container. In the examples, container is already provided and it is not obvious how to get builder.\r\n\r\nWould be nice to amend example to register some fake component."}}