Type Keyword 是 typescript 能將型別取一個別名的方式,例如我將型別 string
assign 給 myType,之後就可以用 myType 來定義變數的型別。1
2
3type myType = string;
let a: myType = 'hello';
let b: myType = 10; // Type 'number' is not assignable to type 'string'

Type Keyword 是 typescript 能將型別取一個別名的方式,例如我將型別 string
assign 給 myType,之後就可以用 myType 來定義變數的型別。1
2
3type myType = string;
let a: myType = 'hello';
let b: myType = 10; // Type 'number' is not assignable to type 'string'
自行 AuthorizeFilter
Continue readingASP.NET 提供了很方便帳號登入登出的驗證功能,今天就來說明一下,如何使用 ASP.NET 表單驗證(FormsAuthentication),來完成登入、登出以及驗證功能。
Continue reading今天文章會說明,安裝 SQL Server Express 後,使用 Microsoft SQL Server Management Studio 的 sa 帳號登入。
Continue reading最近為了將的壓縮、解壓縮、遠端連線硬碟、複製貼上等等的繁瑣的事情寫成 bat 檔案,花了很多時間。 所以就來記錄一下,用 command line 自動化的功能。
在佈署 Angular 專案的時候為了能夠快速複製到遠端主機上,所以通常會 ng build
後,將 build 出來的檔案壓縮,要完成這一連串的流程,通常都是寫 cmd 來處理。
I’m a person who is enthusiastic about Coding, and that’s my job by the way.
Web Developer