简体   繁体   English

C# 将文件从 Azure 函数写入 SharePoint On-Prem

[英]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.

相关问题 Azure Function App对本地资源的访问权限(网关?) - Azure Function App access to on-prem resource (Gateway?) 使用本地SMTP服务器从Azure发送电子邮件 - Sending email from Azure using on-prem SMTP server Dynamics 365(本地):与多个团队共享记录-C# - Dynamics 365 (On-Prem): Share record with multiple teams - C# 使用 Azure AD 的用户名和密码进行本地 ADFS 身份验证(SharePoint-Online) - On-Prem ADFS Authentication with username and password to Azure AD (SharePoint-Online) Azure API App连接到本地文件共享 - Azure API App connect to on-prem fileshare TimeSeparator在本地服务器和Azure Web App之间有所不同 - TimeSeparator differs between on-prem server and Azure Web App Azure Active Directory OAuth 身份验证到本地 IIS - Azure Active Directory OAuth authentication to on-prem IIS C# Azure Function 逐行写一个文件到Azure Blob File Share with ShareFileClient - Write a file to Azure Blob File Share line by line with ShareFileClient in C# Azure Function 从 SharePoint 在线下载文件 C# - Download a File from SharePoint Online C# 上传文件 IFormFile 到 Azure C# function - Uploading file IFormFile to Azure C# function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM