Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Private Configure message should be more explicit #387

Closed
victorhurdugaci opened this issue Oct 5, 2015 · 1 comment
Closed

Private Configure message should be more explicit #387

victorhurdugaci opened this issue Oct 5, 2015 · 1 comment
Assignees
Milestone

Comments

@victorhurdugaci
Copy link
Contributor

Change the Configure method to private and run:

private void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
  • Expected: an error message saying that Configure should be public
  • Actual error message: "A method named 'ConfigureDevelopment' or 'Configure' in the type 'WebApplication1.Startup' could not be found."
@JunTaoLuo
Copy link
Contributor

merged to dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants