前言
最近在本機 ASP.NET 專案的 web.config 中加入 HSTS 的設定,
在 Chrome 上測試起來會自動將原本的 http 轉到 https。
結果開啟其他的 Local 專案全都會自動轉導到 https 。
要怎麼取消 Chrome 自動將 localhost 的 http 轉 https 呢?
Hello! 我是 RM
在前一篇 Heap Inspection in ASP.NET Core MVC - SecureString 中介紹如何將 string Password 改使用 SecureString 型態。
但是在 .NET Core 並不建議再使用 SecureString 。
所以我們可以改使用 byte[] 來取代。
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true