For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Register Windows applications from the MobileFirst Operations Console
We can use the IBM MobileFirstâ„¢ Platform Operations Console to register your Windows application to an instance of MobileFirst Server.
You must have the IBM MobileFirst Platform Operations Console running on the MobileFirst Server targeted for registration. For more information, see The IBM MobileFirst Platform Foundation Developer Kit.
We can register an app on the server before or after setting up the Visual Studio environment (see Methods of setting up your environment). You must register your app to the server before developing code that accesses server resources.
Procedure
- In the MobileFirst Operations Console, navigate to the Register Application page by using one of the following methods:
- In the navigation sidebar, select New next to Appilcations.
- From the Dashboard, select Register an App.
- On the Register Application page, select the Windows option and then select the appropriate Windows platform you are working on.
- Update the following values for the application you are registering:
- Application Name: This is for display and can be any convenient value. It is optional.
- Package identity name: This is typically the name of your Visual Studio project and can be found in the Package.appxmanifest file in your Visual Studio project.
- Version: The version number of your Windows app. This should match the version as it appears in the Package.appxmanifest file.
- Click the Register application button. From the main Dashboard page, your application is now listed under the default mfp runtime.
Note: The mfp runtime is the default value for the wlServerContext parameter in the mfpclient.resw file below.
- Click the application name to display the main configuration page for our app. The main page for our app displays different configuration options for the server-side registration of your app.
- Click the Configuration Files tab. The Client Configuration File tab displays a template for creating your mfpclient.resw file. This file is used for connecting the client app to the server. For information on populating the values in the file and copying it to your Visual Studio project, see Client property file for Windows 10 Universal Windows Platform and Windows 8 Universal.
Results
The app is registered on the target server.
What to do next
To complete the client-server registration, we must complete the required properties in the mfpclient.resw file and copy it to our Visual Studio project.
Parent topic: Register Windows applications to MobileFirst Server