c# - NancyFx and TinyIoc -
i new dependency injection.i having problems understanding how use nancyfx bootstrapper , tinyioc. want reference dependency can not understatnd how it. can not seem find correct info anywhere or misunderstanding it.this code: public class startup1 { public void configuration(iappbuilder app) { app.usenancy(); } } my interface: public interface iperson { string getname(); } my implementation: public class person : iperson { public string name { get; set; } public string getname() { return name; } } my program static void main(string[] args) { person person = new person(); person.name = "bill"; string uri = "http://localhost:8080/"; using (webapp.start<startup1>(uri)) { console.writeline("started"); console.readkey(); console.writeline("stopping"); } } my nancy bootstrapper: p...