Was this helpful?
In ASP.NET Core the web.config file is gone. Instead we use project.json, which is fine.
One of the things we used to do in web.config is configuring all cookies to be HttpOnly and -- in some cases -- Secure. These options are not available in project.json.
In ASP.NET Core I would expect there to be some middleware that can handle this, but I haven't found anything.
I am pretty sure Microsoft did not overlook this feature but where is it? Can someone please fill me in?
|asked||Apr 22, 2016|
|active||Apr 22, 2016|
|•||Reading appsettings.json in a .NET Core console application|
|•||How do I escape a double quote in a verbatim string literal?|
|•||How to pass a parameter to a SQL IN clause with C#, SQL Server|
|•||A gentle introduction to C# Attributes|
|•||Going forward: Should I rewrite my HtmlHelpers into TagHelpers?|
|•||Creating nested TagHelpers in ASP.NET Core|
|•||C#: best practice of when to use a var vs the actual type?|
|•||Is there a difference between String and string in C#?|
|•||How to Encrypt and Decrypt a string in C#|
|•||Dynamically combining multiple OrderBy clauses in LINQ|