-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADDED RedisAutoConfigurator class to configure Redis caching in the a…
…pplication. The class includes methods to configure caching for the host application and the application. DED AddWithConnectionString method to the Redis caching to the application using a connection string Redis caching to the application using a configuration section. ADDED AddRedisCertificateLoader method to the connection string for Redis cache configuration. MODIFIED AddRedisCaching method in the RedisWebApplicationBuilderExtensions class to use RedisEndpointCollectionProvider for Redis cache configuration. MODIFIED AddRedisCertificateLoader method in the RedisWebApplicationBuilderExtensions class to use RedisCertificateLoaderAndValidator for Redis certificate loading and validation. MODIFIED AddRedisCachingWithConnectionString method in the RedisWebApplicationBuilderExtensions class to use RedisEndpointCollectionProvider for Redis cache configuration.
- Loading branch information
Showing
21 changed files
with
349 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
namespace Dgmjr.Identity.Web; | ||
namespace Dgmjr.AzureAd.Web; | ||
|
||
public class MicrosoftIdentityOptions : Microsoft.Identity.Web.MicrosoftIdentityOptions | ||
{ | ||
public AppType AppType { get; set; } = AppType.WebApi; | ||
public string DefaultFallbackRoute { get; set; } = "/index"; | ||
public string[] InitialScopes { get; set; } = Empty<string>(); | ||
} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
Caching/Dgmjr.Extensions.Caching.props → Caching/Dgmjr.Caching.Extensions.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Project> | ||
<ItemGroup> | ||
<Using Include="Microsoft.Extensions.Caching.Distributed" /> | ||
<Using Include="Dgmjr.Extensions.Caching" /> | ||
<Using Include="Dgmjr.Caching.Extensions" /> | ||
<Using Include="Microsoft.Extensions.Logging" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.