aliostad / CacheCow

An implementation of HTTP Caching in .NET Core and 4.5.2+ for both the client and the server
MIT License
847 stars 172 forks source link

Documentation Issue - Set up SqlServer #183

Closed Valter479 closed 7 years ago

Valter479 commented 7 years ago

capture

I am getting an error, should be the following, right?

        // CacheCow
        var connectionString = ConfigurationManager.ConnectionStrings["CacheCow"].ConnectionString;

        var eTagStore = new SqlServerEntityTagStore(connectionString);
        var cacheHandler = new CachingHandler(config, eTagStore);

       config.MessageHandlers.Add(cacheHandler);
aliostad commented 7 years ago

Yes! Thank you. I will fix it.

Update

Fixed!