-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Below is an example web.config file for setup and testing Oda. This web.config file will get the core program running and has a SQL connection for connecting to an MS SQL server using the SQL plugin assembly. Any plugins, like SQL or Authentication, should be placed in the web site's /bin directory along with the core DLL.
To use Oda, create a new web site and build and add the Oda.Core.dll file to the /bin directory of your web site and modify or add a web.config file in the root directory of your web site to contain at the very least the following lines in your web.config file:
<system.web> <httpRuntime maxRequestLength="4194302" maxQueryStringLength="20000" requestValidationMode="2.0" requestPathInvalidCharacters="" /> <httpModules> <clear/> <add type="Oda.Core" name="Oda.Core"/> </httpModules> </system.web>
Note: When using IIS6 you must add the following line to the "Wildcard application maps" in the "Configuration..." dialog on the "Home Directory" tab of your web site's Property dialog. The "Verify that file exists" checkbox should be unchecked. '%systemroot%\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll'
See the topic /Making Requests and Reading Responses for how to make requests and read responses.
This information is preliminary and intended for testing only. Complete documentation will be available later.