HeimGuard
ASP.NET Core
HeimGuard | ASP.NET Core | |
---|---|---|
7 | 1,633 | |
143 | 34,516 | |
- | 0.9% | |
2.9 | 9.9 | |
6 months ago | 1 day ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
HeimGuard
-
At what level should I grant permissions in ASP.NET?
Here’s a small lib I made to make feature access easier. Business logic is usually more baked in. You could have somewhat more merged if those two with resource based FGA using OpenFGA or Permify too but don’t cross that bridge unless you need it.
-
Has anyone tried OpenFGA for resource based permissions?
I’m usually able to get away with permission based access, but am looking into resource based for a current project.
- Prevent same user from multiple login
-
JWT, What the best practice with using Claim/Roles
There are a few libraries that try and solve this problem in the ASP.NET platform level. The ones I know are https://github.com/pdevito3/HeimGuard and https://www.thereformedprogrammer.net/finally-a-library-that-improves-role-authorization-in-asp-net-core/
-
[Q] JWT token payload
If anyone’s interested, I feel dove this a while back and put together a small lib for this to make permission checking a bit smoother. Depending on how your tenanting works OP, it would likely fit into this fairly well.
-
Can i get a sample project on Authenticating & Authorization of a Web API?
As far as authorization, the link above uses a project called HiemGuard to protect the endpoints.
-
.net 6 Authentication question. I’m missing something basic.
I looked into simplifying this a lot a few weeks ago and ended up putting together a small helper library to make my life easier around permissions if you want to check it out. Should be able to integrate into your authentication setup just fine.
ASP.NET Core
-
Asynchronous Programming in C#
> Just .GetAwaiter().GetResult() it.
That won’t work with various synchronization contexts, where doing this would cause a deadlock. There’s not much fun in trying to debug such issues.
And now that various libraries only provide async api, or worse an non-async version wrapping the async one with . GetAwaiter().GetResult(), you’ll be in for a treat updating your dependencies.
Async all the way is the answer, although various frameworks still don’t offer async hooks. Recently I ran into this for example trying to write an async validator in blazor, but that’s not possible and you have to work around it [1].
C# 5 introduced async/await almost 12 years ago. And we’re still not “async all the way”.
[1]: https://github.com/dotnet/aspnetcore/issues/40244
-
Middleware in .NET 8
This approach to organizing middleware enhances code readability, maintainability, and reusability. By following this encapsulation pattern, you're adhering to best practices in ASP.NET Core development, ensuring your application remains well-organized and scalable.
-
.NET Monthly Roundup - March 2024 - .NET 9 Preview 2, Smart Components, AI fun, and more!
🌟.NET 9 Preview 2 ➡️.NET 9 Preview 2 Discussion ➡️ASP.NET Core updates in .NET 9 Preview 2 ➡️ASP.NET Core updates in .NET 9 Preview 2 Release Notes ➡️EF Core updates in .NET 9 Preview 2 ➡️.NET Aspire preview 4 - .NET Aspire
-
Chrome Feature: ZSTD Content-Encoding
https://github.com/dotnet/aspnetcore/issues/50643
-
The Mechanics of Silicon Valley Pump and Dump Schemes
Even if you look at Microsoft’s by far most popular GitHub project, they’re still only half as big as SupaBase. If you believe “the SupaBase story”, SupaBase grew and became twice as large as Microsoft in 3 years. Below is their likes over time if you’re curious, together with a couple of additional “too good to be true” Silicon Valley projects.
-
Bug Thread
https://github.com/dotnet/aspnetcore/issues/10117
-
Evolutive and robust password hashing using PBKDF2 in .NET
To achieve these objectives, we will take inspiration from ASP.NET Core Identity's PasswordHasher class. It incorporates a concept of hash versioning, allowing only the number of iterations to be modified.
- Experimenting with .NET 8 Blazor Web App w/ the Blazor Server rendering mode enabled but I can't get any my events to fire.
-
Observable or promise for http call from ASP.Net
yes I watched several courses, may be aim not getting clearly. but i worked with asp.net which uses http call and firebase cloud function also which uses socket connection, for socket connection its makes sense to use observable bcoz there streams of data we can observe once the connection establish ,but for http it need to be call every time.
- Como conseguir mi primer laburo
What are some alternatives?
qatoolkit-auth-net - QAToolKit library for generating JWT access tokens from different identity providers.
Blazor.WebRTC
targe - Policy based authorization library built for python.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
frank_jwt - JSON Web Token implementation in Rust.
deno - A modern runtime for JavaScript and TypeScript.
accesscontrol - Role and Attribute based Access Control for Node.js
inertia-laravel - The Laravel adapter for Inertia.js.
openfga - A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar
PuppeteerSharp - Headless Chrome .NET API
CefSharp - .NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
Giraffe - A native functional ASP.NET Core web framework for F# developers.