Comments (7)
+1 We're using RavenDB which supports Async sessions.
from cachecow.
Please assign to me. I'm working on this now. See https://github.com/rbeauchamp-lendingtree/CacheCow/tree/feature/15
from cachecow.
Hi @rbeauchamp-lendingtree unfortunately not able to lose support for 4.0 as many clients still use 4.0. And doing async in 4.0 is a nightmare.
from cachecow.
@aliostad Not sure I understand. Are you saying that you don't want this implemented? Or if it is implemented, it needs to be done in .NET 4.0? How about a separate .NET 4.5 async build? Or just keep 4.0 clients on the old version and move on. Seems like for an ASP.NET Web API HTTP library, at some point you have to support async; this is an issue that's been open since Jan 2013. (And you have someone who is volunteering to do the hard work. It's a huge change!)
from cachecow.
A separate async build means supporting two different codebases and is a lot of work. It is kinda forking in a different direction. However, it would be nice to support.
So can you please outline your plan?
from cachecow.
I would support either of these plans:
- Upgrade to .NET 4.5, change the interfaces, and merge into a single code base. The older .NET 4.0 sync versions would be available via Nuget but not supported.
- Upgrade to .NET 4.5, change the interfaces, and commit to a separate branch which generates *.Async Nuget packages. Two codebases would be maintained producing a total 44 Nuget packages for the project.
@aliostad Since you are the repo owner, I'll leave the decision up to you.
from cachecow.
Thank you @rbeauchamp-lendingtree for volunteering.
The support of .NET 4.0 in CacheCow has been really important (and I suffered by writing async code in 4.0 with no async/await) but I think with vNext already on the horizon, we should drop it and move on.
So option 1 is the favourite. And this would be the v2.0. The nuget can stay as it is.
The work would entail:
- simplifying ContinueWith() codes to async/await
- removing parts of the code which I am offloading where async meets sync (serialisation/deserialisation)
- Updating all storages
Can you please confirm you are happy with this?
from cachecow.
Related Issues (20)
- no-cache problem in Net Core application HOT 10
- Invalidating or overwriting a cached object? HOT 2
- CacheCow.Client - honor Age header HOT 11
- PUT operations do not invalidate cache (RFC7234 Section 4.4) HOT 7
- CacheCow.Client doesn't support no-cache header when specified by the Request HOT 6
- NoCache option for WebApi HOT 7
- CacheCow is not caching (.NET 5.0) HOT 2
- RedisCacheStore - Buffer cannot be null HOT 4
- Problems using it in a .NET 5 WebApi project HOT 4
- New builds for .NET 5.0
- Client cached response content unable to read more than once HOT 7
- Microsoft has broken TraceSwitch in .NET Core
- Source code cannot be mapped for released nuget packages HOT 4
- Possibility to update Microsoft.AspNet.WebApi.Client to 5.2.9 HOT 2
- Tests sending HttpRequest is failing
- Question: Assistance with `.net60` WebApi HOT 6
- System.TypeLoadException: Could not load type 'CacheCow.Common.ConfigurationValueProvider' from assembly 'CacheCow.Common, Version=2.11.2.0 HOT 4
- Can PUT or Patch be made to return an ETag HOT 4
- use SqlStore in .net core HOT 2
- 0.6.3 to 2.11.3 Migration - Replacement for IRoutePatternProvider? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cachecow.