简体   繁体   English

部署Azure Data Factory v2应用

[英]Deploy azure data factory v2 app

I'm trying to find any way to publish my console app (.net) written for azure data factory v2. 我试图找到任何方式发布为Azure Data Factory v2编写的控制台应用程序(.net)。 But could not find any solution. 但是找不到任何解决方案。

More details would be really appreciated but if you mean that you are using the .NET SDK to create ADF V2 objects, my understanding is that there is no such thing as publish compared to the new User Interface in the portal where you create/edit the objects first and then you click on publish. 我们将非常感谢您提供更多详细信息,但是如果您要使用.NET SDK创建ADF V2对象,则我的理解是,与在其中创建/编辑门户的新用户界面相比,没有发布之类的东西。对象,然后单击发布。

if you use the library they get automatically uploaded to ADF V2 and you can easily test that now with the new UI. 如果您使用该库,它们会自动上传到ADF V2,并且您现在可以使用新的UI轻松对其进行测试。

It would be useful to have a bit more info on your context. 获得更多有关您的上下文的信息将很有用。 You're talking about running a custom activity from an Azure Batch account? 您是在谈论从Azure Batch帐户运行自定义活动吗? What did you try already? 您已经尝试了什么?

When running a custom activity, you'll have to upload your executable + depedencies to an Azure storage account. 运行自定义活动时,必须将可执行文件+依赖关系上传到Azure存储帐户。 Create a blob container and copy the files there. 创建一个blob容器并将文件复制到那里。 Then you'll have to configure the activity to use this storage account and the point it to the right container. 然后,您必须配置活动以使用该存储帐户,并将其指向正确的容器。

If you're asking for a deployment like a right-click -> deploy option, it doesn't exist. 如果您要求像右键单击->部署选项这样的部署,则该部署不存在。 I've automated my deployments using PowerShell, using Set-AzureStorageBlobContent to write the files to the Storage account. 我使用PowerShell通过Set-AzureStorageBlobContent将文件写入存储帐户中来自动化部署。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM