Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tech-With-Christian/AzureRedisCacheApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation


Christian Schou Logo

.NET Azure Redis Cache Demo

A simple demo of how you can implement Azure Redis Cache in a .NET Core Web API with the repository pattern.

Report a Bug or Request a Feature Β· Read the full in-depth article about this project

Table of Contents
  1. About The Redis API Service
  2. Getting Started
  3. Contributing

About the API Service

Swagger Implementation

This is a simple API project to demonstrate how you can implement a distributed Redis cache hosted at Azure into your .NET Core Web API. You will be able to replicate the logic using either .NET 6 or .NET 7.

Why should you use a cache like Redis?

  • Response time is reduced drastically
  • Your database will be able to breath and serve requests other than just GET operations
  • Your clients will be happy πŸ˜„

(back to top)

Built With

The API demo is built using the following technologies and tools.

  • Visual Studio 2022
  • .NET 7
  • Azure Cache for Redis
  • Microsoft SQL Server
  • Entity Framework Core
  • C#

Getting Started

To get started developing further on the Azure Redis API service, you have to clone the project to your local computer.

Prerequisites

  • Visual Studio 2022
  • .NET 7 SDK
  • Local installation of Microsoft SQL Server (Express, Developer, etc...)
  • An Azure Account with an Active Subscription

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

About

A simple demo of how you can implement Azure Redis Cache in a .NET Core Web API with the repository pattern.

Topics

Resources

License

Stars

Watchers

Forks

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /