75 liens privés
Learn how to configure and use output caching middleware in ASP.NET Core.
// wrong
IEnumerable<int> x = new Enumerable<int>();
//right
IEnumerable<int> x = Enumerable.Empty<int>();
string.Equals(str1, str2, StringComparison.OrdinalIgnoreCase);
TempData is a storage container for data that needs to be available to a separate HTTP request.
https://codewithmukesh.com/blog/multitenancy-in-aspnet-core/#Database_Access_Strategies
https://stackoverflow.com/questions/71402504/configure-razor-pages-for-multi-tenancy-using-ipageroutemodelconvention-and-sep
https://stackoverflow.com/questions/54679575/multi-tenant-razor-page
https://www.finbuckle.com/MultiTenant
https://docs.abp.io/en/abp/latest/Multi-Tenancy?_ga=2.245324933.1896159510.1685445029-243821777.1683297120
https://www.c-sharpcorner.com/article/how-to-building-a-multi-tenant-applications-with-asp-net-core/
https://blog.jetbrains.com/dotnet/2022/06/22/multi-tenant-apps-with-ef-core-and-asp-net-core/
https://github.com/JonPSmith/AuthPermissions.AspNetCore
https://www.thereformedprogrammer.net/building-asp-net-core-and-ef-core-multi-tenant-apps-part1-the-database/
https://exceptionnotfound.net/using-middleware-to-log-requests-and-responses-in-asp-net-core/
https://www.codeproject.com/Articles/5337511/Request-Response-Logging-Middleware-ASP-NET-Core
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/http-logging/?view=aspnetcore-7.0
https://makolyte.com/aspnetcore-logging-requests-and-responses/
https://github.com/waynemunro/AspNetCore/blob/4ac9e99b7420890ff1b5524f1a2f78477c560507/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs#L14
https://github.com/IzyPro/WatchDog/blob/4b42d1ac58ce4712ad4dcd37d1f72f0fcc921d4e/WatchDog/src/WatchDog.cs#L24
https://github.com/IzyPro/WatchDog/blob/4b42d1ac58ce4712ad4dcd37d1f72f0fcc921d4e/WatchDog/src/WatchDogExceptionLogger.cs#L15
https://learn.microsoft.com/en-us/answers/questions/805842/how-to-save-logs-into-db
https://github.com/datalust/seq-api
https://stackoverflow.com/questions/51503643/serilog-multiple-instance-per-functionality
https://stackoverflow.com/questions/50370374/asp-net-serilog-multiple-sinks-each-one-for-a-different-use
Learn how to use the Configuration API to configure AppSettings in an ASP.NET Core app.
https://www.milanjovanovic.tech/blog/adding-validation-to-the-options-pattern-in-asp-net-core
.NET 6.0 Razor pages website with Tailwind. Contribute to NetCoreTemplates/razor-tailwind development by creating an account on GitHub.
In this post, let’s see how we can create an ASP.NET Core Tag Helper to show or hide UI elements based on authorization policies. But before we do so, let’s start with a quick introduction outlining why you may want to do this.
A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs. - GitHub - zHaytam/SmartBreadcrumbs: A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.
Discover how to handle errors in ASP.NET Core apps.
Small library to integrate Vite into ASP.NET projects - GitHub - Eptagone/Vite.AspNetCore: Small library to integrate Vite into ASP.NET projects
https://learn.microsoft.com/en-us/ef/core/testing/testing-with-the-database
https://learn.microsoft.com/en-us/aspnet/core/test/integration-tests?view=aspnetcore-7.0
https://learn.microsoft.com/en-us/aspnet/core/test/razor-pages-tests?view=aspnetcore-7.0
https://www.jvandertil.nl/posts/2020-04-02_sqlserverintegrationtesting/
https://github.com/dotnet/EntityFramework.Docs/tree/main/samples/core/Testing/TestingWithTheDatabase
https://alex-klaus.com/dotnet-sql-tests/
In this article, we look at how to implement a checkbox list in ASP.NET Core, using the existing Checkbox functionality.