1. Miguel Leeuwe
  2. PowerBuilder Beta
  3. Friday, 19 April 2019

Hi,

Since .net web assemblies and web services are going to be obsolete, I'd like an example of how to build a simple C# Web Api with SnapDeveloper. (to begin with :) ).

Now that I finally managed to sort of understand the web services, they go obsolete so I'd rather forget about web services and make new C# Web Api's to create Appeon powerserver workarounds that I need.

There's this page: https://www.appeon.com/support/documents/appeon_online_help/snapdevelop2019/Create_a_Web_API/ , with nice examples for the datastore / datamodel stuff, but I would just like an example of how to create (where and what) a simple function which I then can call from Powerbuilder. Something at the same simple and clear level as this presentation of Marco Meoni for the noobs: https://www.appeon.com/developers/library/videos/soap-web-service-crash-course.html (Bruce also has a very similar presentation too somewhere on youtube)

Should I add a "Class", "interface" to the project, or ... ?

Thank you, regards,

Miguel 

Accepted Answer
Armeen Mazda Accepted Answer Pending Moderation
0
Votes
Undo

Have you tried the tutorial you provided? That is the first step we recommend noobs to begin with.

Also, the final release of SnapDevelop IDE that comes with the PowerBuilder Cloud subscription has a "scaffolding" feature, which takes care of creating all the basic code and putting it in the right places. 

So you can basically focus on your business logic rather than this plumbing stuff. cool

Comment
Well, so far so good, the examples seem to work fine.
  1. Miguel Leeuwe
  2. Saturday, 20 April 2019
Fantastic news! Thanks for trying them out.
  1. Armeen Mazda
  2. Sunday, 21 April 2019
There are no comments made yet.
  1. Friday, 19 April 2019
  2. PowerBuilder Beta
  3. # Permalink
Miguel Leeuwe Accepted Answer Pending Moderation
0
Votes
Undo

Thanks Armeen I Am trying the example right now after I had to interrupt that. I'll see if I can work it out, might check on how to do it with visual studio and c sharp and if that doesn't shed some light I'll just use web services until the scaffolding feature comes out. Cheers 

Comment
There are no comments made yet.
  1. Friday, 19 April 2019
  2. PowerBuilder Beta
  3. # 1
  • Page :
  • 1


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