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

# 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:
<outputCache defaultProvider="apacheIgnite">
<add name="apacheIgnite" type="Apache.Ignite.AspNet.IgniteOutputCacheProvider, Apache.Ignite.AspNet"
igniteConfigurationSectionName="igniteConfiguration" cacheName="myWebCache" />

and add following code into beginning of "configuration" section:
<section name="igniteConfiguration" type="Apache.Ignite.Core.IgniteConfigurationSection,
Apache.Ignite.Core" />

<cacheConfiguration name='myWebCache' />
# 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
Started cache have "null" name
Default cache name have name differ from "null" - it's bad name and can cause unexpected errors

This message was sent by Atlassian JIRA

View raw message