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 name="igniteConfiguration" 
type="Apache.Ignite.Core.IgniteConfigurationSection, Apache.Ignite.Core" />

<igniteConfiguration gridName="myGrid">
                <cacheConfiguration name='aspNetSessionCache' />
And following code into beginning of "system.web" section:

<sessionState mode="Custom" customProvider="IgniteSessionStateProvider">
                <add name="IgniteSessionStateProvider"
enableDebugLogging="true" />
* 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

Reply via email to