-
Notifications
You must be signed in to change notification settings - Fork 311
ConfigureServices being called 3 times #266
Comments
Can you share the Startup class? I don't see this behavior when running, for example the CookieSample: https://github.com/aspnet/Security/tree/dev/samples/CookieSample |
Looking at the code, the This was introduced in 77e2dc2. |
Ah yeah that's definitely it, good catch, I'll fix and add tests today |
Re-opening because apparently this still repros for @sujitdmello . |
From @sujitdmello 👍
|
The CI build just passed 15 minutes ago. Try again @sujitdmello. |
Perfect! Just did a dnu restore and it worked! Just one call to ConfigureServices. Thanks guys! |
Not sure when this started happening but I’m on the latest Beta5 bits now and even using the simple HelloWeb app, I noticed that if I have a ConfigureServices method in the Startup class, it is called exactly 3 times when running dnx . kestrel. Am I wrong in expecting it to be called just once? Or do I have an issue with my setup?
The Configure method is called once as expected.
The text was updated successfully, but these errors were encountered: