OpenDDRdotORG / OpenDDR-CSharp

C# Implementation of OpenDDR-Simple-API
https://github.com/OpenDDRmobi/openddr-csharp/
GNU General Public License v3.0
5 stars 3 forks source link

Added relative path support to DDR Simple API Properties #1

Closed argentini closed 12 years ago

argentini commented 12 years ago

I modified the latest version to allow a user to pass the oddr.properties filename and relative web path when instantiating properties (for use with ASP.NET web projects). The constant "/FILESYSTEM_PATH_TO_RESOURCES/" is replaced with the specified relative path allowing the oddr.properties file to remain unedited. This does not affect the current functionality in any way.

I also have a web page sample that shows how to use OpenDDR in an ASP.NE/C# web project. The sample puts the service and data into an Application-level variable to make OpenDDR super fast and conserve memory.

If interested in these changes, please add me as a committer and I will push my changes to the repo.