TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Venkat Govind
1.2k
576
68.2k
How to set Asp.net core3.0 Cookies as Secure
Aug 16 2020 11:56 PM
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.
Reply
Answers (
3
)
C# Method being called multiple times but locking it for only 1 execut
EnableCors attribute is not working after hosting on IIS .