Web Connection
Wizard on server
Gravatar is a globally recognized avatar based on your email address. Wizard on server
  Luca
  All
  Mar 1, 2017 @ 08:56pm

Dear Rick, as I said I am implementing REST service into my web application and I am following your tutorial Step by Step: Creating a JSON REST Service. I followed the New Process Wizard to create a new REST service and a new scriptmap .rs on the development machine. Please what about the server: do I have to create manually the new scriptmap on the server? Sincerely

Gravatar is a globally recognized avatar based on your email address. re: Wizard on server
  Adam W
  Luca
  Mar 2, 2017 @ 09:33am

Luca, From my own experience - the easiest way is to install WWC on the server same way as you do on development machine. I remember I tried to just copy the folder with executable and install VFP runtime (documentation mentions that screnario) but I wasn't able to make it work. Also setting up virtual directory manually isn't as simple as running Web Connection Setup.

Same thing with second development machine or upgrade - I always run WWC setup.exe

Gravatar is a globally recognized avatar based on your email address. re: Wizard on server
  Luca
  Adam W
  Mar 2, 2017 @ 10:45am

Hi Adam,
in this case Web Connection is yet installed on server.
I need only to create new scriptmap for REST service (for example ".rs").
Sincerely

Gravatar is a globally recognized avatar based on your email address. re: Wizard on server
  Rick Strahl
  Adam W
  Mar 2, 2017 @ 03:57pm

You definitely don't want to run a full Web Connection install on the server as this installs samples and a bunch of other stuff you don't need.

If anything you can use the Console.exe to configure an applicaton on the server without doing a full install.

Use the Project Installation Scripts

If you're running a recent version of Web Connection (6.x and newer) a new project creates a configuration script that you can run on the server with:

YourApp.exe CONFIG

Here's more info:

I would recommend this even for existing applications. You can create a script for a blank application or even just copy the script from the help file and then modify the script to match the configuration of your application by changing the base values at the top of the script.

These scripts make an application 100% portable and you can even test this offline on your own machine by installing into a different folder. It's a great way to ensure you have repeatable installs.

Gravatar is a globally recognized avatar based on your email address. re: Wizard on server
  Luca
  Rick Strahl
  Mar 2, 2017 @ 11:05pm

Many thanks, Rick.

© 1996-2024