Discussions tagged SnapDevelop

I am using the SnapDevelop 2021 Powerscript to C# migrator tool.  I received the not supported errors on the CrypterObject. as shown below: // [ERROR0008] Translation of the enum value(AES!) is not supported. // [ERROR0008] Translation of the enum v...
Per the SnapDevelop documentation, the RetrieveAsync method takes a cancellationtoken parameter to make an operation cancelable (see link below) and throws an exception in the TRY/CATCH block if that if that happens. How is that done in practice thou...
Hello all! I am new to Web API and C#. I have watched most videos on API (Bruce Marc and others). I want to develop web api that can be consumedby any client not just powerbuilder app, Client app will send just one row at a time. So I am assuming ca...
Hi all, hope this wasn't asked before: Creating the web api sample project from snap development 2021 I get a service listening on localhost:5000. Connecting with a test program consuming on this address works fine. When I change the IP address in ...
Hello, Released features and planned one (Roadmap) We have been using Powerbuilder for more than 2 decades and still love to be a powerbuilder developer(s).   We have tons of codes developed in powerscript and have experience in analysing and solvi...
I have a small test project in SnapDevelop/R3 to test WebApi using SAP ASE database,  I have simple datawindow in my target. While converting this datawindow in SnapDevelop I am getting this error. Parsing 'd_all_tickets_contract (c:\dev\e-ticket\ti...
is it possible to load a sqlselect from a model without params?   I have this structure: [SqlParameter(name: "first", dataType: typeof(int))][SqlParameter(name: "second", dataType: typeof(int))][FromTable("mytable", Schema = "DBA")] [SqlWhere("...
  How can i retrieve Data from Model using the sqlselect attribute and paramvalues? I already ask a stackoverflow question; https://stackoverflow.com/questions/68129138   How can I retrieve data from my SQL-Model using the SqlSelect attribut...
I'm using SnapDevelop 2019R3 Build 2703. I cannot connect to MS SQL Server. I get network connectivity error and a timeout. I can connect to the same database using PB IDE on the same Wind 10 PC. I've checked that required protocols are enabled o nt...
Hello, I've just created a WebAPI project in SnapDevelop (2019 R3), and as it opens I get these errors. It seems that it does not find SnapObjects library and I have not found how to deal with this. I tried to add a DataContext file just to test ...
Hello, I'm trying to create a database connection in SnapDevelop 2019 R3 (I tried in R2 also) to an Oracle database, but I get the error "ORA-12537: Network Session: End of file". It's strange because I can connect to this database in Powerbuilder w...
My API has a method with an optional parameter, that is passed as path: api/v1/ISV/Credits/[Channel] It is marked as [HttpGet("{customer?}")] and is declared as: public string Credits(string channel="") in the WebAPI Tester, it is listed ...
Hello, Using SnapDevelop 2019 R3 Build 2703 & Visual Studio Community 2019 Project: .Net-DataStore-Example  Trying to publish it in a Win 10 computer from both SnapDevelop and Visual Studio.   Works fine when published from Visual Studio and N...
Hello, When I convert a datawindow to a C# model in SnapDevelop, it takes forever. "Forever" meaning about 2 minutes. The first times I was thinking that it just didn't work. My DW has about 10 columns, 1 or 2 tables. If I try other DW's it's the ...
Hello, SnapDevelop 2019 R3 My management wants to know, which cloud service provider will be better to host WebAPI's developed using Snapdevelop.   Seems one of our customers want to go Cloud.  And they want to know the development tools, cloud ho...
Hello, PB 2019R3, SnapDevelop 2019 R3 Installed Powerbuilder 2019R3 without first installing IIS in a Windows 10 machine.  Now trying to run  https://github.com/Appeon/.NET-DataStore-Examplehttps://github.com/Appeon/PowerBuilder-RestClient-Example...
I am having an interesting problem writing a .NET Core 3.1 API using SnapObjects to connect to SQL Anywhere via ODBC.  The problem has to do with when database connections are made and released.  The SQL Anywhere database I am using has long been in...
I installed PB 2019 R3 within the past few days.  I can now run (no debug) my ASP.NET Core 3.1 Web API, however I get an error when I try to debug it: "Start debugger failed. Process started but no CoreCLR found".  Please see the attached screen prin...
Are there any samples or guidance for securing a ASP.NET Core 3.1 Web API as templated by SnapDevelop?   For example, I am working from the following fine sample: ASP.NET Core 3.1 - Simple API for Authentication, Registration and User Management | ...
Hello, I started to work in PowerBuilder 2019 R3 working on the example https://docs.appeon.com/dwconverter2019r3/CRUD_Operations_with_.NET_DataStore/index.html#introduction CRUD Operations with .NET DataStore, I did all step until the test the Retr...
  • Page :
  • 1