Thanks for this component. Great code and comments – works like a treat ! BTW I am following you for any new stuff you have coming out.
Thanks. Glad you like it. Hopefully should have some new stuff out shortly.
there is no dll like “AvantPrime.Framework.Caching;” only “AvantPrime.Caching;” in the pack and when I use
“static readonly ICacheDirector Cache = new SingleServerCaching(CacheManager);”
it fails and error “Generate class for SingleServerCaching”
if i use “static readonly ICacheDirector Cache = new AvantPrime.CacheFabric.AspNetCache()”;
web.config fails “Unrecognized configuration section configsections.”
Line 25: <configsections>
Line 26: <section name=”cachingConfiguration” requirepermission=”true” type=”Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings, Microsoft.Practices.EnterpriseLibrary.Caching, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”>
For enterprise library caching you will need to add the necessary web.config/app.config entries.
See the documentation here: http://codecanyon.avantprime.com/portfolio/cachefabric and select the API usage tab. Also you can look here to find tools to help you: http://msdn.microsoft.com/en-us/library/ff649479.aspx
I will also update the namespaces in the documentation to AvantPrime.CacheFabric ASAP & provide a new upload to reflect this.
I have just updated the documentation and submitted revised assemblies. I have also included the AvantPrime.CacheFabric.XML to provide intellisense. Please consume the new assemblies and try again. Any problems feel free to contact me. I will add a small sample project shortly but if you need to it sooner send me a message and I will email it to you.
I have submitted the updated assemblies + XML help + Demo Project. This should be approved within the next 24hrs hopefully.
Thanks for your quick reply..
your solution is very useful.. so thanks…
You are very welcome. Much appreciated! If you need any assistance please don’t hesitate to ask.
When i try to run the WebForms demo from VS2012 (view in browser) i get an error:
Could not load type ‘Demo.TestWebForm.Global’.
<%@ Application Codebehind=”Global.asax.cs” Inherits=”Demo.TestWebForm.Global” Language=”C#” %>
I am not an expert on VS and i just want to use your code on a single ASP.NET website. What do i need to change/add (config/dll’s/scripts etc etc) in my existing website to make this work? CacheFabric for dummies, so too say
Appreciate any help/assistance
P.S. don’t know how extended the support is, but i have a demo website where the ASP.NET CMS is running and i could supply FTP access…
You will need to build the solution at least once before using the option to “view in browser”. If you have done this and it still doesn’t work try right clicking on default.aspx and selecting “view in browser”. If this still doesn’t work then simply select the project you wish to run, right click and select “set as start up project”, then click the run button either from your toolbar or the debug menu – “Start debugging” or press F5.
Still the same error as mentioned above. I am running AvantPrime.CacheFabric.Demo.sln through VS2012 and have set the WebForms as startup project, build the solution, run default.aspx in browser and debug F5. No luck!
Also some errors occure. The errors at build are:
Error 15 The type or namespace name ‘Caching’ does not exist in the namespace ‘Microsoft.Practices.EnterpriseLibrary’ (are you missing an assembly reference?) C:\Users\Marcellino\Downloads\codecanyon-3895224-cachefabric\Solution Demo\Demo.TestWebForm\Default.aspx.cs 10 45 Demo.TestWebForm
Error 16 The type or namespace name ‘ICacheManager’ could not be found (are you missing a using directive or an assembly reference?) C:\Users\Marcellino\Downloads\codecanyon-3895224-cachefabric\Solution Demo\Demo.TestWebForm\Default.aspx.cs 16 20 Demo.TestWebForm
Also a lot of warnings (14) which indicate that various assemblies can not be found.
Do i need to add all the packages into VS before running this? I haven’t done this.
There should be an assemblies folder which sits beside the “solution demo” folder.
You should not have to do anything else but ensure that your folder structure is like the above.
I just realized that another problem you may be having is that you may need to right click on the downloaded zip file > properties > unblock. Windows Vista, 7 & 8 would sometimes interfere with the workings of active content downloaded from the web – in this case downloaded from codecanyon.
Hi, I need some help to get started.
I need only to write section in webconfig and add dll to \bin of my webapplication or I have to do something else?
If I have a soap webservice application could be useful or not ?
Firstly the answer is yes. Caching can be useful for many applications including SOAP web services.
There are several steps to getting started with CacheFabric.
1. Determine which caching solution you wish to use. ASP.NET Cache (web applications only), Enterprise Library or AppFabric. I get started very quickly for web applications simply use ASP.NET Cache.
_cacheDirector = new AspNetCache();
This will enable you to get up and running quickly and later you can simply switching to Enterprise Library.
2. When setting up Enterprise Library you will need to add the web.config entries, reference the enterprise library assemblies (not just put them in the bin) or simply get them through nuget by searching for “Enterprise Library Caching”.
static readonly ICacheManager CacheManager = Microsoft.Practices.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager();
static readonly ICacheDirector Cache = new EnterpriseLibraryCache(CacheManager);
3. Using AppFabric Server would require a deeper understanding of setting up the AppFabric caching server and is recommended for people skilled in this area.
Hope this helps.
why source code removed?
The source code is now available only on www.avantprime.com since we are not an exclusive CodeCanyon seller. If you purchased the products however when the source code was available please contact us by sending an email through CodeCanyon and we will be happy to send it to you.
I bought. To communicate via the CodeCanyon, what should I do?
I sent it to your email address. You will need to restore the nuget packages. This should probably be done by VS automatically.
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $4