原创 【簽名加解密】c# rsa 解密超過128報錯解決
分段解密 public string DecryptJava(string privateKeyJava, string data, string encoding = "UTF-8") { R
原创 【activemq artemis】關於MQTT協議的WebSocket配置
官方文檔:http://activemq.apache.org/components/artemis/documentation/latest/mqtt.html Web Sockets Apache ActiveMQ Artemis al
原创 【activemq artemis】關於 Apache.NMS.AMQP 使用注意事項。
官方文檔http://activemq.apache.org/components/nms/providers/amqp/ 提到: AMQP1.0 Protocol Engine AmqpNetLite Apache-NMS-AMQP us
原创 水一貼,用任何一種語言導出oracle存儲過程(視圖)腳本
原理:依賴oracle user_source數據字典,將腳本select出來拼成字符串。 具體實現參考隔壁大佬:https://blog.csdn.net/xiaoqiaoluanwu/article/details/48733781 有
原创 關於C#使用XMLDocument生成XML文檔時,UTF-8編碼的BOM問題:
XmlSerializer 的序列化 默認指定 編碼 xmlWriterSettings.Encoding = Encoding.UTF8; 這種編碼是帶bom標記位(BOM: byte order mark : 字節順序標記)的。
原创 【activemq classic】 消息特性:延遲和定時消息投遞
ActiveMQ from version 5.4 has an optional persistent scheduler built into the ActiveMQ message broker. It is enabled by
原创 【activemq artemis】新一代ActiveMQ —— Apache ActiveMQ Artemis
安裝: 參考文章:https://www.jianshu.com/p/b2734268aaaf 修改config: 參考文章:https://www.cnblogs.com/renshengruxi/p/11671737.html 官方關於
原创 【activemq classic】activemq+ mqttws3.1 實現持久化訂閱
activemq版本:5.15.3 Eclipse Paho MQTT JavaScript library mqttws3.1:在amq安裝目錄下webapp-demo目錄下可以找到 實現步驟請閱讀以下幾篇文章: 1.https
原创 【activemq artemis】消息持久化——文件系統以及jdbc
說明文檔主要翻譯自官方文檔,關鍵環境的配置我加入一些描述和截圖,整體配置還是挺順利。 警告:Apache ActiveMQ Artemis JDBC持久性存儲正在開發中,包含在其中用於評估。 Apache ActiveMQ Arte
原创 【activemq artemis】安全相關配置
acceptor結點: <acceptor name="artemis">tcp://0.0.0.0:{port1}?remotingThreads=200;sslEnabled=true;keyStorePath=/etc/artemis
原创 【微信原生支付】——服務商,小微商戶專屬接口:小微商戶新增對應APPID關聯API,使用注意
文檔地址:https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=20_3&index=3 這個接口比較特殊不需要nonce_str和sign_type,並且沒有告知使用哪個si
原创 新一代ActiveMQ —— Apache ActiveMQ Artemis
資料: .net demo : https://github.com/apache/activemq-artemis/tree/master/examples/protocols/amqp/dotnet AMQP 1.0 .NET Libr
原创 c# 對XML進行數字簽名並且讓java驗籤成功
實現: 1.c#將xml報文做數字簽名發送到java服務,java服務成功驗籤。 2.c#服務對收到java服務推送的xml報文成功驗籤。 前提: 1.java服務要求 遇到問題: 1.Java和.net 之前 RSA 私鑰祕鑰格式問題。
原创 X509Certificate2 本地正常,放到線上內部錯誤
iis 找到部署的站點應用連接池,右鍵高級設置,找到“加載用戶配置文件”改爲true。window service2008 默認爲false的。