NetTalk Central

Author Topic: Running NetTalk API server as a service/azure app  (Read 3236 times)

ProperGary

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Email
Running NetTalk API server as a service/azure app
« on: March 07, 2022, 04:01:22 AM »
Hi All,

I've been building an API server using NetTalk and have been asked by the clients infrastructure guys if the server can run as a Windows Service or ideally as an Azure App Service.

Can it be done? has anyone done this and can point me in the right direction?

Thanks in advance

Gary.

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Running NetTalk API server as a service/azure app
« Reply #1 on: March 07, 2022, 09:22:33 AM »
Absolutely the easiest way to run a Clarion app (NetTalk or otherwise) as a Windows service is with Self Service: https://www.capesoft.com/accessories/SelfServicesp.htm

As with any service, you'll want to make sure the account under which it's running has appropriate permissions.  (LOCAL SYSTEM will not have a printer defined, for example, and will not have access to network shares).

ProperGary

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Email
Re: Running NetTalk API server as a service/azure app
« Reply #2 on: March 08, 2022, 06:48:46 AM »
Thanks Jane, will get a purchase approved!

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Running NetTalk API server as a service/azure app
« Reply #3 on: March 08, 2022, 09:58:46 AM »
If you don't have Capesoft's MessageBox you may want to pick that up also, Gary. 

Otherwise you'll need to do your own code to override the message and stop statements (using MessageHook, etc.). 
Services aren't allowed to show a user interface, so an error message popping up and wanting to be acknowledged will hang your app forever.  Be sure to read the docs: https://www.capesoft.com/docs/SelfService/selfservice.htm#GroundRules