We've developped a Windows app that uses ArcGIS Maps SDK .Net. That app displays and edits data from a published service on our portal that is in branch versioning.
When connecting to the service, the app creates a new version and uses it.
Then I do a few edits and apply them. I go back in ArcGIS Pro and I delete the version I just created so I can redo my tests in our app (meening a new version with the same name is recreated). But then the service acts really strange, some graphics are not showing when I zoom in and zoom out, some simple calls like GetRecordCount fails with bad json but when I retry them it passes and when I try to redo my edits and apply them it says that it cannot open an edit session or something like that.
The only way I found to not have this problem is when I delete the version, I republish my map overriting the existing service. Then it's all good. But I think I should'nt have to do that?
Can you help me understanding what's hapening please?
Thank you