Dynamic XML with ASP

  • Krimlin
  • Born
  • Born
  • No Avatar
  • Joined: Aug 29, 2010
  • Posts: 2
  • Status: Offline

Post August 29th, 2010, 7:43 am

Hello,

I'm working on an application for my work that needs to be able to create dynamic XML. For example I need other applications to be able to call say http://sitename/reports/report.xml from my web application. I need report.xml to be a static file but with dynamic content because I'm unable to write files to the server just to the database.

This is really straight forward in PHP with headers and telling the server to check xml files for PHP. But how would I do this in ASP(.)NET? My language is C#.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 29th, 2010, 7:43 am

  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post October 9th, 2010, 9:35 am

I recommend doing it pretty much the same way you would do it in PHP. If you have the PHP code post it here and I will talk you through porting it to .NET
Watch me grow
  • Krimlin
  • Born
  • Born
  • No Avatar
  • Joined: Aug 29, 2010
  • Posts: 2
  • Status: Offline

Post October 10th, 2010, 7:08 am

Thanks for the replay. My IT department was able to help me get this off the ground. They allowed me to put the xml file in a directory that my appliaction could write to.

Thanks again!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 289 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.