Skip to content

Commit 66c51f3

Browse files
committed
Update Readme
1 parent 82f2d66 commit 66c51f3

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,19 @@
55
Using distributed cache in web api applications
66
```
77

8-
> In this repo, i m using a [distributed cache](https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed) in order to improve web api responsiveness.
8+
> In this repo, i m using a [distributed cache](https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed) to improve web api responsiveness.
99
>
10-
> Distributed cache source can be configured to use :
10+
> The sample provided in this repo is based on :
11+
>
12+
> - a distributed cache to save/load cached websites
13+
>
14+
> - a service to compute content length for a white listed website
15+
>
16+
> - an exception filter to handle some exceptions as bad requests
17+
>
18+
> - a validation attribute to validate route parameters
19+
>
20+
> The distributed cache can be configured (via appsettings.json file) to use :
1121
> - [memory cache](https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-memory-cache)
1222
> - [redis cache](https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-redis-cache)
1323
> - [sql server cache](https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-sql-server-cache)
@@ -28,17 +38,4 @@ Using distributed cache in web api applications
2838
> dotnet sql-cache create "Server=localhost,1433;Database=CacheDatabase;User Id=sa;Password=@Pa5sw0rd!;TrustServerCertificate=True;" dbo CacheTable
2939
> ```
3040
31-
> The web api sample provided in this repo is based on :
32-
>
33-
> - a distributed cache in order to save/load cached websites
34-
>
35-
> - a service to compute content length for a white listed website
36-
>
37-
> - an exception filter to handle some exceptions as bad requests
38-
>
39-
> - a validation attribute to validate route parameters
40-
>
41-
42-
> 📢 Distributed memory cache is useful for development and testing scenarios and is not intended for production environements. 📢
43-
4441
**`Tools`** : net 9.0, distributed cache, serilog

0 commit comments

Comments
 (0)