【Azure Developer】.NET Aspire 项目本地调试遇 Grpc.Core.RpcException 异常( Error starting gRPC call ... )
问题描述 本地调试 .NET Aspire 项目,启动时候遇见 Grpc.Core.RpcException 异常。 错误消息 Aspire.Hosting.Dashboard.Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111] Unhandl...

【Azure Function App】Azure Function 从.Net6 升级到 .Net8 后 Function出现运行时版本错误
问题描述 Azure Function 从.NET6 升级到 .NET8 后 Function出现运行时版本错误 问题解答 因为Azure Function在使用.NET6时,默认使用的为进程内模型(简单来讲:进程内模型就是应用运行在w3wp.exe 中,而独立进程模型是单独的 dotnet.exe 进程)。 ...

【Azure App Service】部署在App Service上的.NET应用内存消耗不能超过2GB的情况分析
问题描述 .Net应用程序部署在App Service for Windows环境中,已经根据需求把Platform的位数由32 bit 修改位 64 bit。 但是应用程序在运行一段时间后,一直抛出Out Of Memory异常。 System.OutOfMemoryException: at System.GC.AllocateNewArray ...

【Azure Developer】System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
问题描述 在Azure中,使用操作系统为Win Server 2019和Win Server 2012的虚拟机,同样代码可以链接同一个Azure Service Bus。Win2019 成功运行,但是在 Win2012上报错 :Could not create SSL/TLS secure channel. 问题解答 Win Server 2012默...
【Azure Developer】C# / .NET 静态函数中this关键字的作用
问题描述 在查看.NET代码的时候,发现一个静态方法,第一个参数使用 this 关键字,它在这里是什么作用呢? public static XElement AquireElement(this XContainer container, string name...

【Azure Developer】一个复制Redis Key到另一个Redis服务的工具(redis_copy_net8)
介绍一个简单的工具,用于将Redis数据从一个redis端点复制到另一个redis端点,基于原始存储库转换为.NET 8:https://github.com/LuBu0505/redis-copy-net8 ...

【Azure App Service】.NET代码实验App Service应用中获取TLS/SSL 证书 (App Service Linux/Linux Container)
在前一篇文章中,我们是把.NET 8应用读取SSL证书(X509)示例部署在App Service Windows环境中,那么如果部署在Linux环境,以及Linux Container中呢? 根据前文中的第一种方法,直接在...

【Azure App Service】.NET应用读取静态文件时遇见了404错误的解决方法
问题描述 使用.NET 8开发应用,部署到Azure App Service后,需要直接访问一些静态图片/视频文件,但是直接通过相对路径获取文件时,遇见404错误........ 问题解答 ...

【Azure App Service】.NET代码实验App Service应用中获取TLS/SSL 证书 (App Service Windows)
在使用App Service服务部署业务应用,因为有些第三方的接口需要调用者携带TLS/SSL证书(X509 Certificate),在官方文档中介绍了两种方式在代码中使用证书: 1) 直接使用证书文件路径加载证书 2) 从系统的证书库中通过指纹加载证书 本文中,将分别通过代码来验证以上两种方式. 第一步:使用PowerShell创建自签名...

【Azure Function】在VS Code中创建Function项目遇见 No .NET worker runtimes found
问题描述 VS Code中,已经安装了Azure Function插件,在创建C# Function时候遇见 No .NET worker runtimes found. 如下图: 问题解答 ...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。
开发与运维
集结各类场景实战经验,助你开发运维畅行无忧
+关注