Can someone please confirm my understanding as to where the following information is found in Azure Redis Cache to be included in the Web.config file?

I've used square brackets [] to identify the different sections.


<RedisCaching Enabled="false [1] " ConnectionString="localhost [2]" />


[1] change to "true"
[2] Azure/Redis Cache/Settings/Access keys/Primary connection string


<sessionState mode="Custom [3] " customProvider="MySessionStateStore [4] ">
      <providers>
        <add name="MySessionStateStore [5] " type="Microsoft.Web.Redis.RedisSessionStateProvider [6] " host="localhost [7] " accessKey=" [8] " ssl="true [9] " />
      </providers>
    </sessionState>

[3] Leave as is
[4] Leave as is
[5] Leave as is
[6] Leave as is
[7] Azure/Redis Cache/Settings/Properties/Host Name
[8] Azure/Redis Cache/Settings/Access keys/Primary
[9] Leave as is