.NET Framework Winforms App on Windows IOT - winforms

I have a Winforms application built on .NET Framework 4.7 running on client's desktops. Client would like to run it on a tablet running Windows IOT. Is this possible?
I've found a couple of articles indicating it should run on Windows IOT Enterprise, but not Windows IOT. However, I haven't been able to find much specific official documentation.
Can anyone enlighten me and/or point me to some official documentation?

Related

How to use Docker to deploy WPF applications?

I know from the documentation here that I cannot use Docker to run WPF applications. However I have the use case that I would essentially like to create containers that can easily be shared to then deploy my WPF application onto another Windows computer or VM.
The purpose of this is to be able to quickly deploy new test versions of the WPF application without having to provide testers access to the full code base and expect them to rebuild or have to develop and maintain a full installer at an early stage of development.
The application is MVVM based WPF with Prism, with a target framework of .Net Core 3.1 and a SQLite database.
The bolded text below implies this is possible:
Docker is for server applications—Web sites, APIs, messaging solutions and other components that run in the background. You can’t run desktop apps in Docker because there’s no UI integration between the Docker platform and the Windows host. That rules out running Windows Forms or Windows Presentation Foundation (WPF) apps in containers (although you could use Docker to package and distribute those desktop apps), but Windows Communication Foundation (WCF), .NET console apps and all flavors of ASP.NET are great candidates.
However I have struggled to find clear documentation for how to do this. Is this possible and if so where can I find the appropriate documentation? If I have misunderstood this please let me know, I am also unsure if this question belongs here or on the Software Engineering stack and am happy to move it if necessary.
Thanks!

Can Blazor Hybrid apps be cross-platform?

I trying to find the most suitable Framework to port my legacy WinForms applications to the new technology. But the best way for me is cross-platform app.
I can build a Blazor Hybrid Windows Forms app. But can it be built as a cross-platform: for Windows, OSX, Linux ?
If no what can I use?
I believe that Blazor Hybrid apps can be cross-platform if the app is a .Net MAUI Blazor App.
The Microsoft documentation here shows how to create this type of app using Visual Studio 2022 (Preview edition at the time of writing in early June 2022). The application is shown running as both a Windows desktop app and an Android app.
You can see in the image above that Visual Studio says that the .Net MAUI Blazor App targets macOS as well as other platforms. But, there does not seem to be support for Linux. Further, the MAUI documentation states that a Mac is required to build for iOS and macOS.
Blazor Hybrid can be implemented in different containers, so you could have Uno Blazor Hybrid. There is already a COM+ Blazor Hybrid.
So - Yes. That's the point of it. Write once, run everywhere (assuming a shared Razor library).

How to distribute .Net Core 3.1 with a WPF application

I am currently shipping a WPF application that targets .NET Framework 4.7.1. Almost all Windows systems nowadays have .NET Framework 4.7.1 (or greater) already installed. For the few users that don't, my app's installer provides a link to the Microsoft's download page. All security updates are handled by Windows update.
Now, I'd like to start targeting .NET Core 3.1. Many users do not have it on their machines. How can I get my app to run on wide range of machines, without burdening the users? One solution I thought of is to have my installer download .NET Core installer from Microsoft and run it. Am I going to mess anything up on the user's system if I do this? Is it going to be updated automatically by Microsoft updates?

Is there any way to port WPF application to Windows IoT?

We have developed a WPF application runs great on Windows 10. At this point we are looking for ways to run this software on a Minnowboard. This board has a Windows IoT OS. As I've seen it is only capable to run UWP applications. Is there any way to make our app run under IoT? Thanks.
Of course you can port your code. Depending on how complex your app is, it still might need some rewriting as many APIs are not available anymore, have changed or were added.
Maybe these links help you:
Move from WPF and Microsoft Silverlight to WinRT on MSDN
UWP Bridge tool by Mobilize.NET
UWP samples by Microsoft on Github
Windows 10 IoT Enterprise version enables WPF apps

Out of browser silverlight 4 application with local database that will run and install on windows or mac?

I am researching using silverlight 4 to develop a desktop application that can be installed from a browser window, now the tricky part is that I want a lightweight database embedded into the application. The database should install with the rest of the application and it should ideally work on both windows and mac systems. Originally I was thinking sqlite would be suitable for this but I have learned that it is not compatible with silverlight. Does anyone know of a solution for this?
There are some available silverlight databases such as:
siaqodb - uses LINQ, available for WP7 - commercial.
effiproz - available for WP7 - commercial.
Perst - open source.
These utilizes silverlight local storage, comes with their own database engine.
There is also Ninja Database Pro that works for Silverlight and Windows Phone 7:
http://www.kellermansoftware.com/p-43-ninja-database-pro.aspx
Nowadays SQL Lite is a viable option for SL4 / SL5.
You could also team that up with DevArt LinqConnect product (http://www.devart.com/linqconnect/) that is an EF / Linq-to-SQL like wrapper over SQL Lite.
I've also looked at alternatives Siaqo DB and Ninja DB (as mentioned by others).
While not exactly a database, the upcoming release of the Sync Framework will support offline caching for Silverlight 4 on the desktop/browser, and Silverlight on Windows Phone 7. As Liam Cavanagh mentions in this blog post before TechEd:
I have a TechEd session this week where I will be demonstrating all of this as well as how we will be extending the capabilities of the sync framework for creating offline applications, specifically allowing Silverlight, Windows Phone 7 and even non-MSFT platforms to be used for the clients.
Link

Resources