Skip to content

Commit d81bcc6

Browse files
authored
Merge pull request #1 from reisenberger/master
Create skeleton Polly.Caching.MemoryCache solution
2 parents 8c4ee4b + 5f27c4b commit d81bcc6

39 files changed

+1563
-1
lines changed

.gitattributes

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
*.md text=auto
7+
8+
###############################################################################
9+
# Set default behavior for command prompt diff.
10+
#
11+
# This is need for earlier builds of msysgit that does not have it on by
12+
# default for csharp files.
13+
# Note: This is only used by command line
14+
###############################################################################
15+
#*.cs diff=csharp
16+
17+
###############################################################################
18+
# Set the merge driver for project and solution files
19+
#
20+
# Merging from the command prompt will add diff markers to the files if there
21+
# are conflicts (Merging from VS is not affected by the settings below, in VS
22+
# the diff markers are never inserted). Diff markers may cause the following
23+
# file extensions to fail to load in VS. An alternative would be to treat
24+
# these files as binary and thus will always conflict and require user
25+
# intervention with every merge. To do so, just uncomment the entries below
26+
###############################################################################
27+
#*.sln merge=binary
28+
#*.csproj merge=binary
29+
#*.vbproj merge=binary
30+
#*.vcxproj merge=binary
31+
#*.vcproj merge=binary
32+
#*.dbproj merge=binary
33+
#*.fsproj merge=binary
34+
#*.lsproj merge=binary
35+
#*.wixproj merge=binary
36+
#*.modelproj merge=binary
37+
#*.sqlproj merge=binary
38+
#*.wwaproj merge=binary
39+
40+
###############################################################################
41+
# behavior for image files
42+
#
43+
# image files are treated as binary by default.
44+
###############################################################################
45+
#*.jpg binary
46+
#*.png binary
47+
#*.gif binary
48+
49+
###############################################################################
50+
# diff behavior for common document formats
51+
#
52+
# Convert binary document formats to text before diffing them. This feature
53+
# is only available from the command line. Turn it on by uncommenting the
54+
# entries below.
55+
###############################################################################
56+
#*.doc diff=astextplain
57+
#*.DOC diff=astextplain
58+
#*.docx diff=astextplain
59+
#*.DOCX diff=astextplain
60+
#*.dot diff=astextplain
61+
#*.DOT diff=astextplain
62+
#*.pdf diff=astextplain
63+
#*.PDF diff=astextplain
64+
#*.rtf diff=astextplain
65+
#*.RTF diff=astextplain

.gitignore

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
2+
[Bb]in/
3+
[Oo]bj/
4+
5+
# mstest test results
6+
TestResults
7+
8+
## Ignore Visual Studio temporary files, build results, and
9+
## files generated by popular Visual Studio add-ons.
10+
11+
# User-specific files
12+
*.suo
13+
*.user
14+
*.sln.docstates
15+
.vs/
16+
17+
# Build results
18+
[Dd]ebug/
19+
[Rr]elease/
20+
x64/
21+
*_i.c
22+
*_p.c
23+
*.ilk
24+
*.meta
25+
*.obj
26+
*.pch
27+
*.pdb
28+
*.pgc
29+
*.pgd
30+
*.rsp
31+
*.sbr
32+
*.tlb
33+
*.tli
34+
*.tlh
35+
*.tmp
36+
*.log
37+
*.vspscc
38+
*.vssscc
39+
.builds
40+
41+
# Visual C++ cache files
42+
ipch/
43+
*.aps
44+
*.ncb
45+
*.opensdf
46+
*.sdf
47+
48+
# Visual Studio profiler
49+
*.psess
50+
*.vsp
51+
*.vspx
52+
53+
# Guidance Automation Toolkit
54+
*.gpState
55+
56+
# ReSharper is a .NET coding add-in
57+
_ReSharper*
58+
59+
# NCrunch
60+
*.ncrunch*
61+
.*crunch*.local.xml
62+
63+
# GhostDoc
64+
*.GhostDoc.xml
65+
66+
# Installshield output folder
67+
[Ee]xpress
68+
69+
# DocProject is a documentation generator add-in
70+
DocProject/buildhelp/
71+
DocProject/Help/*.HxT
72+
DocProject/Help/*.HxC
73+
DocProject/Help/*.hhc
74+
DocProject/Help/*.hhk
75+
DocProject/Help/*.hhp
76+
DocProject/Help/Html2
77+
DocProject/Help/html
78+
79+
# Click-Once directory
80+
publish
81+
82+
# Publish Web Output
83+
*.Publish.xml
84+
85+
# NuGet Packages Directory
86+
packages
87+
88+
# Windows Azure Build Output
89+
csx
90+
*.build.csdef
91+
92+
# Windows Store app package directory
93+
AppPackages/
94+
95+
# Others
96+
[Bb]in
97+
[Oo]bj
98+
sql
99+
TestResults
100+
[Tt]est[Rr]esult*
101+
*.Cache
102+
ClientBin
103+
[Ss]tyle[Cc]op.*
104+
~$*
105+
*.dbmdl
106+
Generated_Code #added for RIA/Silverlight projects
107+
108+
# Backup & report files from converting an old project file to a newer
109+
# Visual Studio version. Backup files are not needed, because we have git ;-)
110+
_UpgradeReport_Files/
111+
Backup*/
112+
UpgradeLog*.XML
113+
114+
artifacts
115+
build
116+
tools
117+
118+
*.lock.json
119+
*.nuget.targets
120+
*.nuget.props

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.1-alpha
2+
3+
- Stub repo for Polly.Caching.MemoryCache with first build script

GitVersionConfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
next-version: 0.1-alpha

LICENSE.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
New BSD License
2+
=
3+
Copyright (c) 2015, App vNext
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
* Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
* Neither the name of App vNext nor the
14+
names of its contributors may be used to endorse or promote products
15+
derived from this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
21+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,59 @@
11
# Polly.Caching.MemoryCache
2-
MemoryCache plugin for the Polly Cache policy
2+
3+
This repo contains the MemoryCache plugin for the [Polly](https://github.com/App-vNext/Polly) [Cache policy](https://github.com/App-vNext/Polly/wiki/Cache)
4+
5+
## What is Polly?
6+
7+
[Polly](https://github.com/App-vNext/Polly) is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, Cache aside and Fallback in a fluent and thread-safe manner. Polly targets .NET 4.0, .NET 4.5 and .NET Standard 1.0.
8+
9+
Polly is a member of the [.NET Foundation](https://www.dotnetfoundation.org/about)!
10+
11+
**Keep up to date with new feature announcements, tips & tricks, and other news through [www.thepollyproject.org](http://www.thepollyproject.org)**
12+
13+
# Installing via NuGet
14+
15+
Install-Package Polly.Caching.MemoryCache
16+
17+
You can install the Strongly Named version via:
18+
19+
Install-Package Polly.Caching.MemoryCache-Signed
20+
21+
# Supported targets
22+
23+
Polly.Caching.MemoryCache supports [to come].
24+
25+
## Dependencies
26+
27+
None
28+
29+
# How to use the MemoryCache plugin
30+
31+
[To come]
32+
33+
34+
## How to use the Polly Cache policy
35+
36+
See the [Polly readme](https://github.com/App-vNext/Polly/wiki/Cache) or [deep doco on the Polly wiki](https://github.com/App-vNext/Polly/wiki/Cache).
37+
38+
39+
# Release notes
40+
41+
For details of changes by release see the [change log](CHANGELOG.md).
42+
43+
44+
# Acknowledgements
45+
46+
* [@seanfarrow](https://github.com/seanfarrow) and [@reisenberger](https://github.com/reisenberger) - Initial caching architecture in the main Polly repo
47+
48+
49+
# Instructions for Contributing
50+
51+
Please check out our [Wiki](https://github.com/App-vNext/Polly/wiki/Git-Workflow) for contributing guidelines. We are following the excellent GitHub Flow process, and would like to make sure you have all of the information needed to be a world-class contributor!
52+
53+
Since Polly is part of the .NET Foundation, we ask our contributors to abide by their [Code of Conduct](https://www.dotnetfoundation.org/code-of-conduct).
54+
55+
Also, we've stood up a [Slack](http://www.pollytalk.org) channel for easier real-time discussion of ideas and the general direction of Polly as a whole. Be sure to [join the conversation](http://www.pollytalk.org) today!
56+
57+
# License
58+
59+
Licensed under the terms of the [New BSD License](http://opensource.org/licenses/BSD-3-Clause)

build.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@ECHO OFF
2+
PUSHD %~dp0
3+
PowerShell.exe -NoProfile -ExecutionPolicy Bypass -Command "& './build.ps1'"
4+
5+
PAUSE
6+

0 commit comments

Comments
 (0)