Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: How to use newer version of Microsoft.Practices.EnterpriseLibrary.Common?

$
0
0
Thanks a lot! I owe you a beer : ) Below is the Startup.cs as future reference which one also uses dashboard:
using CompositeC1Contrib.ScheduledTasks;
using Hangfire;
using Hangfire.CompositeC1;
using Microsoft.Owin;
using Owin;

[assembly: OwinStartup(typeof(MyWebApplication.Startup))]

namespace MyWebApplication
{
    public class Startup
    {
        public void Configuration(IAppBuilder app)
        {

            GlobalConfiguration.Configuration.UseCompositeC1Storage();
            app.UseHangfireDashboard();

            app.UseCompositeC1ContribScheduledTasks(config =>
            {
                config.JobStorage = new CompositeC1Storage();
            });
        }
    }
}


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>