Can my Azure Mobile Service run locally? - azure

I am new to Azure. I am following this tutorial in setting up my .Net server for azure and ios client.
http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-ios-get-started/
I am testing my ios client on simulator. Can I run my .NET server on my location machine with put publish it to azure? If yes, how can I figure my client to talks to this location machine?
And in the tutorial, it creates a Database Table. If I run it locally, do I need to setup my location DB server?

Not on a mac (which you need for iOS development). With the .NET backend you can run the service locally on a Windows machine, but it will be running off of localhost.
For iOS development, you have two choices. If you use the JavaScript / node.js backend, where all of your development can be done in the Mac (you can configure the service via Git locally or directly in the portal). If you use the .NET backend (the link you mentioned), then you need the Mac for the client-side development, and a PC (or Windows running in the Mac on an emulator such as parallels) to develop the server (you need Visual Studio for that).
And regarding your question about the table, when you run it locally, it will use Entity Framework Code First (by default), so you don't need to create the table in your (local) database - it will create it automatically for you.

Related

How to convert a Yii2 local website to a desktop executable?

I currently have a local basic Yii2 website with an external database on XAMPP. Is there a way I could convert this application to a native desktop application that can run on Windows and the Linux OS?
I wish to build the desktop app myself and not use automatic builders like Web2Desk
It'll come as an .exe file which can be run to install the app. The app would not need any 3rd-party software (for the database for example). I'm thinking kind of like the Slack desktop application.
Can you please help?

Looking for a way to pack node app into standalone Windows executable running as Windows service

I need to run a node.js server application as a self-contained executable which should be a Windows service. There are several libraries creating either a self-contained executable or which implement a Windows service layer in node.js but do not create a self-contained executable which is a Windows service itself.
Requirements are:
node.js server app should be deployed as Windows service (self-contained, win-exe, no node installation on target machine)
Windows service should be able to use parameters for node.js server app (e.g. a TCP port number or node_env)
it would be great, if some files could be stored beside the service which are used within node.js server app (e.g. SSL certificates)
Does anyone know an open source tool, library or sth. else which does fulfill these requirements and which is maintained well (still supported / developed, no critical old open issues etc.)?

how to start stop worklight server 6.2 on linux?

I have Worklight Server and Appcenter installed on RHEL 6.4 and am unable to find commands to start & stop these servers gracefully. Primarily, I would like to do this to apply patches, make changes to databases etc.. Any help is really appreciated.
It sounds to me like you are referring to installed instances of Worklight Server and Application Center in a QA/UAT/Production environment.
This means that your Worklight Server and Application Center instances are deployed to some application server (either WAS, WAS Liberty or Tomcat). So the way to start and stop these instances would be via the commands available by the the used application server. You should probably then consult with the user documentation of the used application server for the commands. For example for Liberty: http://www-01.ibm.com/support/knowledgecenter/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/twlp_admin_script.html
If you are in fact referring to the Worklight Development Server (Worklight Studio plug-in for Eclipse), there is no publically available way to stop the server from command line -- unless you are using the CLI tool to manage your development (working outside of Eclipse), there you do have a command for it.

Autorun desktop app and check if it is running from a Windows 8 App

I´m developing a Windows 8 App, and it needs a desktop app running on background to work properly.
So i have two questions:
1.- The OS is a Windows 8.1 Industry Embedded. I need to autorun the desktop app and my Windows 8 app at startup.
Here explains how to do so with a Windows 8 App, but not with a desktop app, so i´m using this other solution to add the application to the Windows Startup folder, but i´m not sure if this is the best way.
2.- Then, when my app starts, i should check if the other app is running or not to work in one way or another. How can i check that? I´m developing with HTML and Javascript.
Thanks!
Yes that is the 'proper' solution to starting a desktop app on startup. Otherwise you can look at creating a windows service that manages the app lifecycle.
By design, winRT apps are not supposed to talk to desktop applications, but if you are sideloading the winRT app (i.e., not through the Windows Store), you could run a local server with your desktop app, and then enable local loopback with localhost in your winRT app and communicate that way.

Using Windows Azure in a local Dev Mode with PHP

We are trying to evaluate and eventually migrate to the windows azure cloud platform.
I am stumbling on the installation process...
I'm currently following this tutorial.
I can't get the Windows development Fabric interface working like on this picture.
When I install the app fabric sdk (downloaded here) I get no .exe program to simulate the cloud...
I installed Windows AppFabric which is not what I need (I think).
I keep on being directed on AppPlatformInstaller which do not install what I need but I'm sure is part of my solution.
You are downloading wrong SDK. For Windows Azure Cloud platform you must download and install Windows Azure SDK And Tools for Visual Studio.
Then you will have a folder %Program Files%\Windows Azure SDK\v1.5\bin. There will be devfabric and devstore folders, under which the local development Frabric and Development Storage executables will reside.
Then if you are targeting .NET based solutions, you will have new project templates in Visual Studio, and everything shall be running smoothly. On the other hand, if you are targeting open source solutions you might want to follow the like provided by Ben.
As for Windows AppFabric - yes, it is wrong in terms that it is not related to Windows Azure at all.
Let us know if you have any issues when downloading and installing latest Windows Azure SDK And Tools for Visual Studio
You may want to check out the docs available from the Microsoft Interoperability Team. They maintain an entire site dedicated to running PHP on Windows Azure
http://azurephp.interoperabilitybridges.com/articles/build-and-deploy-a-windows-azure-php-application
Basically to get it working just install the Windows Azure SDK and with Windows Azure SDK for PHP. Build your PHP application and then run the package command. Your PHP application will be rolled into a Windows Azure project and launched in the local dev fabric

Resources