creating Linux app from existing wpf program using xamarin [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm having a program created in wpf (using MVVM pattern) and I want this to work in linux too. I read about xamarin but couldn't find any tutorial how to implement such thing. Can anyone explain if it is even possible to somehow use my existing program with xamarin (in visual studio) and run it on Linux? And if so, how should I do this?
Thanks :)

You don't need Xamarin to develop a Linux desktop application using C#. With MonoDevelop (Xamarin Studio was originally forked from this project) you can develop GTK# applications that could be suited for your needs.
The problem with WPF is that Mono (the open source implementation of .NET) is only a subset of .NET and doesn't have any implementation for WPF, nor does it have any plans to implement it.
So the takeaway from this is that you can still reuse almost all of the core code from your existing application but to make it run on Linux you'll have to rework the UI layer.

Related

C# UWP RDP Client [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
How can I implement RDP client in UWP?
I checked the MS samples and I don't see any practical implementation of RDP with UWP.
Is this possible? With WinForms and WPF it as possible but I can't find any sample for UWP.
As far as I know, this is not possible in pure UWP apps.
However, you could try building the app as a WPF app, add modern UI using XAML Islands and then package the app to publish it as an UWP app on the Microsoft Store using the Desktop Bridge.

Is it better to learn windows forms or WPF knowing that i will be using syncfusion to make my UI controls? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
The project is directed to provide finance based solutions (specially concerning stocks).
for back end the technologies i am planning to learn and use are web C# based web API and SQL server for database. which is best to use as a webAPI asp.net or core or mvc for my api?
bonus questions: since i am learning these technologies, is it better to learn a cross platform based frameworks like react-native and xamarin. and which do you think is best platform that generates mobile apps in addition to windows application, if performance is a key factor?
To answer your first question, WinForm is much simpler than WPF to learn, but WPF is way more powerful and flexible (in my opinion). So I suggest to start directly by learning WPF.
CrossPlatform frameworks like xamarin are good way to rapidly deploy solutions in all platforms. But, if you're creating custom views, you'll have to create a custom view for each platform anyway.
Xamarin.Forms (cross-platform) is much slower than using the native language of each platform.
Last thing, if you want to deploy your app for Windows + Android + iOS, you should use Xamarin.Forms, it's pretty similar to WPF and it gives you some UI elements to share with each platform (Labels, Switchs, StackLayout, ...) and all the libraries that C# can give you, while it stays outside of native code.
Hope this helps,
All the best.

Issues with embeding WPF into Win32 Application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a large wxWidgets (Win32) LOB application. In future I want to get rid of wxWidgets and want to go for WPF (Prism). I want to develop any new component in WPF only and expecting to embed into wxWidgets Application, so that I can reuse the same whenever I will go for full fledge WPF application.
I came across 3 approaches to host WPF component into Win32 application.
Muliprocess architecture
Create WPF component as exe, and use the SetParent() and MoveWindow() calls to embed it into existing Win32 application. I created POC, and is working as expected.
Wrap WPF component with COM interface
Both .NET and C++ supports COM. This is achievable but I did not created any POC.
Use the Guidelines given by Microsoft
compile C++ application as a C++/CLI application. Once it's a C++/CLI application, you can mix managed and native code easily.
If anybody already came across with situation like this, Please advise me what are consequences I have to face with these above approaches.
I have heard issues with focus, keyboard events and mouse events.

Code Sharing between WPF Windows,WindowsPhone and Windows Store Applications [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
We have planned to develop an application for the platforms
WPF Desktop,
Windows Phone and
Windows store.I want to share C# code and Xaml design between these platforms.I know that it is not possible to share the whole set of codes.Experts please guide me.Which frame work(MVC,MVVM,etc.)I have to develop?And how much possibilities are there for sharing?
For your c# business logic code use the Portable Class Library project in Visual Studio 2012 it supports the cross-platform development of .NET Framework apps. You can build portable assemblies that work on multiple platforms (Windows 7, Windows 8, Silverlight, Windows Phone, Xbox 360).

which language / tool to use [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Here's the situation:
I need to develop a desktop tool that will take in an input from Oracle (text) and it's output is a print of a layout generated by that tool.
The tool needs to be fast and able to print easily and not much extra software required on client PC's which ALL run Windows.
Now i've studied Java, PHP in the past however I don't want to use PHP for the Desktop App
and I have my doubts about Java in regards to Printing and developing the GUI.
It seems to me like with C# I can develop the GUI easier and faster, and most PC's have a lot of the tools required for the GUI in the OS (.net framework).
A tool like NetBeans helps, but more often than not the GUI design is either broken
or shoots across the screen when I make a simple change.
So now I'm thinking about starting in Visual C#, however I would like to get your
opinion.
And from my past VERY short .NET programming experience, I can still remember that deploying over the internet is easy as well, with JAVA I've had some issues with that as well before I got it to work.
So in short:
Windows environment
Lot of GUI design
Fast app that runs on client Windows PC's without much 'extra' software installing
Easy print programming
THANK YOU!
My preference would be C# or VB.NET with Windows Forms. WPF is also worth looking at, and will give you the most modern UI, but it has debatably a steeper learning curve attached.

Categories

Resources