You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vasilisa Sidorova (JIRA)" <ji...@apache.org> on 2016/09/28 13:40:20 UTC

[jira] [Updated] (IGNITE-3996) .NET: ASP.NET Output Cache provider run cache with default "null" name

     [ https://issues.apache.org/jira/browse/IGNITE-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasilisa  Sidorova updated IGNITE-3996:
---------------------------------------
    Labels: .net  (was: )

> .NET: ASP.NET Output Cache provider run cache with default "null" name
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-3996
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3996
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 1.8
>         Environment: Windows 7
>            Reporter: Vasilisa  Sidorova
>              Labels: .net
>             Fix For: 2.0
>
>
> STEPS TO REPDODUCE
> -------------------------------------------------------------------
> # Create a new C# Web application in the MS Visual Studio: File -> New -> Project -> Visual C# -> Web -> ASP.NET Web Application
> # In the Package Manager Console install Apache.Ignite.AspNet package
> # Open Web.config file and add following code to the "system.web" section:
> {noformat}
> <caching>
> <outputCache defaultProvider="apacheIgnite">
> <providers>
> <add name="apacheIgnite" type="Apache.Ignite.AspNet.IgniteOutputCacheProvider, Apache.Ignite.AspNet" igniteConfigurationSectionName="igniteConfiguration" cacheName="myWebCache" />
> </providers>
> </outputCache>
> </caching>
> {noformat}
> and add following code into beginning of "configuration" section:
> {noformat}
> <configSections>
> <section name="igniteConfiguration" type="Apache.Ignite.Core.IgniteConfigurationSection, Apache.Ignite.Core" />
> </configSections>
> <igniteConfiguration>
> <cacheConfiguration>
> <cacheConfiguration name='myWebCache' />
> </cacheConfiguration>
> </igniteConfiguration>
> {noformat}
> # Run project (Ctrl-F5) (ASP.NET page is opened in browser)
> # Connect to started cache via console application or visorcmd and look onto cache name
> -----------------------------------------------------------------------
> ACTUAL RESULT
> -----------------------------------------------------------------------
> Started cache have "null" name
> -----------------------------------------------------------------------
> EXPECTED RESULT
> -----------------------------------------------------------------------
> Default cache name have name differ from "null" - it's bad name and can cause unexpected errors



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)