Haoger's Blog


  • 首頁

  • 分類

  • 歸檔

  • 檢索

ASP.NET Core 依賴注入的 ServiceProviderOptions

發表於 2024-11-09 | 分類於 ASP.NET Core

公司的某專案經常切換成其他非 Development 的環境開發,而這個專案啟動時會先連資料庫查詢資料,程式碼大致上如以下所示:

閱讀全文 »

透過 API 觸發 Azure WebJobs

發表於 2024-03-27 | 分類於 Microsoft Azure

最近碰到需要透過手動觸發一個長時間執行作業的需求,於是我使用當前想到最方便的方式去實作,也就是 Azure Web App 中的 WebJobs

閱讀全文 »

在 Azure Web App 下載發行設定檔

發表於 2024-03-01 | 分類於 Microsoft Azure

以前為了執行簡易的測試,會下載發行設定檔將程式部屬至 Web App,但這次要下載時發現被阻擋,出現 Basic authentication is disabled. 的訊息

閱讀全文 »

將 ASP.NET Core Web API 部署至 GCP App Engine

發表於 2023-10-31 | 分類於 ASP.NET Core

安裝 Google Cloud CLI

閱讀全文 »

如何在 Azure Web App 透過 Web Driver 爬蟲

發表於 2023-06-21 | 分類於 ASP.NET Core , Microsoft Azure

最近需要在 Web API 專案透過 Web Driver 爬蟲,在本機可以順利執行爬蟲,但部署到 Azure Web App 後就失敗了

閱讀全文 »

連線字串的密碼消失了!?Persist Security Info 的用途

發表於 2023-02-11 | 分類於 .NET Core , SQL Server

某天使用 LINQPad 寫程式,裡面混用了 LINQ to SQL 以及 Dapper,我認為很簡單的程式,卻莫名其妙出現 SqlException

閱讀全文 »

在 SSMS 顯示欄位完整內容

發表於 2022-10-05 | 分類於 SQL Server

從 SSMS 複製查詢結果是 varchar(max) 或 nvarchar(max) 的欄位時,由於字串內容太長,所以複製出來的字串都會被截斷,非常煩人,本篇文章記錄一下解決方法

閱讀全文 »

如何連接 Azure Web App 的 MySQL in App

發表於 2022-05-19 | 分類於 Microsoft Azure

在啟用 Azure Web App 的 MySQL in App 功能後,它會提供一個環境變數讓你取得連線字串

閱讀全文 »

ASP.NET Core Web API 整合 Angular 至同站台

發表於 2022-03-15 | 分類於 ASP.NET Core , Angular

以下是我覺得將 ASP.NET Core Web API 整合 Angular 至同站台比較簡單的方式

閱讀全文 »

Azure DevOps 設定 Angular 的 CI/CD Pipeline

發表於 2022-02-28 | 分類於 Azure DevOps

事前準備

閱讀全文 »
1 2 3
Haoger

Haoger

23 文章
12 分類
RSS
GitHub
© 2024 Haoger
由 Jekyll 強力驅動
主題 - NexT.Pisces