前言
最近同事談到因為 Domain 物件的屬性設定為 private set ,
所以在測試專案中的測試程式要設定該屬性值時,
要透過 Reflection 方式來設定值。
不知大家是否也有類似的問題呢?
private set 的屬性,private 的 method …
Hello! 我是 RM
透過 Azure Function 的 Queue trigger Function 來取得資料(JSON 字串)時,
在 Queue 中的資料都還沒有被 Function 處理,
Console 就 Log 出 Message has reached MaxDequeueCount of 5. Moving message to queue {myQueueName}-poison ,
然後 Queue 中的內容就搬到了 {myQueueName}-poison 去了。
如果在 Azure Function 的 Application Insights 看到的錯誤有可能是 System.Text.DecoderFallbackException at System.Text.DecoderExceptionFallbackBuffer.Throw
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true