reponemec
reponemec
Set only the job storage at startup: ``` public void Configuration(IAppBuilder app) { GlobalConfiguration.Configuration .SetDataCompatibilityLevel(CompatibilityLevel.Version_170) .UseLog4NetLogProvider() .UseSimpleAssemblyNameTypeSerializer() .UseRecommendedSerializerSettings() .UseSqlServerStorage("HangFire", new SqlServerStorageOptions { CommandBatchMaxTimeout = TimeSpan.FromMinutes(5), QueuePollInterval = TimeSpan.Zero, SlidingInvisibilityTimeout =...
I know it's generally not a good idea to have multiple responsibilities in one PR. On the other hand, the main strength of the new features lies in the use...
Comparer works with the "yield" keyword. Performance is therefore guaranteed in this way.
> @oising you are right. Comparer always compare all differences. I'll think about improving it in the next versions. I thought it does not matter how a Compare ( =>...
> Try it yourself. Make two instances of an object with multiple properties. Have every property write a message to the console when the getter is called. Use Compare to...
Maybe I don't have the right test method, but it works as expected - the comparer only reads the first changed property .
https://www.bountysource.com/issues/69012066-no-effect-with-inject-when-use-filesystem-project
_What do you mean by "turning on compiled template caching"?_ I would also be interested in that. I think UseMemoryCachingProvider() or UseCachingProvider() extensions only affect page template cache, not RL's...
```cs public interface ITemplateCacheCleaner { void Clear(); } public class DatabaseTemplateItemProvider : RazorLightProject, ITemplateCacheCleaner { CancellationTokenSource _resetTemplateItemCacheToken = new(); public override async Task GetItemAsync(string templateKey) { var templateEntity = await...