Skip to content

Releases: vipwan/Biwen.Settings

1.4.0

18 Sep 13:07
Compare
Choose a tag to compare

#9 Minimal API Support!

1.3.3

14 Sep 08:34
Compare
Choose a tag to compare

1.3.2

07 Sep 19:35
Compare
Choose a tag to compare

提供对OrchardCore的支持!

1.3.1

04 Sep 14:05
Compare
Choose a tag to compare

#7

        //使用JsonStore持久化配置项
        options.UserSettingManagerOfJsonStore(options =>
        {
            options.FormatJson = true;
            options.JsonPath = "systemsetting.json";
        });

1.3.0

04 Sep 06:48
Compare
Choose a tag to compare

提供INotify 订阅配置变更

        public class WeChatSettingNotify : INotify<WeChatSetting>
        {
            private readonly ILogger<WeChatSettingNotify> _logger;

            public WeChatSettingNotify(ILogger<WeChatSettingNotify> logger)
            {
                _logger = logger;
            }

            public async Task Notify(WeChatSetting setting)
            {
                _logger.LogInformation("微信配置发生变更!");
                await Task.CompletedTask;
            }
        }

1.2.2

01 Sep 08:23
Compare
Choose a tag to compare

支持ISettingManager实现,以应对仓储不是EntityFrameworkCore的情况

1.2.1

01 Sep 06:45
Compare
Choose a tag to compare

#4 提供CachingProvider自定义功能,系统自带NullCacheProvider,MemoryCacheProvider

    //支持缓存提供者,默认不使用缓存
    //您也可以使用Biwen.Settings提供内存缓存:Biwen.Settings.Caching.MemoryCacheProvider
    options.UseCache<MemoryCacheProvider>();
   //OR
   options.UseCacheOfMemory();
   //OR NullCache
   options.UseCacheOfNull();

1.2.0

31 Aug 16:27
Compare
Choose a tag to compare

1.2.0

- 修复了在某些情况下,重命名SettingName后,无法获取到正确的Setting的问题
- 修改Domain仓储,使用SettingType替代SettingName作为主键