ASP.NET Core 5.0 撰寫RESTful API的新增、查詢、修改、刪除功能,以及參數來源與StatusCodes設定Http Status Code。最後,在.NET…
使用aspnet_regiis.exe建立RSA金鑰,將 web.config 裡的資料庫連線字串等較為敏感的內容做加密。
JWT(JSON Web Tokens)是一種開放、標準的 RFC 7519 方法,用於在兩方之間以JSON物件安全的傳遞訊息。本篇將以ASP.NET Core…
Vue專案結構巡覽。Vue檔案中的組成架構 : template、script、style。
專案結構
ASP.NET MVC專案使用NPOI套件。前端上傳Excel檔案,後端接收檔案(HttpPostedFileBase)後使用NPOI解析Excel至DataTable,並將資料新增至資料庫中。
Vue能夠將部分程式碼封裝起來元件化,即為Components(元件)。就像是把原本整頁的HTML拆分成各個小元件,再由這些元件組合重想要的HTML畫面。元件能夠重複呼叫、使用,達到元件共用的效果。
Vue Router為Vue官方提供的路由管理器,讓前端頁面可以操作route。本篇將利用router-link與router-view讓頁面可以透過左側選單(side navigation…
Vue的data屬性,可以用來存放資料,供後續的畫面呈現與操作。data中的資料可以搭配v-model達到資料雙向綁定,當data資料變更時,呈現在畫面上的資料也會隨著變更。…