--- tags: ASP.net, C#, IIS --- # ASP.net Blazor(MVC5?) 使用ASP.net撰寫網站與部署至IIS # ASP.net 架構 1. 專案架構  2. 部署  3. 按下發布  # 網頁 1. 新增網頁  2. 點新增  3. 點加入  4. 結果  # 語法 1. 動態新增語法要用 ViewData 與 條件式在html  2. C# 內容頁可對Post 、 Get 操作定義  # 憑證、ssl、https 設定 1. 屬性 -> Debug  2. 調整 url 的 http 與 取消 使用ssl  3. 關閉 windows 驗證 (保險起見)  # post http 400 、跨網站要求偽造 1. 添加IgnoreAntiforgeryToken  2. https://ithelp.ithome.com.tw/articles/10248847 3. post 成功  ###### tags: `ASP.net` `C#` 'IIS'
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up