Web Connection
Console.EXE
Gravatar is a globally recognized avatar based on your email address. Console.EXE
  Russell Campbell
  All
  Apr 2, 2024 @ 02:46pm

So Console will no longer configure the web server? That was so easy. This config file is, to me, harder to work with. I suppose it's been that way for a while.

Gravatar is a globally recognized avatar based on your email address. re: Console.EXE
  Russell Campbell
  Russell Campbell
  Apr 2, 2024 @ 03:23pm

So what I'm looking for is in Setup.EXE? Seems so.

The docs say this: "You can use Setup.exe to install Web Connection or you can use Console.exe and use the New Project Wizard to create new projects or the Server Configuration Wizard to configure an existing Web site." Doesn't seem there's a server config wizard in Console.exe now . . .

Gravatar is a globally recognized avatar based on your email address. re: Console.EXE
  Rick Strahl
  Russell Campbell
  Apr 2, 2024 @ 04:29pm

Setup.exe sets up the samples and configures Web Connection.

You should not use it to create a starter Web site that you modify for your own projects. Use the Console Wizard to Create New Project which will be in an isolated self contained folder that is portable and can run your application even if you move it somewhere else.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Console.EXE
  Russell Campbell
  Rick Strahl
  Apr 2, 2024 @ 04:38pm

I should probably clarify that I'm talking about production server configuration. Isn't "new project" all about setting up a new project on the dev machine before any coding is done? Maybe I'm just misunderstanding that. But there's no Server Configuration Wizard that I can see anymore.

Gravatar is a globally recognized avatar based on your email address. re: Console.EXE
  Rick Strahl
  Russell Campbell
  Apr 3, 2024 @ 10:59am

New projects have built in configuration via the yourApp.exe CONFIG or do bld_yourApp.prg which you can optionally customize. The file is generated when you create a new project and it's based on the fixed project structure of new projects (but can be adapted via the PRG).

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Console.EXE
  Russell Campbell
  Rick Strahl
  Apr 3, 2024 @ 01:44pm

Yes, I did run that and got the server up and running and the pages working. It's just very different from the old way with the CONSOLE program. This is - kind of like having to use Powershell for things - seemingly a step back from a GUI to something less visual. Sorry, but on this stuff I don't do all that much, it's nice to have a GUI to step me through it. At each step I can see what's going on. The present config process is more like a black box.

Gravatar is a globally recognized avatar based on your email address. re: Console.EXE
  Rick Strahl
  Russell Campbell
  Apr 3, 2024 @ 05:19pm

It's really the opposite - the old way was the black box! You had to put all the information in and you couldn't customize anything beyond what you manually put in.

Now you get a customized script generated for you that is specific for your app - it knows where everything is so the defaults just work. And you can customize the PRG file with additional operations or customizing the existing options, plus you can add your own application specific configuration into the script. And... it's portable and repeatable. Move your app? Just re-run the script. Install new app? Re-run the script.

And to run is a single command: YourApp.exe CONFIG. Couldn't really be any simpler?

+++ Rick ---

© 1996-2024