File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Using distributed cache in web api applications
1717>
1818> - a validation attribute to validate route parameters
1919>
20- > The distributed cache can be configured (via appsettings.json file) to use :
20+ > The distributed cache can be configured (via [ appsettings.json file] ( Api/appsettings.json ) ) to use :
2121> - [ memory cache] ( https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-memory-cache )
2222> - [ redis cache] ( https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-redis-cache )
2323> - [ sql server cache] ( https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-sql-server-cache )
@@ -31,9 +31,9 @@ Using distributed cache in web api applications
3131> ` ` ` bash
3232> docker run -e " ACCEPT_EULA=Y" -e " MSSQL_SA_PASSWORD=@Pa5sw0rd!" -p 1433:1433 --name local-sqlserver -d mcr.microsoft.com/mssql/server:2022-latest
3333> ` ` `
34- > Use the sql script ` CreateDatabase.sql` in order to create the database ` CacheDatabase` .
34+ > Use the sql script [ ` CreateDatabase.sql` ](CreateDatabase.sql) in order to create the database ` CacheDatabase` .
3535>
36- > Use the global tool ` dotnet-sql-cache` in order to create the table ` CacheTable` .
36+ > Use the global tool [ ` dotnet-sql-cache` ](https://www.nuget.org/packages/dotnet-sql-cache) in order to create the table ` CacheTable` .
3737> ` ` ` bash
3838> dotnet sql-cache create " Server=localhost,1433;Database=CacheDatabase;User Id=sa;Password=@Pa5sw0rd!;TrustServerCertificate=True;" dbo CacheTable
3939> ` ` `
You can’t perform that action at this time.
0 commit comments