Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Debasish Gracias 27 posts 137 karma points
    Aug 25, 2023 @ 04:17
    Debasish Gracias
    0

    Is my umbraco 10 application stateful or stateless?

    Hi everybody,

    We have migrated our site from version 8 to 10. We are using umbraco forms. We are running it on Azure web apps in a flexible load balancing setup as described here https://docs.umbraco.com/umbraco-cms/v/10.latest-lts/fundamentals/setup/server-setup/load-balancing

    We wanted to determine whether we need to enable AAR Affinity or not. In order to do that we first need to identify if our site is stateless or stateful. So here are few questions:

    1. Is an umbraco application stateful or stateless?
    2. Does umbraco forms require sessions? In that case it would make the site stateful.

    Any thoughts please.

  • Huw Reddick 1749 posts 6114 karma points MVP c-trib
    Aug 25, 2023 @ 12:16
    Huw Reddick
    0

    From the link you posted.

    Session State and Distributed Cache

    It is required to setup a distributed cache, like DistributedSqlServerCache or an alternative provider (see https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed for more details). The distributed cache is used by the session in your application, which is used by the default TempDataProvider in MVC.

    Because Umbraco in some cases uses TempData, your setup needs to be configured with a distributed cache.

  • Debasish Gracias 27 posts 137 karma points
    Aug 25, 2023 @ 15:31
    Debasish Gracias
    0

    Hi Huw,

    We have configured Distributed SQL Server Cache. But we wanted to know whether we need to enable AAR Affinity or not on the Azure App service. Any inputs on that?

  • Huw Reddick 1749 posts 6114 karma points MVP c-trib
    Aug 25, 2023 @ 18:21
    Huw Reddick
    0

    I don't think it is needed.

Please Sign in or register to post replies

Write your reply to:

Draft