{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/722","labels_url":"https://api.github.com/repos/aspnet/Home/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/722/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/722/events","html_url":"https://github.com/aspnet/Home/issues/722","id":92940713,"number":722,"title":"Interface(s) or Abstract Class(s) for Startup Class","user":{"login":"brent-russell","id":11100081,"avatar_url":"https://avatars.githubusercontent.com/u/11100081?v=3","gravatar_id":"","url":"https://api.github.com/users/brent-russell","html_url":"https://github.com/brent-russell","followers_url":"https://api.github.com/users/brent-russell/followers","following_url":"https://api.github.com/users/brent-russell/following{/other_user}","gists_url":"https://api.github.com/users/brent-russell/gists{/gist_id}","starred_url":"https://api.github.com/users/brent-russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brent-russell/subscriptions","organizations_url":"https://api.github.com/users/brent-russell/orgs","repos_url":"https://api.github.com/users/brent-russell/repos","events_url":"https://api.github.com/users/brent-russell/events{/privacy}","received_events_url":"https://api.github.com/users/brent-russell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-03T21:45:46Z","updated_at":"2015-07-07T02:04:59Z","closed_at":null,"body":"If certain methods and signatures are required for the Startup class, why are there no interfaces or base classes to define those contracts?\r\n\r\nWhen starting a new from scratch project, the methodology to create the Startup class requires consulting documentation, copying method signatures from an existing Startup class, or the most time consuming method - reading through source code to find out how the application is executed in order to learn what methods should be created and what their signatures are.\r\n\r\nTemplating a project is not really sufficient, because that creates a dependency on using a specific tool in order to set up a new project. It's just a class after all. It shouldn't be that difficult."},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/119046761","html_url":"https://github.com/aspnet/Home/issues/722#issuecomment-119046761","issue_url":"https://api.github.com/repos/aspnet/Home/issues/722","id":119046761,"user":{"login":"brent-russell","id":11100081,"avatar_url":"https://avatars.githubusercontent.com/u/11100081?v=3","gravatar_id":"","url":"https://api.github.com/users/brent-russell","html_url":"https://github.com/brent-russell","followers_url":"https://api.github.com/users/brent-russell/followers","following_url":"https://api.github.com/users/brent-russell/following{/other_user}","gists_url":"https://api.github.com/users/brent-russell/gists{/gist_id}","starred_url":"https://api.github.com/users/brent-russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brent-russell/subscriptions","organizations_url":"https://api.github.com/users/brent-russell/orgs","repos_url":"https://api.github.com/users/brent-russell/repos","events_url":"https://api.github.com/users/brent-russell/events{/privacy}","received_events_url":"https://api.github.com/users/brent-russell/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T02:04:59Z","updated_at":"2015-07-07T02:04:59Z","body":"Thanks. That makes sense. It wasn't obvious that those parameter values were provided by dependency injection. Especially since the built-in IoC only does constructor injection. It also wasn't obvious that those parameters were optional, and that one was required. So maybe this really is a job for (much) better documentation and templating / scaffolding."}}