-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Add template parameter for cookie consent UI to Web Application project template #5444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@danroth27 , you define the priority for this, please. |
@Eilon FYI |
@danroth27, there is a tooling aspect here. Can you please handle that with the tooling team? We'll do the rest as part of this work item. |
Yes, we've already brought this up with the tooling folks. We just need to firm up the plans. |
This is actually mentioned in the #9937, where we've decided to turn this into a doc instead of bringing in an option. |
The cookie consent UI in the web application template should be an option in the web application template. I'd make it off by default at the cmd line, and on by default in VS. The option should be visualized in VS with a checkbox. Disabling the option should remove:
_CookieConsentPartial.cshtml
app.UseCookiePolicy()
line inStartup.cs
(and associatedusing
)services.Configure<CookiePolicyOptions>
call inStartup.cs
(and associatedusing
)<partial name="_CookieConsentPartial" />
line in_Layout.cshtml
@danroth27
The text was updated successfully, but these errors were encountered: