1. SHAMEEM KAKKAD
  2. PowerServer
  3. Tuesday, 14 September 2021 13:01 PM UTC

Hai,

While I am closing the console window in the power server deployment, I can't use the power server (with browser) facility. After deployment the exe into cloud, we need to keep the console ?.

Or 

Have any other solutions ?

Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 14 September 2021 13:30 PM UTC
  2. PowerServer
  3. # 1

Hi Shameen,

Deploying a PowerServer project generates a WebAPI C# Solution, which is a REST API application which will handle all the data operations of your application. As such, this REST API application needs to be running all the time to be able to dispatch all incoming request from all possible clients.

One way to do this is to run it as a Console Application which sets up a Kestrel Web Server to listen for and dispatch all requests. This is what you are doing.

The other way is to use IIS, which is explained in this tutorial. This approach doesn't need to use Kestrel, as such, there's no need to keep the console window opened.

Hope this helps.

Regards,
Francisco

Comment
  1. SHAMEEM KAKKAD
  2. Tuesday, 14 September 2021 13:50 PM UTC
Thanks for your reply and let me check and I will update you....
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.