1. Marco Meoni
  2. PowerServer
  3. Tuesday, 15 February 2022 15:08 PM UTC

Hello,

when serverapi is re-deployed, running ICAs get (correctly) invalid session and must be restarted, see picture below.
Any chance to avoid this?

In old (sweetie) PS we could just redeploy an app while keeping existing clients running.
 
 
Maybe solution will come from .NET core 6.0 and the new hot-reload feature?
 
Thanks,
.m
 
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 15 February 2022 16:03 PM UTC
  2. PowerServer
  3. # 1

Hi Marco,

Hot Reload is a feature meant to accelerate development and debugging of a .NET 6 project. It allows you to quickly see the changes in your code reflected in your app without having to manually recompile. It's not meant as a way to hot-swap production code. And while you could, in theory, run your Web APIs inside the server from the IDE to enable Hot Reload, this would mean: 1) the app will have to run on debug mode 2) you wouldn't be able to use IIS and would be tied to Kestrel 3) The application's stability wouldn't be guaranteed

Other than that, Session ID persistence would be a good thing to have. We'll have to wait on the Engineering Team's input to see if that's feasible.

Regards,
Francisco

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 15 February 2022 16:09 PM UTC
Thanks for the info Francisco.
  1. Helpful
  1. mike S
  2. Tuesday, 15 February 2022 16:47 PM UTC
yes, Session ID persistence is very important. i need the ability to update the application without it crashing out my users, just like i can do today with PS2020
  1. Helpful
  1. Marco Meoni
  2. Tuesday, 15 February 2022 18:39 PM UTC
thank you Francisco, I am confident you can follow it up then! As I said, PS 2020 is handling it, so users migrating to PS 2021 would expect same behaviour
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 15 February 2022 15:31 PM UTC
  2. PowerServer
  3. # 2

Hi Marco, Could you email this feature enhancement request to product@appeon.com.  It would be useful you explain to our product management team why this is important and of course also mention the new hot reload feature of .NET 6.0.  As you probably know, PowerServer 2022 will support .NET 6.0.  Thanks.

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 16 February 2022 15:29 PM UTC
Completely different architecture between 2020 and 2021 versions. In fact, a number of customers have argued we should have given it a new product name they are that different in technical implementation even though they aim to solve the same business problem. Definitely this is not a bug.
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 16 February 2022 17:28 PM UTC
I agree it's all totally different. But your customer could do something with your product before and now he/she can't. The fact that it's a totally different architecture was Appeon's decision. Your customer would expect similar behavior in the new product.

Anyway, this is a silly discussion point maybe. I DO think the new product is really nice!

regards.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 16 February 2022 18:10 PM UTC
I understand your point, but still doesn't make it a bug. This change is intentional not a coding mistake. Anyway, glad you like the product. We will consider how to improve it further.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 16 February 2022 09:46 AM UTC
  2. PowerServer
  3. # 3

What's an ICA?

I see lots of people using whichever abbreviation without explaining a single time what it means. Some of them are well known, others are just invented from lazyness at the spot (not saying yours is Marco).

The other day I was pulled over by a police car. They accused me of "DUI". I asked them "What's the problem?" "Drinking Under Influence, they go kind of hand in hand"!

:)

 

Comment
  1. Marco Meoni
  2. Wednesday, 16 February 2022 10:33 AM UTC
  1. Helpful 1
  1. Miguel Leeuwe
  2. Wednesday, 16 February 2022 10:37 AM UTC
Very helpful! Thanks Marco.
  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.