How to load a DLL files in Azure Synapse notebooks (C#)

Eric Huang (M365) 41 Reputation points Microsoft Employee
2022-01-10T05:33:35.56+00:00

For Python and Java/Scala, engineers can upload .whl and .jar files to Synapse and use them in Spark notebooks, but I can not find any document about how to load .dll file in C# Spark notebooks.

https://learn.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-azure-portal-add-libraries

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,426 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 78,576 Reputation points Microsoft Employee
    2022-01-12T04:51:07.3+00:00

    Hello @Eric Huang (M365) ,

    Thanks for the question and using MS Q&A platform.

    Currently, the only way you can use a .dll file in Synapse notebooks is by packaging it into a NuGet and installing it in the notebook.

    We don’t support workspace packages for .NET. You can load Nuget packages via session management: Use .NET for Apache Spark - Azure Synapse Analytics | Microsoft Learn

    Note: If your .dll files are not a part of a publicly available NuGet package, and you need to use a private NuGet, please let me know and we can sync up on the steps needed to do that.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful