2020/06/03

Postman console error unable to verify the first certificate

在寫ASP.NET Core WebApi使用Postman來進行測試,卻發生了Could not get response的狀況,錯誤訊息為:unable to verify the first certificate

解決方法如下

File -> Setting(點圖可放大)



將 ssl certificate verification 切換為 OFF(點圖可放大)



打完收工

postman 请求 - bug_x - 博客园
https://www.cnblogs.com/cbugs/p/11340176.html

2020/03/24

利用PowerShell設定及查詢時區



Get-TimeZone
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-timezone?view=powershell-7

Set-TimeZone
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-timezone?view=powershell-7

2020/01/21

jQuery DataTable指令小筆記

jQuery DataTables是一項功能強大的jQuery套件,讓表格擁有分頁、搜尋及排序等強大的功能,以下記錄工作時所用到的一些指令

利用row.add()增加資料

2019/10/16

找不到路徑 bin\roslyn\csc.exe 的一部分

這是從github把專案抓下來進行編譯時所發生的命案

將如下的內容加入到 *.csproj檔案 再重新開始偵錯便即可解決


c# - Could not find a part of the path ... bin\roslyn\csc.exe - Stack Overflow
https://stackoverflow.com/questions/32780315/could-not-find-a-part-of-the-path-bin-roslyn-csc-exe

找不到 roslyn\csc.exe ?! - Yowko's Notes
https://blog.yowko.com/missing-roslyn-csc/

[.NET] Web API找不到 bin 底下的 roslyn csc.exe ? ~ m@rcus 學習筆記
https://marcus116.blogspot.com/2018/11/net-web-api-bin-roslyn-cscexe.html

{oc.tech.notes} 技術誌: [ASP.NET MVC] 解決 DirectoryNotFoundException 找不到路徑 bin\roslyn\csc.exe 的問題
https://devmanna.blogspot.com/2019/06/aspnet-mvc-directorynotfound-roslyn.html

2019/07/11

解決No EditorOptionDefinition export found for the given option name問題

在某此電腦鎖定後,再登入Windows就發生了這項狀況,解決的步驟如下

1.關閉Visual Studio
2.開啟資料夾%LocalAppData%\Microsoft\VisualStudio\12.0\
3.重新命名ComponentModelCache資料夾
4.重開Visual Studio

c# - No EditorOptionDefinition Export Found Error - Stack Overflow
https://stackoverflow.com/questions/23893497/no-editoroptiondefinition-export-found-error

解決VS打開文件出現No EditorOptionDefinition export found for the given option name問題 - BlinkZero的博客 - CSDN博客
https://blog.csdn.net/blinkzero/article/details/51906312

2019/05/23

轉貼ASP.Net WebForm Page事件發生先後順序

沒有使用 Master Page 情況下:
Page.PreInit
Page.Init
Page.InitComplete
Page.PreLoad
Page.Load
Page.LoadComplete
Page.PreRender
Page.PreRenderComplete

使用了 MasterPage 情況, MasterPage 與 ContentPage 事件順序:
ContentPage.PreInit
Master.Init
ContentPage.Init
ContentPage.InitComplete
ContentPage.PreLoad
ContentPage.Load
Master.Load
ContentPage.LoadComplete
ContentPage.PreRender
Master.PreRender
ContentPage.PreRenderComplete

[ASP.NET] Page事件發生先後順序 @ 我要回家想一想~ :: 痞客邦 ::
http://jojosula001.pixnet.net/blog/post/161458889

ASP.NET 網頁存留週期概觀
https://technet.microsoft.com/zh-tw/ms178472(v=vs.71)