10 ms·
Uno: Create Beautiful Cross Platform .NET Apps Faster
- watersb 3y agoI was confused by the name, because I remember 'Uno' as part of OpenOffice. I presumed that this was OpenOffice internals that support cross-platform UI and OpenOffice scripting. But apparently, the 'Uno' internals in OpenOffice are just the internal object message bus and don't have anything that is visible to the user. https://wiki.openoffice.org/wiki/Uno https://wiki.openoffice.org/wiki/Uno
- gruntThenPunt 3y ago[dead]
- craigmcnamara 3y ago[flagged]
- jeremycarter 3y agoProblem with it? It's good enough for the millions of web pages out there.
- lf-non 3y agoIf you scroll down there is support for a pure C# builder API too which looks quite nice. https://platform.uno/c-markup/ https://platform.uno/c-markup/
- deleted 3y ago[deleted]
- userbinator 3y agoIt's .NET, mentions Windows and native, yet none of the screenshots look anything like native Windows controls.
- jeremycarter 3y agoI could be wrong, but it might be able to host native components or draw your own.
- francoistanguay 3y agoIndeed, an Uno app is a native app, it uses UIKit on iOS, Views on Android, HTML on Web, except on Linux where you only have access to our Skia renderer. Therefore you can embed native controls.
- KacharKhan 3y ago"on Linux where you only have access to our Skia renderer" ... means what? Can I make a basic GUI app on Linux with Uno. If yes how ?
- francoistanguay 3y agoYes, on Linux it behaves similar to Flutter and draws directly to a Skia Canvas. It used to have a dependency on GTK but no more since the 5.2 release. There's just no notion of "native controls" that you can embed in an Uno Linux app like you could have if you wanted to embed a 3rd party native UIKit control on iOS.
- pjmlp 3y agoUno is based on UWP, on Windows it uses the native UWP stack.
- neonsunset 3y ago[flagged]
- pjmlp 3y ago[flagged]
- arunc 3y agoUno has been around for over 4 years. Wondering why this hasn't picked up so far, albeit being a very flexible platform/framework.
- mpartel 3y agoThe rather prominent XML on the front page might scare folks off.
- neonsunset 3y agoInterestingly enough, in practice, there are various declarative SwiftUI-style nuget packages for Avalonia[0][1][2] and Uno[3]. You don't actually have to touch XML if you don't want to. Edit: as someone else noted, the website itself links to a built-in option to do so as well - https://platform.uno/c-markup/ https://platform.uno/c-markup/ [0] https://github.com/AvaloniaUI/Avalonia.Markup.Declarative https://github.com/AvaloniaUI/Avalonia.Markup.Declarative [1] https://github.com/wieslawsoltes/NXUI https://github.com/wieslawsoltes/NXUI [2] (F#) https://github.com/fsprojects/Avalonia.FuncUI https://github.com/fsprojects/Avalonia.FuncUI [3] https://github.com/VincentH-Net/CSharpForMarkup https://github.com/VincentH-Net/CSharpForMarkup
- pjmlp 3y agoPlenty of folks that criticise XML, have no issues dealing with JSON and YAML spaghetti, ironically.
- mpartel 3y agoI agree. It's just quite a lot of verbose-looking XML. "I have to write that much XML" is probably not the first impression you want to give. I did scroll down and see that you don't actually have to write such XML by hand, but many will not.
- sasakrsmanovic2 3y agoGood feedback. C# and XAML are on parity. But if you are seeing too much of one and not the other, it needs to be adjusted
- qwerty456127 3y agoIsn't Avalonia better?
- m_eiman 3y agoSeeing several comments about Avalonia made go have a look at their website. Then I found the price page, and wow - that's a price! €19,500 For the 1st app. Second app only €4,500
- dancemethis 3y agoUsed it for a couple of internal applications for a former client, zero cost.
- ammo1662 3y agoTheir website is https://www.avaloniaui.net/ https://www.avaloniaui.net/ Where did you go? [Edit] Sorry, I see that you are talking about the "XPF". I didn't use that before.
- deleted 3y ago[deleted]
- S04dKHzrKT 3y agoThat's for Avalonia XPF, their product that runs WPF apps on Linux and Mac. Avalonia UI is free and licensed under the MIT license.
- zczc 3y agoThere are two Avalonia products: free and open-source Avalonia UI and paid Avalonia XPF. Looks like [1] XPF allows making existing WPF apps cross-platform while Avalonia UI is more for developing from scratch. [1] https://avaloniaui.net/Blog/migrating-wpf-applications-avalonia-ui-or-avalonia-xpf https://avaloniaui.net/Blog/migrating-wpf-applications-avalo...
- Semaphor 3y agoJust to clarify what is what: Avalonia UI is free, what is expensive is their XPF solution, which allows you to get free cross-platform features for your existing WPF app. So this is very much targeted at companies with legacy code that they want to make cross-platform without even more expensive rewriting.
- jbverschoor 3y agoWhat's the difference between the NativeScript UI library and this?
- sasakrsmanovic2 3y agoMany differences. To begin, NativeScript is JS based, where Uno is .NET Based (therefore C# and XAML). Fun fact, I worked on NativeScript team, and now on Uno team.
- rkagerer 3y agoIs there a "gallery" where I can try out one or two apps developed using this, on different platforms?
- javajosh 3y agoI just learned about this thing today, so take this with a grain of salt: there are links out to two apps, Simple Calc and Tube Player, at the bottom of the home page. These are tutorials and source code, not a finished product. There is also a "gallery" on the top right, and you can play with the UI components rendered in the web: https://gallery.platform.uno/ https://gallery.platform.uno/.
- jlaban-uno 3y agoUno Platform maintainer here - We're maintaining production apps ourselves, like NuGet Package Explorer [1], or Uno Calculator [2], and many third-party apps are in production, with some shown in case studies [3]. You can also find some other tech Wasm demos [4] on our repo. 1: https://nuget.info https://nuget.info 2: https://calculator.platform.uno https://calculator.platform.uno 3: https://platform.uno/case-studies https://platform.uno/case-studies 4: https://github.com/unoplatform/uno#live-webassembly-apps https://github.com/unoplatform/uno#live-webassembly-apps
- cfn 3y agoOne thing I don't understand about Uno is how do they make money. Everything looks very well done and I have been following them for a few years but I don't see how they will survive without selling anything.
- mrbungie 3y agoThey offer paid support plans. That actually may explain why everything looks so polished. https://platform.uno/support/ https://platform.uno/support/
- francoistanguay 3y agoSustainability explained here: https://platform.uno/blog/sustaining-the-open-source-uno-platform/ https://platform.uno/blog/sustaining-the-open-source-uno-pla... We're also building products of Uno with licensing, first one being the Figma plugin for Design-To-Code: https://platform.uno/unofigma/ https://platform.uno/unofigma/
- cameronh90 3y agoAny company that is giving away open source software for free seems to eventually go down the route of open core or restricting commercial use of their open source product. Uno seem to be starting to go down the enterprise support route - plus open core with their recent Figma plugin release. At least the Figma plugin is very tangential to the core product so it's hard to imagine it competing for features at this stage. Though with the recent spate of open source company rug-pulls, and I'd struggle to justify using it. It seems like open source is increasingly just being used to build market share, then the VC/PEs come in, make a "contact us" enterprise pricing page, and suddenly issues and PRs start getting rejected because they compete with the paid add-ons. I really hope the same won't happen with Uno, because it looks like a great library, and something that's missing from the dotnet world. Their sustainability blog post gives me hope, but... sadly it would not be the first time that founders with good intentions find out that running an open source company is nearly impossible, end up taking funding to keep up, then the rest is history.
- francoistanguay 3y ago
- postepowanieadm 3y agoKilling XUL was a huge mistake.
- theCodeStig 3y agoHas anyone tried Uno with F#?
- francoistanguay 3y agoYou can create an F# class library and use it with Uno, it's all .NET. We just don't have a dotnet Template for it just yet.
- brushfoot 3y agoSome questions that aren't in the FAQ: - What is the license? Apparently Apache 2.0 [1]. - What is the minimum web bundle size and startup time? - On desktop, what is the minimum RAM usage? Binary size? - Is there a WYSIWYG editor? [1] https://github.com/unoplatform/uno/blob/master/License.md https://github.com/unoplatform/uno/blob/master/License.md
- irq-1 3y agoIs the website wrong? The repository for the toolkit is MIT, but the website says free for under $1million... https://github.com/unoplatform/uno.toolkit.ui/blob/main/LICENSE.md https://github.com/unoplatform/uno.toolkit.ui/blob/main/LICE... https://platform.uno/uno-toolkit/ https://platform.uno/uno-toolkit/ DEV FRIENDLY LICENSING Uno Toolkit License Uno Toolkit is available for free for individual developers and businesses with revenue of less than USD 1,000,000. If your revenue exceeds this threshold, please reach out to us to obtain a license for Uno Toolkit and access the complete suite of development accelerators.
- francoistanguay 3y ago- Yes, Apache 2.0 - Web is meant for WebApps, not websites. Including Uno+DotNet runtime it's about 4mb compressed. - No WYSIWG editor, yet, but Hot Reload works really well.
- king_magic 3y agoCross-platform development, the scam that never ends.
- sasakrsmanovic2 3y agoWhy? Seems like a flaming comment without any substance to back it up. Could you elaborate please?
- actionfromafar 3y agoIt's flaming but I can relate. Every cross platform UI describes itself as the second coming of Christ. In reality there is always a tradeoff and impedance mismatch. Of course there are more polite ways to point this out.
- king_magic 3y agoIt's not flaming. An astonishing amount of money has been wasted on the promise of cross-platform mobile development. At this point, anyone continuing to push it is complicit in the scam.
- YellowTech 3y agoIs this just me or does Firefox become completely unusable when opening the homepage platform.uno?
- CaptainOfCoit 3y agoWorks almost perfectly fine for me with Windows 11 + Firefox 125.0.2 (64-bit), besides the top menu item icons not rendering. Reason for the icon rendering issues seems to be ill-configured cross-resource sharing, so should be the same for everyone else with a properly configured browser.
- ajpinedam 3y agoUsing Firefox (Developer edition here, the blue one), and I don't see any issue.
- issafram 3y agoHow does this compare to Avalonia?
- exceptione 3y agoThe right question, as Avalonia is the gold standard for the cross-platform .net ecosystem. Maybe this opinion piece might help: https://www.codeproject.com/Articles/5366945/Multiplatform-XAML-Csharp-Miracle-Package-Avalonia https://www.codeproject.com/Articles/5366945/Multiplatform-X... His conclusions: «Now what I mean by "better" - it (ed: Avalonia) allows considerably faster development, maintenance and support of the products. In particular: - It is a more powerful UI package allowing much more re-use and creating shorter code faster to achieve the same functionality. Part of the reason for that is that it is not confined to WinUI/UWP bounds - it is actually more powerful than WPF which is in turn better than WinUI or UWP. Another reason is that it has a better implementation with a lot of code re-usable across all of the platforms while Uno and MAUI essentially have completely different implementations for each of their platforms. - There are many features in Avalonia that are not implemented in Uno or MAUI, while I do not know a single feature implemented for Uno or MAUI that would not work in Avalonia. If someone knows a single feature available in Uno or MAUI but not available in Avalonia, please mention it in the comments and I will refer to it in this article. - Avalonia covers all the same platforms as Uno and more than MAUI does and has considerably fewer differences between behaviors on various platforms. - Avalonia is easier to switch to for an expert WPF developer than to Uno or to MAUI.»
- lostmsu 3y agoI would not call it a gold standard. It doesn't have a WebView control, and its TextEditor control is slow as molasses.
- matijash 3y agothis roughly reminds me of Xamarin? Is there a similar philosophy behind it?
- francoistanguay 3y agoUno achieves similar goals to Xamarin.Forms/MAUI. It's also based on .NET. Main differences are that it also targets Linux+WebAssembly, and it's meant to be Pixel-Perfect so it would look and behave the same on all platforms by default. It also offers a variety of additional packages out of the box and aims to be an end-end platform instead of solely a UI framework: Hot Reload, C# Markup alternative, a toolkit of mobile-first controls, design systems, reactive state management (MVU-like), recipes for Authentication/Navigation/Logging/DI/...
- KacharKhan 3y agoThese "additional packages out of the box" , particularly the Auth/Nav/Log etc ... also have FOSS licensing??
- aryonoco 3y agoYes
- KacharKhan 3y agoHow long have Uno being FOSS ??
- francoistanguay 3y agoUno was open-sourced in 2018. Has been in development since 2013.
- layer8 3y agoCan I also create aesthetically neutral apps faster with this?
- francoistanguay 3y agoYes, it's all simply a matter of styling. You can leverage some of our existing design systems like Material/Fluent and customize them: https://platform.uno/docs/articles/external/uno.themes/doc/themes-overview.html https://platform.uno/docs/articles/external/uno.themes/doc/t... Or you can start from scratch and define your own styles. By default, they will be pixel-perfect and look the same on all platforms.