Location property at Back end Generator level

Official Content
This documentation is valid for:
Specifies the address of the Redis server to which applications should connect to store and retrieve web session data.


Generators: .NET
Level: Generator


The host name and port number must be included. You can also include multiple servers and additional configurations, such as:


That is, it may contain a comma-separated list of multiple servers, indicating a high availability or scalability configuration for session storage. In addition, it can have additional settings, such as indicating whether SSL is used for the connection.

You must select the "Redis" value in the Session State Provider property in order to specify the Location property. 

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, Build any object.

See Also

How to configure Session State In ASP.NET Core