ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilisa Sidorova (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3996) .NET: ASP.NET Output Cache provider run cache with default "null" name
Date Wed, 28 Sep 2016 13:39:20 GMT
Vasilisa  Sidorova created IGNITE-3996:
------------------------------------------

             Summary: .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


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)

Mime
View raw message