随笔分类 -  .NET 相关

摘要:关于产品 Azure Serverless (无服务器)https://azure.microsoft.com/zh-cn/solutions/serverless/ Azure Functions (函数应用)https://azure.microsoft.com/zh-cn/products/f 阅读全文
posted @ 2024-12-11 13:22 jinzesudawei 阅读(33) 评论(0) 推荐(0) 编辑
摘要:关于产品 Azure Serverless (无服务器)https://azure.microsoft.com/zh-cn/solutions/serverless/ Azure App Service (应用服务)https://azure.microsoft.com/zh-cn/products 阅读全文
posted @ 2024-12-06 16:10 jinzesudawei 阅读(16) 评论(0) 推荐(0) 编辑
摘要:关于产品 Azure Serverless (无服务器)https://azure.microsoft.com/zh-cn/solutions/serverless/ Azure DevOps (代码托管,项目敏捷管理,CI/CD)https://azure.microsoft.com/zh-cn/ 阅读全文
posted @ 2024-12-06 15:18 jinzesudawei 阅读(13) 评论(0) 推荐(0) 编辑
摘要:gRPC 测试客户端工具 Apifox = Postman + Swagger + Mock + JMeterhttps://apifox.com/ 关于为何使用 gRPC? 相较于 REST 使用 gRPC 服务具有以下优势: 性能方面 高效的通信协议 gRPC 基于 HTTP/2 协议,而 RE 阅读全文
posted @ 2024-11-22 15:41 jinzesudawei 阅读(104) 评论(0) 推荐(0) 编辑
摘要:官网 https://mumu.163.com/ 操作步骤 1. 开启 Mumu 模拟器的【开发者模式】模式。 2. 在【问题诊断】中查看 ADB 端口号 3. 在 Visual Studio 中找到 "Tools / Android / Android Adb Command Prompt" 4. 阅读全文
posted @ 2024-07-18 17:31 jinzesudawei 阅读(215) 评论(0) 推荐(0) 编辑
摘要:操作步骤 1. 设备开启【开发者模式 / USB调试】模式,并用 USB数据线 连接到电脑。 2. 在 Visual Studio 中找到 "Tools / Android / Android Adb Command Prompt" 3. 使用命令监听端口 adb tcpip 5555 4. 使用命 阅读全文
posted @ 2024-06-26 14:05 jinzesudawei 阅读(119) 评论(0) 推荐(0) 编辑
摘要:服务地址 服务地址 端口 163 邮箱 smtp.163.com 25 QQ 邮箱 smtp.qq.com 587 Outlook 邮箱 smtp.office365.com 587 范例:163 邮箱 1) 开启 SMTP 服务 2) 申请 "授权密码" 邮件发送功能 using System; 阅读全文
posted @ 2023-06-29 19:42 jinzesudawei 阅读(156) 评论(0) 推荐(0) 编辑
摘要:环境 Visual Studio 2022Oracle.DataAccess.dll v4.121.2.0 错误信息 在 VS 中启动 IIS Express ,收到报错信息Could not load file or assembly 'Oracle.DataAccess' or one of i 阅读全文
posted @ 2023-02-23 11:24 jinzesudawei 阅读(292) 评论(0) 推荐(0) 编辑
摘要:修改前 <rsweb:ReportViewer ID="ReportViewer1" runat="server"></rsweb:ReportViewer> 修改后 <rsweb:ReportViewer ID="ReportViewer1" runat="server" width="100%" 阅读全文
posted @ 2022-06-08 11:36 jinzesudawei 阅读(48) 评论(0) 推荐(0) 编辑
摘要:#1. UOS系统下载 统信UOS桌面专业版x86_64https://www.chinauos.com/resource/ #2. 在 Hyper-V 虚拟机中进行安装 #3. UOS进入开发者模式 #4. 安装 Docker https://docs.docker.com/engine/inst 阅读全文
posted @ 2021-03-28 00:13 jinzesudawei 阅读(1346) 评论(0) 推荐(0) 编辑
摘要:业务需求 使用 .Net 服务发送的邮件,如何统计打开率? 解决方案 在邮件中附加一张图片,图片 src 路径为 .Net WebAPI 提供的图片资源。当图片加载时,可以传递参数进行数据分析。 注意事项 图片资源为 HTTPS 路径可以直接加载使用;如果为 HTTP 路径则会被邮件进行默认替换。 阅读全文
posted @ 2020-09-14 01:08 jinzesudawei 阅读(194) 评论(0) 推荐(0) 编辑
摘要:框架 后端服务:.Net Core 3.1 WebAPI前端页面:.Net Core 3.1 MVC 服务端 1. 跨域配置(CORS) 使用 Nuget 安装 Microsoft.AspNet.WebApi.Cors 2. 项目配置(Startup) public class Startup { 阅读全文
posted @ 2020-08-29 01:06 jinzesudawei 阅读(2099) 评论(0) 推荐(0) 编辑
摘要:背景 树莓派 4B + Ubuntu 20.04.1 LTS + MongoDB v3.6.8 配置步骤 1. 在 admin 表中添加超级管理员账号 2. 添加业务表,创建普通用户并分配权限 3. 修改 mongodb 配置文件,开启鉴权,开放外网访问权限(IP + 端口)。 sudo nano 阅读全文
posted @ 2020-08-02 01:19 jinzesudawei 阅读(1732) 评论(0) 推荐(0) 编辑
摘要:背景 在 Blazor Wasm 应用中,尝试使用 HttpPatch 对记录进行更新操作。 [Route("api/[controller]")] [ApiController] public class PersonController : ControllerBase { private Li 阅读全文
posted @ 2020-05-10 02:28 jinzesudawei 阅读(1209) 评论(0) 推荐(0) 编辑
摘要:背景 发布并部署一个 Blazor Wasm 应用到 IIS 问题 发布时如果选择了 Product single file,会得到 HTTP Error 500.38 - ANCM Application DLL Not Found 的错误 原因分析 HTTP Error 500.38 ANCM 阅读全文
posted @ 2020-05-08 21:50 jinzesudawei 阅读(3783) 评论(1) 推荐(2) 编辑
摘要:什么是 Worker Service(辅助角色服务)? .NET Core 3.0 新增了 Worker Service 的新项目模板,可以编写长时间运行的后台服务,并且能轻松的部署成 windows 服务或 linux 守护程序。 如果安装的 vs2019 是中文版本,Worker Service 阅读全文
posted @ 2020-03-21 00:11 jinzesudawei 阅读(4337) 评论(0) 推荐(0) 编辑
摘要:硬件:Raspberry Pi 4B系统:Ubuntu 19.10 (Eoan Ermine) for IOT.Net Core 官网:https://dotnet.microsoft.com/download/dotnet-core/3.1 操作步骤 1. 系统环境准备 sudo apt-get 阅读全文
posted @ 2020-03-15 17:15 jinzesudawei 阅读(1610) 评论(0) 推荐(0) 编辑
摘要:准备材料 1. 服务开通(新用户首次购买,一个月以内不高于2QPS,免费) 链接地址:https://common-buy.aliyun.com/?commodityCode=face_pre#/open 2. 支付费用后可登陆控制台(现阶段管理控制台功能还不完善,不过不影响程序的测试调用)。 链接 阅读全文
posted @ 2020-02-18 00:02 jinzesudawei 阅读(716) 评论(0) 推荐(0) 编辑
摘要:从 .xlsx 文件中读取记录 从 .csv 文件中读取记录 Excel Helper using ExcelDataReader; using OfficeOpenXml; using System; using System.Collections.Generic; using System.D 阅读全文
posted @ 2020-02-16 22:15 jinzesudawei 阅读(491) 评论(0) 推荐(0) 编辑
摘要:System.Collections.Concurrent 为此,在.NET Framework中提供了System.Collections.Concurrent新的命名空间可以访问用于解决线程安全问题,通过这个命名空间能访问以下为并发做好了准备的集合。1.BlockingCollection 与经 阅读全文
posted @ 2019-09-26 04:01 jinzesudawei 阅读(827) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示