-
Notifications
You must be signed in to change notification settings - Fork 428
[Proposal] .NET UI Standard #756
Comments
This shouldn't depend on anythinks. Not event XAML, C#, Java, Javascript, C++, .... To me it must be implement in IL (MSIL, WASM, ...) to be usable from any Framework/language and keep performance to the top. |
I don't talk about .NET Standard. I talk about making a whole new project project. |
In fact it's already done before you make this issue. I thougth you were talking about this and you didn't understand what .net standard was about. |
Note that even W3C describes the DOM (using IDL). Obviously interfaces in say C# would be fine, eg have IActionable, IClickable, IDraggable, IButton, IRadioButton, IToggleButton etc. Note that interfaces allow for multiple inheritance |
@birbilis |
I think there is nothing wrong with having a cross-platform UI stack. But even if we had one today, it wouldn't belong here. Keep in mind that .NET Standard is neutral with respect to the application model as this API set needs to be implemented by everyone. This includes headless devices, console apps, cloud services, and web assembly. Forcing everyone to support a client side UI stack is not only not desirable, it's just not feasible. So while I'm supportive of that effort (I'm famous for hating on the Electron-style experience) this issue just doesn't belong here, sorry. However, there is a User Voice item that is tracking that and I'm sure there are people thinking about it. So please don't read me closing this as not being supportive. I just don't want to track that here. |
@terrajobst By this issue I didn't mean that .NET UI Standard should be part of .NET Standard, but merely an appendix to it (probably depending on it). That User Voice item is from 2015. That's before Microsoft even acquired Xamarin. Xamarin is headed the right direction to solving that, but it follows its own model and makes up its own standards, while the opposite should be: Microsoft defining a set of standards everyone follows. Kinda XAML Standard, just XAML is the wrong word, should rather be UI. I mean it could have been in .NET Core, but really it doesn't belong there either, because my request is an abstraction of the feature-set of any UI in any .NET, @birbilis defined it best. |
OK posted it here please vote! |
Maybe the community needs to define a UI standard without Microsoft... |
Hi,
The .NET Standard was a great solution to overcome the various shapes of .NET and all its flavors.
Maybe it's time to implement a .NET UI standard?
It will be a library of contracts for controls, layouts, user-input event hooks, navigation, styling, responsive adaptations, animations, shapes, and basically all tools a decent UI library is supposed to offer.
Maybe even an opinionated default theme.
This will allow .NET UI Standard providers (be it WPF, UWP, Xamarin.Forms, Avalonia, Uno, or even web technologies, like ASP.NET Core), to implement renderers for the same UI in any platform while giving the developer the option to reuse the same UI structure.
We may consider using XAML as the language to describe those UIs but the core shouldn't be XAML but rather a CLR-based set of interfaces.
Related:
The text was updated successfully, but these errors were encountered: