75 liens privés
string connectionstring = "Server=(localdb)\mssqllocaldb;Database=aspnet-WebApplication1-pouet;Trusted_Connection=True;MultipleActiveResultSets=true";
var sqlOptions = new DbContextOptionsBuilder<ApplicationDbContext>()
.UseSqlServer(connectionstring)
.Options;
using (ApplicationDbContext context = new ApplicationDbContext(sqlOptions))
{
// do sth
}
https://github.com/MapsterMapper/Mapster
https://www.youtube.com/watch?v=UIslFVEHkzA
Localisation
prevoir 2 dbcontext
The default DbContext lifetime is Scoped, and XLocalizer.DB requires a Transient lifetime for the DbContext.
So, it is better to keep localization DbContext separate than the application DbContext.
In other words, use one db for XLocalizer services and another one for your application.
https://github.com/LazZiya/XLocalizer.Samples/blob/master/DbLocalizationSample/DbLocalizationSample
https://docs.ziyad.info/en/Miscellaneous/v1.0/multiple-dbcontexts.md
https://www.codeproject.com/Articles/5275604/ASP-NET-Core-Localization-with-XLocalizer
SEO
url format : site/events/id/slug
https://github.com/ctolkien/Slugify
https://rehansaeed.com/seo-friendly-urls-asp-net-core/
https://zetbit.tech/categories/asp-dot-net-core/3/making-a-pretty-url-in-asp-net-core-with-razor-pages
https://stackoverflow.com/questions/69748993/how-to-show-seo-friendly-url-in-mvc-core-3-1
Opengraph
https://ghorsey.github.io/OpenGraph-Net/documentation/complete-example.html
#redis
https://www.youtube.com/watch?v=jwek4w6als4
https://easycaching.readthedocs.io/en/latest/
mohnish pabrai india portfolio
https://www.youtube.com/watch?v=BVofBEmmjoM
Lorsque le bouclier tarifaire - mis en place par le gouvernement pour protéger les Français contre la hausse des prix de l'énergie - prendra fin, le gouvernement envisage des...
Using stable and liquid on-chain fiat currencies to increase financial inclusion and facilitate the access to liquidity and yield to everyone.
ETL framework for .NET (Parser / Writer for CSV, Flat, Xml, JSON, Key-Value, Parquet, Yaml, Avro formatted files) - GitHub - Cinchoo/ChoETL: ETL framework for .NET (Parser / Writer for CSV, Flat, Xml, JSON, Key-Value, Parquet, Yaml, Avro formatted files)