Azure Functions是一种事件驱动的按需计算体验,它扩展了现有Azure应用程序平台,具有实现由Azure或第三方服务以及本地系统中发生的事件触发的代码的功能。
我想检索数据并在返回用户之前格式化,但不知道如何检索数据,我看到上下文只提供了请求。 公共类CustomResponse:
ZUREFLEX消费应用程序未记录到应用程序Insights
为了清楚起见,我们在我们的flex消耗配置中使用applicationInsights_connection_string使用。这只是使用仪表键的一些旧逻辑应用程序。 这似乎是一个奇怪的巧合,我想知道微软是否改变了某种东西。
Unhandled exception. System.AggregateException: One or more errors occurred. (Unable to load one or more of the requested types. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.) ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.RuntimeModule.GetTypes() at Azure.Functions.Cli.ConsoleApp..ctor(String[] args, Assembly assembly, IContainer container) at Azure.Functions.Cli.ConsoleApp.RunAsync[T](String[] args, IContainer container) System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. File name: 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. File name: 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. File name: 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. File name: 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Azure.Functions.Cli.ConsoleApp.Run[T](String[] args, IContainer container) at Azure.Functions.Cli.Program.Main(String[] args)
但是什么都没有起作用,下面是我的代码的一部分,它从API获取数据:
当使用本地使用时,它可以按预期工作,但部署到Azure时不行。
使用Azure函数在数据出厂管道中使用Azure函数在文件夹中的Parse多个XML文件
I有Python代码可以在Parquet或CSV格式的另一个数据湖容器中解析和编写XML数据,但是我面临的挑战是如何配置Azure功能,该功能应放在数据出厂管道的UNZIP/COPY活动旁边。当解压缩活动完成位置的未拉链文件夹的放置时,该功能应触发。
Azure Portal的Azure函数概述不断显示在外部启动类中配置服务的错误。但是,我的HTTP触发的API正常起作用,并触发计时器触发功能