For development purposes, I would like to store a diagram.xml file among my web site files, then load the diagram using DiagramBuilder. I have successfully loaded a file from the local file system in the %Temp% location, but can't seem to get it to work for a file stored in the web site itself. I have tried passing the following strings to the Load method, all of which result in an empty DiagramModel:
/Content/diagram.xml
~/Content/diagram.xml
http://localhost:9999/Content/diagram.xml
By the way, if I enter the fully qualified URL into a browser, I can see the XML stored in the file.
Is what I want to do possible? If so, can anyone help me with getting the right syntax? Thanks for your help.