Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cache Middleware #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

AliEsmaeilli
Copy link

This PR introduces a caching middleware to the ASP.NET Core application, enhancing performance by caching HTTP responses for specified endpoints. The middleware utilizes the FusionCacheProvider for advanced caching capabilities, enabling both in-memory and distributed caching.

@@ -3,8 +3,11 @@
public static class ConnectionStrings
{
// To simplify the solution the connection string to Sqlite database is hardcoded here:
public const string Sqlite = "Data Source=C:\\users\\artur\\astro-architecture.db";
public const string Sqlite = "Data Source=C:\\ali\\astro-architecture.db";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the original :-)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the original :-)

It's updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants