CSharpForMarkup
openiddict-core
Our great sponsors
CSharpForMarkup | openiddict-core | |
---|---|---|
7 | 35 | |
709 | 4,086 | |
- | 2.3% | |
8.5 | 9.3 | |
7 days ago | 12 days ago | |
C# | C# | |
MIT License | Apache License 2.0 |
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.
CSharpForMarkup
-
.NET 8 – .NET Blog
It's a bit of a hit and miss as of today. CLI, back-end and natively compiled libraries (think dll/so/dylib or even .lib/.a - you can statically link NAOT binaries into other "unmanaged" code) work best, GUI - requires more work.
Avalonia[0] and MAUI[1] have known working templates with it, but YMMV.
[0] https://github.com/lixinyang123/AvaloniaAOT / https://github.com/AvaloniaUI/Avalonia/ / honorable mention https://github.com/VincentH-Net/CSharpForMarkup
[1] https://github.com/dotnet/maui (try out with just true in csproj - it is known to work e.g. on iOS)
-
State of mobile app development within the .NET ecosystem?
Uno Platform can be both XAML or C# Markup if you use https://github.com/VincentH-Net/CSharpForMarkup with it.
-
Modern C# software development framework
And if you use https://github.com/VincentH-Net/CSharpForMarkup with it, you can have an all-around C# approach for both front end and back end.
-
What are your gripes with XAML?
Maybe some c# markup libraries like this one. But I haven't use that so you'd need to check yourself
-
Uno platform: build single-codebase applications across all platforms
You can CSharpForMarkup with WPF, WinUI 3, Uno Platform. with AvaloniaUI and Maui coming and possibly Blazor.
https://github.com/VincentH-Net/CSharpForMarkup
-
Performance Improvements in .NET 6
To manage mental mapping of what is being drawn, I keep methods that create widget trees short. My rule of thumb is that whole method has to comfortably fit the screen at once. For each section of the main tree I create a static function that returns a branch of the tree. These functions have descriptive names that help you visualize what element each function builds. If a tree inside a function is long, it is broken down in the same way.
There are some fluent extensions (for Xamarin.Forms and probably future MAUI) that help you build UI in declarative fashion with C#. Same extensions could be created for other frameworks.
https://devblogs.microsoft.com/xamarin/c-sharp-markup-for-xa...
https://github.com/VincentH-Net/CSharpForMarkup
For reusable custom widgets that can't be done with a static function, I create new classes with their own widget trees. Try to keep widgets composable and avoid inheritance if possible.
Hot reload is coming in .NET 6, so waiting for rebuild will soon be history.
I have no experience with QML so I can't really comment on that.
-
What's a Modern Technology Used For Building Desktop Programs?
If I were to build a windows only desktop app with technology I was moderately familiar with, I'd probably got for WPF + https://github.com/VincentH-Net/CSharpForMarkup Working without XAML makes life so much simpler.
openiddict-core
-
Recommendations for Free Library/Service to Separate Authentication in Legacy ASP.NET (ASPX) Application
Openiddict is also an option. Check it out.https://github.com/openiddict/openiddict-core
- Why would I ever choose IdentityServer over Azure AD B2C?
-
A journey to build a central identity management service in .Net with Vue.js SPA frontend
To implement an OAuth server together with OpenID connect specification, I used a free and open source framework called Openiddict. You should checkout their GitHub repository at github.com/openiddict/openiddict-core. It is a nice and feature rich tool which help you get started very fast. However, comparing to alternatives like identity server, it needs more implementation rather functionalities coming out of the box.
-
Blazor Server Identity alternative?
You can use Openidict https://documentation.openiddict.com/, give it a try
- ASP.NET Core: Autenticación multi-tenant con OpenID Connect. (Parte 1)
-
Why is there a lack of cool repos?
Openiddict to create your own OpenID Connect server if you want to deep dive into auth https://github.com/openiddict/openiddict-core
-
Is using next-auth instead of IdentityServer a bad idea?
If you do want a .NET IdP then you could look into OpenIddict but will require some hands on work, at a minimum authorisation controllers. If you're looking for something more out of the box OrchardCore's OpenId module might be better for you.
-
JWT and LocalStorage in ServerSideBlazor
I personally prefer using Cookies with openiddict.
-
I got tired of all the boilerplate for .NET Web APIs, so I made a tool to help. Craftsman v0.15 is out with better DDD support and more!
Also, the OAuth bit is very cool!! Do you plan to support OpenIddict it’s a free federated identity server.
-
The bullshit-less ASP.NET Blazor WASM JWT authentication tutorial from the ground up.
Okta is a great example of an IdP, although there are many others. Auth0, Ping Federate, Amazon cognito, etc. OP also mentioned Identity Server, which is a framework for implementing your own IdP. I've also personally used an open-source library called [OpenIDDict[(https://documentation.openiddict.com/) to great success. I would highly recommend attempting to implement one of these providers as a learning exercise.
What are some alternatives?
ModernWpf - Modern styles and controls for your WPF applications
IdentityServer4 - OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Avalonia.FuncUI - Develop cross-plattform GUI Applications using F# and Avalonia!
IdentityServer - The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
mobile - The mobile app vault (iOS and Android).
IdentityServer4.Admin - The administration for the IdentityServer4 and Asp.Net Core Identity
HandyControl - Contains some simple and commonly used WPF controls
dot-net6-vue-api - Dot net 6 Vue template
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
microsoft-authentication-library-for-js - Microsoft Authentication Library (MSAL) for JS