Hi guys,
I am trying to use scaleout cache in a .Net 5 application an I am a bit confused.
Here's what I know so far by following the article:
https://static.scaleoutsoftware.com/docs/user_guide/installation/windows/steps.html
#1: Install package "Scaleout.AspNetCore"
#2: Add this section to the config file ( replacing with correct values)
"ScaleOutStateServer": {
"gateways": [
{
"ip": "10.0.0.100",
"servicePort": 721
},
{
"ip": "10.0.0.101",
"servicePort": 721
}
],
"defaultNamespace": "HelloWorld",
"protocol": "SossTcpTransport"
}
#3: Update ConfigureServices(IServiceCollection) as follows
{
// Add framework services.
// ...
services.AddSession();
// Add ScaleOut implementation of IDistributedCache.
services.AddScaleoutDistributedCache(Configuration);
// ...
}
From what I understand, from this point on all access to "HttpContext.Session" will use scaleout
Question:
1- How can I verify that the session is in fact using scaleout?
2- Is there a "Cache" that is separate from the "Session"? If so, how can I use it (a link or example would usefull)
Thanks in advance for any help.
I am trying to use scaleout cache in a .Net 5 application an I am a bit confused.
Here's what I know so far by following the article:
https://static.scaleoutsoftware.com/docs/user_guide/installation/windows/steps.html
#1: Install package "Scaleout.AspNetCore"
#2: Add this section to the config file ( replacing with correct values)
"ScaleOutStateServer": {
"gateways": [
{
"ip": "10.0.0.100",
"servicePort": 721
},
{
"ip": "10.0.0.101",
"servicePort": 721
}
],
"defaultNamespace": "HelloWorld",
"protocol": "SossTcpTransport"
}
#3: Update ConfigureServices(IServiceCollection) as follows
{
// Add framework services.
// ...
services.AddSession();
// Add ScaleOut implementation of IDistributedCache.
services.AddScaleoutDistributedCache(Configuration);
// ...
}
From what I understand, from this point on all access to "HttpContext.Session" will use scaleout
Question:
1- How can I verify that the session is in fact using scaleout?
2- Is there a "Cache" that is separate from the "Session"? If so, how can I use it (a link or example would usefull)
Thanks in advance for any help.