7702244
7702244
.NET Core automatically computes hashes for static files. It is built-in functionality. Look at the [IFileVersionProvider](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.viewfeatures.ifileversionprovider.addfileversiontopath?view=aspnetcore-6.0&WT.mc_id=email) and "[asp-append-version Feature](https://www.c-sharpcorner.com/blogs/aspappendversion-feature-in-asp-net-core)"
IFileVersionProvider isn't just for the browser. You can use the resulting hash to determine that the file has changed since the last deploy. Thus, if the cached file is not...
> Finally found out the solution which works for me. > ` ` > Enjoy :) Thank you for the elegant and quick solution! It's surprising that Microsoft has not...
I have the same problem on my MacBook Pro M1 Max.
Why not use the standard JsonSerializer instead of Newtonsoft.Json ?
Does anybody found a solution?
Five years later. Is there a solution for Cyrillic characters? The above methods do not work.
I have the same problem, only on the emulator everything works, but when you run it on the device - a blank square.
After several days of searching for solutions and experiments, I managed to find a solution to the problem. Add a datatype for the `` tag: ``` ``` and namespace: `xmlns:sys="clr-namespace:System;assembly=mscorlib"`....
This code works fine for me. ``` using (var db = new LiteDatabase("mydb.db")) { db.BeginTrans(); try { // do things db.Commit(); } catch (Exception) { db.Rollback(); throw; } } ```