1. Peter Klopfer
  2. SnapDevelop
  3. Sunday, 1 December 2024 16:34 PM UTC

Hi,

I'm using SnapDevelop to write a small app responding to POST and GET requests (Windows 11, SnapDevelop 2022 R3). 

I wanted to upgrade my application from the .NET 3.1.32 to the .NET6.0 framework. So I changed the app settings accordingly:

I installed the MS Hosting Bundle for .NET 6.0.1 on my Windows 11 computer and testet the app successfully with ReqBin.

BUT: Snap Develop's Web API Tester now returns an error message (request failed because the target denied the connection). The same test does function well if I return to .NET 3.1.32.

Can anyone give a hint on how I can inform the API Tester about the .NET version?

Thanks in advance 

 

Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Monday, 2 December 2024 14:15 PM UTC
  2. SnapDevelop
  3. # 1

Hi Peter,

Can you upload the project you're using for analysis?

 

Regards,
Francisco

Comment
  1. Peter Klopfer
  2. Monday, 2 December 2024 16:39 PM UTC
Hi Francisco,

thanks again for your rapid response.

Here is an upload of the procect files:

https://mddata.infosense-service.de/Mandant/Mandant3886/Jimdo/gv/software/WebAPIAmt24/WebAPIAmt24-csproj.zip

Peter
  1. Helpful
  1. Francisco Martinez @Appeon
  2. Monday, 2 December 2024 17:11 PM UTC
What version of SnapDevelop are you using? SnapDevelop 2022R3 doesn't support .NET 6; support for it was added starting on SD25 (which is currently in beta)
  1. Helpful
  1. Francisco Martinez @Appeon
  2. Monday, 2 December 2024 17:17 PM UTC
I checked the project you sent and tested the Load() method on the OzpufferController with SD25 and it works, so I think that's most likely the problem.
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.