इसे छोड़कर कंटेंट पर जाएं

Redis hosting extensions

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

⭐ Community Toolkit Redis logo

The Aspire Community Toolkit Redis hosting extensions package provides extra functionality to the Aspire.Hosting.Redis hosting package.

This package provides the following features:

To get started with the Aspire Community Toolkit Redis hosting extensions, install the CommunityToolkit.Aspire.Hosting.Redis.Extensions NuGet package in the app host project.

Aspire CLI — CommunityToolkit.Aspire.Hosting.Redis.Extensions पैकेज जोड़ें
aspire add communitytoolkit-redis-extensions

Aspire CLI इंटरैक्टिव है; प्रॉम्प्ट पर उपयुक्त परिणाम चुनें:

Aspire CLI — उदाहरण आउटपुट
Select an integration to add:
> communitytoolkit-redis-extensions (CommunityToolkit.Aspire.Hosting.Redis.Extensions)
> Other results listed as selectable options...

To add the DbGate management UI to your Redis resource, call the WithDbGate method on the RedisResource instance:

C# — AppHost.cs
var builder = DistributedApplication.CreateBuilder(args);
var redis = builder.AddRedis("redis")
.WithDbGate();
builder.AddProject<Projects.ExampleProject>()
.WithReference(redis);
// After adding all resources, run the app...

This adds a new DbGate resource to the app host which is available from the Aspire dashboard. DbGate is a comprehensive database management tool that provides a web-based interface for managing your Redis databases.

प्रश्न & उत्तरसहयोग करेंसमुदायचर्चादेखें