Burn a pdf file to Azure Files

asked 2021-11-05T15:23:51.533+00:00
zzonalivre 1 Reputation point

My service's api generates pdf files that need to be stored and then downloaded by an application. Is it possible to generate these pdf files within the application and save in file storege and then have a url to download this generated file?

If it's possible to do this, is there a tutorial that teaches you how to do it, step by step, using C# code?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
764 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-11-05T21:33:42.647+00:00
    deherman-MSFT 23,446 Reputation points Microsoft Employee

    It is certainly possible to upload files and generate SAS urls for Azure File storage. Please see Develop for Azure Files with .NET which walks you through these most of these tasks. There is also samples and information that can be found on GitHub.

    Since you are already working on doing this via SDK you might also consider blob storage. See Quickstart: Azure Blob Storage client library v12 for .NET for examples on how to do these tasks with blob storage. More information can also be found on GitHub.

    Hope this helps you get started! Let us know if you run into any questions or issues and we will be happy to help.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    No comments