Storing static xmls files in a folder and read from azure

Hi ,

Am developing a worker role where I have  few xml files.

Which I need to add them to worker role.

Idea is to read data from these xml files.

..

So I have created a folder and inside it placed xml files.

From c# I am accessing like

string fileName ="FolderName/myfile.xml";

var temp= XElement.Load(fileName);

but it is not wroking.

So How to add physical files to azure worker role and read them

Thanks in advance.

May 20th, 2015 6:22am

Hello,

We are researching on the query and would get back to you soon on this.

I apologize for the inconvenience and appreciate your time and patience in this matter.

Regards,
Azam khan

Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 3:55am

Hi,

  Please refer to the following StackOverflow thread which discusses a similar issue.
  http://stackoverflow.com/questions/16211119/windows-azure-cloud-service-access-to-deployed-xml-file-denied
  also
  http://blogs.msdn.com/b/philliphoff/archive/2012/06/08/add-files-to-your-windows-azure-package-using-role-content-folders.aspx
  http://blogs.msdn.com/b/jnak/archive/2009/01/28/adding-files-to-your-windows-azure-service-package.aspx
 
Regards,
Nithin Rathnakar

May 26th, 2015 4:12am

Hi,

  Please refer to the following StackOverflow thread which discusses a similar issue.
  http://stackoverflow.com/questions/16211119/windows-azure-cloud-service-access-to-deployed-xml-file-denied
  also
  http://blogs.msdn.com/b/philliphoff/archive/2012/06/08/add-files-to-your-windows-azure-package-using-role-content-folders.aspx
  http://blogs.msdn.com/b/jnak/archive/2009/01/28/adding-files-to-your-windows-azure-service-package.aspx
 
Regards,
Nithin Rathnakar

May 26th, 2015 8:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics