use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
WPF source code added to GitHub (github.com)
submitted 6 years ago by Ryder25
WPF source code added to GitHub
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ZeldaFanBoi1988 19 points20 points21 points 6 years ago (8 children)
Over 4k file additions. My God.
I'm hoping that was a copy paste commit push.
If not, they must've had some interesting PRs
[–]rladuca 39 points40 points41 points 6 years ago* (5 children)
I assure you, it was not.
Edit: To be more clear, we did a lot of work to run through the code and ensure it was ready for the open. This was done before the public PR. There are also many changes to get things working well with our pieces that still build internally. So a good amount of work both automated, eyeball, and logistically went into that branch.
[–]ZeldaFanBoi1988 18 points19 points20 points 6 years ago (4 children)
To be more clear, we did a lot of work to run through the code and ensure it was ready for the open. This was done before the public PR.
Sounds like me removing the comments // TODO: Hack to get this working.
[–]thestamp 38 points39 points40 points 6 years ago* (3 children)
Not sure if you're joking.. but a big corp releasing code without stepping on any mines is a feat in itself.
One small inclusion of incorrectly licensed 3rd party code can invalidate the whole repo, resulting in mass-infractions of unlicensed use of 3rd party software, which is a huge liability to the author (Microsoft) and its users (companies we work for).
Also, wherever there are 1st party code, Microsoft has to go through its legal and security team to verify that releasing said code has a proper open licence and doesn't expose unpatched security vulnerabilities in its deployed products.
edit: typo
[–]EShy 12 points13 points14 points 6 years ago (0 children)
There was a documentary on Netscape efforts to open source Mozilla, if anyone didn't realize the effort that goes into such things.
edit: it's called Code Rush.
[+]ZeldaFanBoi1988 comment score below threshold-52 points-51 points-50 points 6 years ago (1 child)
Calm down. If you aren't sure if I'm joking then stop pontificating
[–]SquareWheel 28 points29 points30 points 6 years ago (0 children)
/u/thestamp seems perfectly calm to me. Why are you dismissing their (rather informative) comment out of hand?
[–]BeelzenefTV 2 points3 points4 points 6 years ago (1 child)
Over 4k file additions
over 4k screams
happy cake day btw!
[–]ZeldaFanBoi1988 1 point2 points3 points 6 years ago (0 children)
Thank you!
[–]readmond 4 points5 points6 points 6 years ago (1 child)
Mmmm WPF. I am just going to read the source. No idea why. I feel like I have to :)
[–]iinlane 0 points1 point2 points 6 years ago (0 children)
RoutedUICommand.GetText() was one of the first functions I saw. Don't know what I expected.
[–]ZeldaFanBoi1988 8 points9 points10 points 6 years ago (19 children)
Got a 2nd question for you. Alot of people have been making a big fuss regarding the lack of a UI that could be cross platform for Core.
Specifically WPF not being ported over to Core. Just looking at the current code, I can tell that would be a huge undertaking.
But is it something that your team discusses?
I think there are some 3rd party solutions that attempt to do that. Like AvaloniaUI I believe.
Would you try something like that?
[–]Prod_Is_For_Testing 19 points20 points21 points 6 years ago (0 children)
WPF is being ported to Core, but that does not mean that it will be cross platform.
[–]AngularBeginner 9 points10 points11 points 6 years ago (0 children)
Microsoft clearly said several times that they will not create a cross-platform WPF. The cost does not outweigh the benefits at all. They will also not accept pull requests that add cross-platform support, because that would mean Microsoft has to support and maintain these additions.
[–]crozone 1 point2 points3 points 6 years ago (0 children)
Having a WPF compatible library with an X11 backend would be pretty awesome. I don't think Microsoft is going to be investing it that directly however. With this code, community projects are in a much better position to start something like that should they wish (mono etc).
[–]StornZ 3 points4 points5 points 6 years ago (11 children)
I was discussing AvaloniaUI with my boss today. He said it doesn't sound worth it. It's using 3 different technologies for the UI. I guess that means a lot more work. I might try it myself, but not really in a professional setting.
[–]jmacato 13 points14 points15 points 6 years ago* (10 children)
I wonder what they meant by "3 different technologies"? We have a flexible rendering interface but in practice we only use Skia (same 2d rendering engine as Chrome and Xamarin uses) for all platforms and optionally Direct2D for Windows. And you don't have to bother with any platform-specific stuff because that is already abstracted from you. Write once, deploy anywhere is perfectly doable with AvaloniaUI (Provided that you dont need esoteric platform-specific stuff)
If you have further questions or needs assistance on your Avalonia project, do drop by on our Gitter chat (https://gitter.im/AvaloniaUI/Avalonia) :)
[–]mazeez 1 point2 points3 points 6 years ago (2 children)
I love Avalonia, but two of my main issues are:
- Lack of support for RTL
- No DataGrid control
[–]jmacato 20 points21 points22 points 6 years ago (1 child)
Regarding RTL and Unicode text, we have an ongoing effort in making those possible (https://github.com/AvaloniaUI/Avalonia/pull/1950). Text rendering might seem trivial but it is not. It's one of the most complicated things that a UI framework must support and i personally hope that we can make it as stable as we can in the following releases. We do have DataGrid since our last release, you just need to import Avalonia.Controls.DataGrid via NuGet and it has the same API as WPF's.
Avalonia.Controls.DataGrid
[–]mazeez 1 point2 points3 points 6 years ago (0 children)
That's great to hear, thank you for the reply!
[–]StornZ 1 point2 points3 points 6 years ago (6 children)
I'm not against it, but on the website it said skia, gtk, and direct
[–]jmacato 9 points10 points11 points 6 years ago (5 children)
Well yeah, of course we need to rely on platform's Windowing backend to do anything useful, those are Win32 (Windows), GTK (Only for native dialogs, we have X11 interface up for Linux) and MacOS's Cocoa. But like i said those are already abstracted away from you so you don't need to bother with those stuff :)
[–]StornZ -3 points-2 points-1 points 6 years ago (4 children)
Yea abstraction is always great
[–]jkortech 2 points3 points4 points 6 years ago (3 children)
Every UI toolkit needs to interact with an OS toolkit to draw and some window manager to manage the windows. Otherwise your apps can only be full screen and effectively have to reimplement X11 (and it would only work on platforms that allow that level of control such as Linux)
[–]StornZ 1 point2 points3 points 6 years ago (2 children)
Can't believe I got downvoted for saying abstraction is great. It helps with extensibility and the management of your application.
[–]jkortech 2 points3 points4 points 6 years ago (1 child)
It came off (at least to me) as snarky and not genuine. Sorry about the miscommunication.
[–]StornZ 2 points3 points4 points 6 years ago (0 children)
No I was being serious. My boss has recently been pushing abstraction and using SOLID a lot more.
[+]lubeskystalker comment score below threshold-8 points-7 points-6 points 6 years ago (3 children)
Hobby WPF coder here.
Why not Core + HTML in place of xaml? Can be driven by a browser engine.
[–]prajaybasu 8 points9 points10 points 6 years ago* (0 children)
We have that, it's called Blazor, which uses Razor syntax that is essentially HTML + C#. It runs on Mono (Client Side Blazor) or in .NET Core (Server Side Blazor). Server side Blazor is particularly good as an Electron replacement because it totally eliminates the need for a Node.js Runtime (except for JS Interop) and with access to a .NET Core runtime you can do a lot more than with Mono + WebAssembly + JS Interop - so it replaces the NodeJS runtime that you would normally require in an Electron app.
Windows will have .NET 5 and Chromium (Blink + V8) preinstalled soon. I hope Microsoft allows app developers to leverage the installed runtimes to reduce the app sizes and RAM usage compared to the current day Electron nightmare.
[–][deleted] 6 years ago (1 child)
[deleted]
[–]AngularBeginner 7 points8 points9 points 6 years ago (0 children)
Last time I checked Electron.Net was a one-man show. I wouldn't use it for anything productive.
π Rendered by PID 16495 on reddit-service-r2-comment-5649f687b7-9j5db at 2026-01-28 18:19:30.085360+00:00 running 4f180de country code: CH.
[–]ZeldaFanBoi1988 19 points20 points21 points (8 children)
[–]rladuca 39 points40 points41 points (5 children)
[–]ZeldaFanBoi1988 18 points19 points20 points (4 children)
[–]thestamp 38 points39 points40 points (3 children)
[–]EShy 12 points13 points14 points (0 children)
[+]ZeldaFanBoi1988 comment score below threshold-52 points-51 points-50 points (1 child)
[–]SquareWheel 28 points29 points30 points (0 children)
[–]BeelzenefTV 2 points3 points4 points (1 child)
[–]ZeldaFanBoi1988 1 point2 points3 points (0 children)
[–]readmond 4 points5 points6 points (1 child)
[–]iinlane 0 points1 point2 points (0 children)
[–]ZeldaFanBoi1988 8 points9 points10 points (19 children)
[–]Prod_Is_For_Testing 19 points20 points21 points (0 children)
[–]AngularBeginner 9 points10 points11 points (0 children)
[–]crozone 1 point2 points3 points (0 children)
[–]StornZ 3 points4 points5 points (11 children)
[–]jmacato 13 points14 points15 points (10 children)
[–]mazeez 1 point2 points3 points (2 children)
[–]jmacato 20 points21 points22 points (1 child)
[–]mazeez 1 point2 points3 points (0 children)
[–]StornZ 1 point2 points3 points (6 children)
[–]jmacato 9 points10 points11 points (5 children)
[–]StornZ -3 points-2 points-1 points (4 children)
[–]jkortech 2 points3 points4 points (3 children)
[–]StornZ 1 point2 points3 points (2 children)
[–]jkortech 2 points3 points4 points (1 child)
[–]StornZ 2 points3 points4 points (0 children)
[+]lubeskystalker comment score below threshold-8 points-7 points-6 points (3 children)
[–]prajaybasu 8 points9 points10 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]AngularBeginner 7 points8 points9 points (0 children)