CSharpForMarkup
AspNetCore.Docs
Our great sponsors
CSharpForMarkup | AspNetCore.Docs | |
---|---|---|
7 | 40 | |
709 | 12,358 | |
- | 1.0% | |
8.5 | 9.9 | |
7 days ago | 3 days ago | |
C# | C# | |
MIT License | Creative Commons Attribution 4.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.
AspNetCore.Docs
-
DevDocs
Certain parts of Microsoft Learn are permissive, for example the .NET BCL documentation is Creative Commons Attribution: https://github.com/dotnet/dotnet-api-docs as is ASP.NET Core: https://github.com/dotnet/AspNetCore.Docs (a good hint if documentation is permissively licensed and on GitHub is if there's an edit button at the top.)
The C# language specification is unfortunately a bit fuzzier: https://github.com/dotnet/csharplang/discussions/4855
The updated unified C# language specification is CC, but it's still catching up to modern C#: https://github.com/dotnet/csharpstandard
-
ASP.NET Core Blazor
looks like 8.0 release? https://github.com/dotnet/AspNetCore.Docs/commit/e8ce5761969...
- Combining Blazor WebAssembly and .Net MVC application - part 1
-
Accessing the HttpContext outside the outside the HttpRequest
I am not sure what you mean,but here you can find all the supported ways of accessing the httpcontext in.net core https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/http-context.md maybe this can help you
- When/why do we need to use UseActifileExceptionHandler()?
-
Migration of WebAPI project from .NET Framework 4.7.2 to .NET 6
Whilst EF6.3 had some support (note: designer doesn’t work) in .NET Core 3.1 (sample), I’m not sure if that applies to NET6. You could certainly give it a try.
-
15 Popular Github Repositories for the Modern Developer of 2023
11. ASP.NET
- SSO Between .Net Framework 4.6.1 MVC and .NET 7
- Big sites in Blazor
-
Blazor Hybrid: WPF/WinUi/MAUI?
Also this discussion https://github.com/dotnet/AspNetCore.Docs/issues/26250
What are some alternatives?
ModernWpf - Modern styles and controls for your WPF applications
Nerdbank.GitVersioning - Stamp your assemblies, packages and more with a unique version generated from a single, simple version.json file and include git commit IDs for non-official builds.
Avalonia.FuncUI - Develop cross-plattform GUI Applications using F# and Avalonia!
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
shadowsocks-windows - A C# port of shadowsocks
mobile - The mobile app vault (iOS and Android).
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
HandyControl - Contains some simple and commonly used WPF controls
TcNo-Acc-Switcher - A Super-fast account switcher for Steam, Battle.net, Epic Games, Origin, Riot, Ubisoft and many others! [Moved to: https://github.com/TCNOco/TcNo-Acc-Switcher]
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
v2rayN - A GUI client for Windows, support Xray core and v2fly core and others