Web.config settings

 

There are 6 different keys inside this file which plays vital role for Restful application to work correctly.

Key

Description

RestfulEnabled

Enables RESTful API.

RestfulHost

Specifies the URL of the Restful API provider and is used for constructing request URI.

Note: It is set by Deployment Wizard and empty before Deployment Wizard is run.

RestfulEnforcePublicPrivateKey

Enables  Public and Private Key authentication.

 

RestfulEnforceEncryption

Enables payload encryption using Crypto class.

RestfulPublicKey and RestfulPrivateKey

These keys are generated out of the box using 32 bit Cryptography. These are used by out of the box consumer and provider application, changing these key values could result in unauthorized request.

They are set by Application Wizard and Deployment Wizard