Silverlight: How to deploy a Silverlight app? - silverlight

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.

Related

UWP Mobile Run WACK test for mobile app

I am new to Windows app development. I am building a C# app targeting UWP desktop & mobile platforms. I have read these links MSDN-Link 1 & MSDN-Link 2
Both these links doesnt seem to talk anything about running WACK tests for mobile. Any useful info will be highly appreciated.
I am building a C# app targeting UWP desktop & mobile platforms.
WACK test is now enabled for the UWP workflows, there is no need to care the device platform, whether your app runs on desktop or mobile does not change UWP workflows, you can directly publish your app to store after WACK test for UWP app is finished.

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/

Is it possible that windows form application create app package?

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

Recommended development environment for Cordova / AngularJS / Ionic

I am getting started with building "hybrid" mobile apps using Cordova and AngularJS with Ionic. I am able to build out a sample app by creating the html, js and css files locally and running these in a browser using file:// url's. This works fine, and when ready I can run the cordova build process and run the app in the android emulator or deploy the apk to my device. This all works fine for my simple demo apps. But now as I start to build out an app which will use an Angular service to either load JSON from local storage (if offline), or load the JSON from a remote REST API, I am running into problems. As I am developing, opening the app from a file url (file://myapp/index.html) will result in the browser not being able to make an http call to the REST service (different origins, etc).
This seems to be a very basic issue - so my question is, how do others develop and test Cordova apps in general? Do you always develop with the "www" files on a web server, like Node? If so, does the issue of http:// requests from file:// url's become a problem when you use those files in the Cordova app?
CORRECTION: I am able to access remote REST services from a page on the local file system, as long as the remote service includes "Access-Control-Allow-Origin" header. So, I think that answers my question. I can develop with all of my html and js on local file system, have the JS make remote calls, and test by running in a browser using file:// url's. But is this generally the development environment in which you would develop a Cordova/PhoneGap app?
I can recommed Intel XDK ( fromer app mobi)
http://xdk-software.intel.com/
It has a good emulator(s) on desktop and can
It works fine with ionic framework and angular extensions ( just comment out the cordova.js
script and add intelxdk.js
<!--<script src="cordova.js"></script>-->
<script src='intelxdk.js'></script>
It can also cloud test with a wrapper app and cloud build for appstores
Works fine so far so I can recommend this
I like AppGyvers ( sterois) platform too but it does not work so good on android yet
For Cordova apps, I start development locally on my machine with Chrome. I have to run Chrome with disabled security (allowing cross origin).
On OSX, you can run Chrome with security disabled by running the following terminal command (make sure Chrome is fully closed first).
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security --allow-file-access-from-files
Once I get to a point where I need to start integrating Cordova Plugins, I then build out the Cordova project and test with an Android tablet (the Android emulator is horrible). For remote web debugging on Android, I use weinre.
I never personally build out or test my code on a web server, it's always local on my desktop or mobile device. I make all web service calls via jQuery's Ajax.
There are many hybrid app development tools out there. However, if you are looking for developing a hybrid app (phonegap + angularJS + backend), I would like to recommend Monaca. I've just recently discover it. It is very cool since it has phonegap inside its framework and its own backend. Moreover, it also has a UI framework called OnsenUI which is based on Topcoat and AngularJS.
It also provides native components to use in your hybrid apps. What is impressive about it, you don't even need to build and install your app to your device everytime during development. That's what I love the most about this.
I hope it helps since I think it is just like what you are asking for. I'm just a novice developer and I find it is very easy to use.
take a look to visual studio tools for cordova cordova-vs, it include ripple emulator and a lot of good stuf
update:
i recently found this ide neodym , it looks promising

XAP Caching in Silverlight OOB, when using Prism

I have a Silverlight Out Of Browser Application built using Prism Framework. I am using WebClient to download the application module XAPs depending on the user logged in to the application.
Now my Question is will these other XAPs which I am downloading explicitly be cached when running OOB.
If yes where will it be cached, and how can I check for updates like CheckAndDownloadUpdateAsync which I can use only for the main installed XAP.

Resources