1. mathews rutto
  2. SnapDevelop
  3. Monday, 11 July 2022 13:06 PM UTC

Hi,

I need help how publish Web API in SnapDevelop to run in iis. Have managed to publish in file system where i can run the executable file in "C:\Users\Administrator\source\repos\PowerServer3\ServerAPIs\bin\Release\netcoreapp3.1\publish\ServerAPIs.exe" The problem is i don't want to be executing the file, is there a way it can just run in IIS?

I want run web api via iis but not via executable file.

Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Monday, 11 July 2022 13:17 PM UTC
  2. SnapDevelop
  3. # 1

Hi Matthews,

We have a tutorial on the subject here. Please feel free to check it out.

Regards,
Francisco

 

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 July 2022 16:17 PM UTC
  2. SnapDevelop
  3. # 2

Additionally, please verify that the server and client machines fulfill the system requirements specified in our documentation here.

Regards,
Francisco

Comment
  1. mathews rutto
  2. Wednesday, 20 July 2022 11:37 AM UTC
Thank you.



Can you host more than one application on the same server?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 20 July 2022 12:51 PM UTC
Hi Mathews;

Yes you can, you just need to make sure that you have a PS "server" instance running for each Application and that they each have a unique network port number that they are listening on.

Regards ... Chris
  1. Helpful
There are no comments made yet.
mathews rutto Accepted Answer Pending Moderation
  1. Monday, 11 July 2022 17:34 PM UTC
  2. SnapDevelop
  3. # 3

Thank you for the link, have followed. However have tried to deploy via Web Deploy but i get below error message. I will appreciate your help.

 

Comment
  1. Francisco Martinez @Appeon
  2. Monday, 11 July 2022 18:19 PM UTC
On SnapDevelop, on the ServerAPIs project, open the Properties/PublishProfiles/WebDeployProfile.pubxml file and add the following to the PropertyGroup node:



<AllowUntrustedCertificate>True</AllowUntrustedCertificate>
  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.