Skip to content

Commit

Permalink
add memory cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanc committed Mar 26, 2022
1 parent 0fc3fbf commit 5c959a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion InMemoryCaching.API/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
var builder = WebApplication.CreateBuilder(args);

// Add services to the container.

// Add memory cache dependencies
builder.Services.AddMemoryCache();
builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
Expand Down

0 comments on commit 5c959a9

Please sign in to comment.