cachevisualization
a nuget package that can be used in any .net web app to visualize http runtime cache
Science Score: 31.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Repository
a nuget package that can be used in any .net web app to visualize http runtime cache
Basic Info
- Host: GitHub
- Owner: balanikas
- License: mit
- Language: C#
- Default Branch: master
- Size: 18.6 KB
Statistics
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
CacheVisualization
a nuget package that can be used in any .net web app to visualize http runtime cache
Usage
Initialize and start
csharp
var watch = new CacheWatch();
watch.Start();
Conversions
csharp
//Conversions mean that when a cache key starts with the specified string,
// we want to show the cached data in a specific way.
//In this example we will show the the name of the cart.
watch.AddConversion("mywebapp:cachekey:cart", o => (o as Cart).Name);
Options
csharp
watch.Start(new CacheWatchOptions
{
//this mode will only show the data that is cached using the keys in CachePaths,
//WatchMode.All shows everything and is suitable for simple web apps.
Mode = WatchMode.Specific,
Url = "http://localhost:8080/", //cache visualization will run on this host
UpdateInterval = 3000, //read cache every 3 seconds
CacheSnapshotCount = 10, //show only last 10 cache reads
CachePaths = new HashSet<string> //we are only interested in cache data that use these keys
{
"mywebapp:cachekey:order",
"mywebapp:cachekey:cart",
"customers:
}
});
Installation
Use http://nuget.org as the nuget feed to download it. Package page is here: https://www.nuget.org/packages/CacheVisualization/.
To create the package locally, clone this repo and create the nuget package:
nuget pack CacheVisualization.csproj
and then, add it to your project:
install-package CacheVisualization
Source code
http://github.com/balanikas/CacheVisualization
Owner
- Name: kris balanikas
- Login: balanikas
- Kind: user
- Location: london
- Company: balanikasheadquarters
- Website: https://www.linkedin.com/in/balanikas/
- Repositories: 29
- Profile: https://github.com/balanikas
programmer at @balanikasheadquarters
Citation (CITATION.md)
citation
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- nuget 2,311 total
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
nuget.org: cachevisualization
Visualizes the http runtime cache of a .net web application
- Homepage: http://github.com/balanikas/CacheVisualization
- License: mit
-
Latest release: 1.0.0
published over 9 years ago
Rankings
Maintainers (1)
Dependencies
- Microsoft.AspNet.WebApi.OwinSelfHost 5.2.3
- Microsoft.Owin.StaticFiles 3.0.1
- Newtonsoft.Json 8.0.3
- Microsoft.AspNet.WebApi.Client 5.2.3
- Microsoft.AspNet.WebApi.Core 5.2.3
- Microsoft.AspNet.WebApi.Owin 5.2.3
- Microsoft.AspNet.WebApi.OwinSelfHost 5.2.3
- Microsoft.Owin 3.0.1
- Microsoft.Owin.FileSystems 3.0.1
- Microsoft.Owin.Host.HttpListener 2.0.2
- Microsoft.Owin.Hosting 2.0.2
- Microsoft.Owin.StaticFiles 3.0.1
- Newtonsoft.Json 6.0.4
- Owin 1.0