[英]C# Write File From Azure Function to SharePoint On-Prem
Is there a way to write C# code in an Azure Function running in the Azure cloud to move files to and from an instance of SharePoint on-premises ?有没有办法在 Azure 云中运行的 Azure 函数中编写 C# 代码,以将文件移入和移出本地 SharePoint 实例? I have heard that to do this I require some sort of data gateway or connector of some sort to be in place.
我听说要做到这一点,我需要某种数据网关或某种连接器。
Any guidance much appreciated, thanks.非常感谢任何指导,谢谢。
Yes it would be possible but there's lots of factors to take into account with regards to your environment and how it is configured from a network perspective.是的,这是可能的,但是对于您的环境以及从网络角度对其进行配置的方式,需要考虑很多因素。
You are able to run Azure Functions within your on-premises environment.你可以在本地环境中运行 Azure Functions。 You can see some of the hybrid scenarios here:
你可以在这里看到一些混合场景:
https://docs.microsoft.com/en-us/azure/architecture/hybrid/azure-functions-hybrid#running-azure-functions-on-premises https://docs.microsoft.com/en-us/azure/architecture/hybrid/azure-functions-hybrid#running-azure-functions-on-premises
There's also App Service Hybrid Connections which allow you to reach on-premises infrastructure:还有应用服务混合连接,可让您访问本地基础架构:
https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections
There's a devblogs post with a scenario you can read also:有一个 devblogs 帖子,其中包含您还可以阅读的场景:
https://devblogs.microsoft.com/premier-developer/using-azure-app-services-with-hybrid-connections/ https://devblogs.microsoft.com/premier-developer/using-azure-app-services-with-hybrid-connections/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.