HI All... Good Morning.
i am trying set Cookies set Secure flag , i cant able complete below reference URL seems like cookies , based on the URL below:
tryihttps://mariusschulz.com/articles/securing-authentication-cookies-in-asp-net-coreng
to implement but i am getting below error, can you any please try this task and update me
CS1061 'IApplicationBuilder' does not contain a definition for 'UseCookieAuthentication' and no accessible extension method 'UseCookieAuthentication' accepting a first argument of type 'IApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)
CS0117 'CookieAuthenticationOptions' does not contain a definition for 'AuthenticationScheme'
CS0117 'CookieAuthenticationOptions' does not contain a definition for 'AutomaticAuthenticate'
CS0117 CookieAuthenticationOptions' does not contain a definition for 'AutomaticChallenge
Please help me to complete the task.


Hamid KhanRank #424 · 5.9K reputationPosted Aug 16, 2020, 9:40 PM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Aug 17, 2020, 12:20 AM EDT
Venkat GovindRank #2,911 · 494 reputationPosted Aug 17, 2020, 2:21 AM EDT