Marcus116.blogspot.com

[.NET] 當 Dapper 遇到 SQL uniqueidentifier Type ~ m@rcus 學習 …

WEB問題 Dapper 的輕巧與容易上手程度是大家有目共睹的,在公司中大部分專案也是選擇 Dapper 資料庫做存取資料的動作,近期接獲同事詢問在開發時透過 Stored …

Actived: Just Now

URL: https://marcus116.blogspot.com/2019/04/net-dapper-sql-uniqueidentifier-type.html

[NETCore] 如何設定 ASP.NET Core 健康檢查(Health Check)功能 …

WEB前言 在前一篇針對 ASP.NET Core 2.2 新特性 Health Check功能做基本的介紹,接著要分享的是在 BeatPulse 中實用的功能 Health Check UI,提供 UI 介面顯示及 …

Category:  Health Go Health

[NETCore] 如何設定 ASP.NET Core 健康檢查(Health Check)功能

WEB基本使用 Health Check 為 ASP.NET Core 2.2 內建,因此使用前不需要透過 nuget 下載任何 package 套件,只需要簡單的註冊服務就可以使用,首先在 Sartup.cs 中 …

Category:  Health Go Health

[C#] Array陣列中加入元素 ~ m@rcus 學習筆記

WEB前言. 此篇文章是要記錄 如何在Array陣列中加入元素 ( 之前是 如何移除 Array 陣列中指定的元素 ) 查了一下MSDN Array 陣列成員 不提供add的方法加入新的元 …

Category:  Health Go Health

[VisualStudio] 修改 Visual Studio 專案預設路徑 ~ m@rcus 學習筆記

WEB修改新增專案資料夾位置方式如下. Step 1 : Visual Studio > Tools > Option. Step 2 :Project and Solutions > Location > Project Location. 路徑修改完畢之後即可,另 …

Category:  Health Go Health

[.NETCore] ASP.Net Core 使用 Big5 中文編碼 ~ m@rcus 學習筆記

WEB在 .NET Framework 時要取得中文編碼可以使用 Encoding.GetEncoding ("BIG5"),今天在練習專案時遇到類似的情境很直覺的在將 Code 套用在 .NET Core …

Category:  Health Go Health

[Powershell] Windows中開啟PowerShell的幾種方式 ~ m@rcus 學 …

WEB以下就整理出開啟 powershell 的幾種方式. 快速搜尋. 透過開始 > 搜尋 powershell > 在按右鍵以 admin 執行,這也是最常用到的方式. 工具管理員. 在工具管理 …

Category:  Health Go Health

[.NET] ILSpy 程式碼反組譯工具 ~ m@rcus 學習筆記

WEBchoco install ilspy --pre. 安裝完畢後點選 ILSpy.exe 開啟畫面如下. 使用方式. 左邊區塊為導覽,可以點選你想查看的 dll,右邊是反組譯的內容,舉例來說想了解 …

Category:  Health Go Health

[Redis] 在 Windows 下載與安裝 Redis ~ m@rcus 學習筆記

WEBRedis 是將資訊存放在 memory 中很容易就把記憶體吃光光,可以設定使用 memory 的上限值. 接著瘋狂按下一步,就可以完成 Redis 安裝步驟。. 前面有提到透過 …

Category:  Health Go Health

[Git] Git Client 版本管理工具

WEBStep 1 : 公司筆電是 Windows 因此下載 Fork for Windows 版本,如果開發筆電是 Mac OS 在 fork 也支援下載使用. Step 2 : 在安裝應用程式之前,系統會要求輸入 …

Category:  Health Go Health

[.NET] 檔案名稱: redirection.config 錯誤: 無法讀取設定檔案,因為 …

WEB設定 ApplicationPoolIdentity. Step 1 : 開啟 IIS > 選擇應用程式集區 > 選擇要設定的 Application Pool > 按下進階設定. Step 2 : 拉到最下方 > 選擇 識別. Step 3 : 說 …

Category:  Health Go Health

[VS2017] 如何用 Visual Studio 2017 專案設定 .gitignore

WEB透過 Visual Studio 2017 設定. Step 1. 開啟專案檔,點選 Team Explorer. Step 2. 點選設定. Step 3. 會跳出 Git 設定,選擇存放庫設定. Step 4. 接下來會跳出此 …

Category:  Health Go Health

服務並未以適時的方式回應啟動或控制請求。

WEB解決方案. 首先第一步要知道啟動失敗的原因,當 Windows Service 在啟動服務失敗時,會透過 GetLastError函數回傳錯誤訊息,並將其錯誤原因與錯誤代碼做 …

Category:  Health Go Health

[IIS] 如何在 Windows 10 Pro 安裝 IIS ~ m@rcus 學習筆記

WEB展開 Internet Information Services > World Wide Web Service > Application Development Features. 底下ASP.NET 3.5 項目打勾. 按下OK,就會安裝相關程式. 確認. …

Category:  Health Go Health

[.NET] 如何取得 Enum 的 Description 描述字串 ~ m@rcus 學習筆記

WEB在使用上可以於 Enum 加上 DescriptionAttribute 加上列舉值的描述,這篇文章簡單紀錄如何取得 Enum 自定義的 Description 描述的字串. 作法 : 擴充方法 …

Category:  Health Go Health

[VS2017] 如何修改 Visual Studio IDE 顯示語系 ~ m@rcus 學習筆記

WEBStep 3 : 升級完成後會看到下圖,點選左邊的 修改. Step 4 : 點選語言套件,選擇所需要新增的語系,按右下角修改. Step 5 : 安裝語言套件過程是需要關閉 Visual …

Category:  Health Go Health

[.NET] Web API找不到 bin 底下的 roslyn csc.exe

WEB發生情境 從版控 Git 上抓下新專案要進行建置時 ,發生建置失敗的事件錯誤訊息如下 Could not find a part of the path 'D:\git\projectName\bin\roslyn\csc.exe'. 從建 …

Category:  Health Go Health

[C#] 刪除 Array 陣列中指定的元素 ~ m@rcus 學習筆記

WEB此文章紀錄如何移除 Array 陣列中指定的元素!. int myRemoveNum = 53; 透過 Enumerable.Where<TSource>方法,找出輸入資料符合條件的項目。. int …

Category:  Health Go Health

[VS2017] 如何設定 Visual Studio 2017 預設用 Administrator身份執行

WEB處理方式. 解法 1 : 用 Admin 執行. 在Windows 搜尋 Visual Studio 2017,按下右鍵點選以系統管理員身分執行. 但每次開始都要先點很容易忘記,對年紀大的人來說 …

Category:  Health Go Health