[
https://issues.apache.org/jira/browse/IGNITE-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15496448#comment-15496448
]
Pavel Tupitsyn commented on IGNITE-3199:
----------------------------------------
How to test:
* Create a new C# Web application in the MS Visual Studio: File -> New ->
Project -> Visual C# -> Web -> ASP.NET Web Application
** Result: New project is opened in the Solution Explorer, file Default.aspx is
opened in the Main Window
* Run Default.aspx (Ctrl-F5)
** Result: Verify that default ASP.NET page is opened in browser
* Stop ASP.NET Development Server through Task Manager -> In the Package
Manager Console install Apache.Ignite.AspNet package
** Result: This should produce no errors (red text)
* Open Web.config file and add following code into beginning of "configuration"
section:
{code}
<configSections>
<section name="igniteConfiguration"
type="Apache.Ignite.Core.IgniteConfigurationSection, Apache.Ignite.Core" />
</configSections>
<igniteConfiguration gridName="myGrid">
<cacheConfiguration>
<cacheConfiguration name='aspNetSessionCache' />
</cacheConfiguration>
</igniteConfiguration>
{code}
And following code into beginning of "system.web" section:
{code}
<sessionState mode="Custom" customProvider="IgniteSessionStateProvider">
<providers>
<add name="IgniteSessionStateProvider"
type="Apache.Ignite.AspNet.IgniteSessionStateStoreProvider,
Apache.Ignite.AspNet"
applicationId="myApp"
gridName="myGrid"
cacheName="aspNetSessionCache"
enableDebugLogging="true" />
</providers>
</sessionState>
{code}
* Run project (Ctrl-F5)
** Result: ASP.NET page is opened in browser
> .NET: ASP.NET Session-State Store Provider
> ------------------------------------------
>
> Key: IGNITE-3199
> URL: https://issues.apache.org/jira/browse/IGNITE-3199
> Project: Ignite
> Issue Type: Sub-task
> Components: platforms
> Affects Versions: 1.7
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Labels: .net
> Fix For: 1.8
>
>
> See https://msdn.microsoft.com/en-us/library/ms178587.aspx
> Code should be put to Apache.Ignite.AspNet assembly (see IGNITE-2379)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)