Dependencies

ActivityFeed depends on the following third party libraries available as NuGet packages:

Changing RavenDB connection string used by ActivityFeed

ConnectionString can be changed in Web.config file under <connectionStrings> section.

    <connectionStrings>
        <add name="ActivityFeed" connectionString="Url=http://ravenDb:8080;User=u;Password=p" />
    </connectionStrings>
ConnectionString can be one of: If no ActivityFeed connection string is not present, Memory is assumed as default.

Registering ActivityFeed api http handler

ActivityFeed exposes a REST api used by a UI. The API is realized as a custom http handler that needs to be registered in web.config.
NOTE: This is done automatically by OpenWaves.ActivityFeed.Web NuGet package.

<location path="activityFeed">
        <system.web>
            <httpHandlers>
                <add name="AF" verb="*" path="*" type="OpenWaves.ActivityFeed.Web.Hanlder.ActivityFeedApiHandler"  />
            </httpHandlers>
        </system.web>
        <system.webServer>
            <modules runAllManagedModulesForAllRequests="true" />
            <validation validateIntegratedModeConfiguration="false" />
            <handlers>
               <add name="AF" verb="*" path="*" type="OpenWaves.ActivityFeed.Web.Hanlder.ActivityFeedApiHandler" />
      </handlers>
    </system.webServer>
  </location> 

ServiceLocator.SetResolver(new BasicResolver()
    .Register<IDocumentSessionProvider>(new DocumentSessionPerRequestProvider()));