Is it possible that windows form application create app package? - winforms

I use rassberry pi 2 with Windows 10 Iot Core.Remote machine of Visual Studio didn't work when I run the my universal windows project with İot Extention(it s say that deploy failed) so I send app package of my project from device portal and it run but I have windows form application and it dont create app package for sending to device portal.
What can I do ? Is it possible that windows form application create app package? or what is any other possible way?

Windows Forms applications are the old or classic applications. Windows 10 iot is compatible with UWP(Universal Windows Applications) apps only.
You can't create an appx for Windows Forms applications, because this kind of package is for UWP apps.
Update: Now you can use Desktop conversion for UWP( Project Centennial)
https://developer.microsoft.com/en-us/windows/bridges/desktop

Related

How to create windows installer for ReactJS application

I am trying to create a windows installer for a web application. In this web project we are using both front-end (ReactJS) and back-end (Spring BOOT) servers.
Now I am struggling to create a installer for the software distribution:
Can someone please advice me how to do it?
How to approach to start those servers once installed?

IBM MobileFirst 7.1 - Windows Phone Hybird App and invoking Java Adapter from native code

We are using MobileFirst 7.1 and deploying a Hybrid Application for Windows Phone.
In our Hybrid Windows Phone application (which is Silverlight application) we want to invoke a MobileFirst Java Adapter.
As we see in the link http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.dev.doc/devref/c_adapters_endpoint.html we need to use WLResourceRequest for Java Adapters, but we try to use it in our Silverlight App, we cannot find WLResourceRequest. Does this class exist only for Universal Windows Phone Apps?
In our case we need to invoke a Java adapter from our Silverlight Application. It’s not very clear how to do that.
When we check another page in the documentation: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/server-side-development/invoking-adapter-procedures-native-windows-phone-8-applications/, we read see in the introduction about WLResourceRequest, but later in the same page it's not used, and we have only Javascript adapter invocation sample code, not Java Adapter.
My question is: How to invoke Mobile First Java from my MF Hybrid (Silverlight) App (from native code) ?
The statement in the tutorial regarding WLResourceRequest in Silverlight apps is an error. Silverlight apps only support WL.Client.invokeProcedure. The tutorial will be corrected.
As such, Java adapters are not supported in Silverlight apps.
What you could do is invoke a JavaScript adapter that uses Java code: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/server-side-development/javascript-adapters/using-java-adapters/

WPF Browser Application Installing as Non-Admin user + .NET Framework

My app uses .net 4 Client Profile, and needs to be installed on a machine, which doesn't have the net framework and by a non-admin user. Could anyone confirm if it's possible?
You will need to enable your application to be deployed via ClickOnce

Silverlight: How to deploy a Silverlight app?

I've just written a Silverlight app and want to deploy it. This app is NOT to be hosted at a website. It is supposed to be a standalone app, just like a standalone WPF app for Windows, but (if I understand Silverlight correctly) it can run on both Windows and Mac.
I've created a .xap file. What do I do with this file to get the app installed? Thanks.
You do need to install it from a website as it still requires the Silverlight environment provided by the browser plugin.
It is the browser plugin that provides the OOB (Out Of Browser) mode.
I gather Adobe Air has the same requirements for apps.
In addition to what #HiTech Magic stated, you can also create a standalone installer for silverlight OOB apps using SLLauncher.exe.

How to communicate between Windows Form app and Web Site?

We developped an C# .Net 2.0 Windows Form application for Windows XP embedded that controls the underlying hardware/device. Now, we need to add a c# .NET 2.0 Web Site (hosting by IIS inside the same device) that can send commands to the Windows Form application (example: Start measuring) and receive data.
What is the best way to do it?
We thought about Web Service, but how the Windows Form application can know when the Web Service will receive a command from the Web Site.
Thank you.
Note: Forbidden to install on the device a Framework .NET 3.x or 4
Given this restriction on .Net 2.0, .net remoting is the way to go in this situation.
http://en.wikipedia.org/wiki/.NET_Remoting
Winform app can expose objects via remoting. Web app can send request to these objects. request would have commands.

Resources