Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7724849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:47:32+00:00 2026-06-01T04:47:32+00:00

The ASP.NET WebForms trace output has a section for Application State. Is it possible

  • 0

The ASP.NET WebForms trace output has a section for Application State. Is it possible to see the same using Glimpse?

In my home controller’s Index() method, I tried adding some test values, but I don’t see the output in any of the Glimpse tabs.

ControllerContext.HttpContext.Application.Add("TEST1", "VALUE1");
ControllerContext.HttpContext.Cache.Insert("TEST2", "VALUE2");

I didn’t see anything in the documentation either.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:47:33+00:00Added an answer on June 1, 2026 at 4:47 am

    I don’t think that there is an out-of-the-box support for this, but it would be trivial to write a plugin that will show this information.

    For example to show everything that’s stored in the ApplicationState you could write the following plugin:

    [Glimpse.Core.Extensibility.GlimpsePluginAttribute]
    public class ApplicationStateGlimpsePlugin : IGlimpsePlugin
    {
        public object GetData(HttpContextBase context)
        {
            var data = new List<object[]> { new[] { "Key", "Value" } };
            foreach (string key in context.Application.Keys)
            {
                data.Add(new object[] { key, context.Application[key] });
            }
            return data;
        }
    
        public void SetupInit()
        {
        }
    
        public string Name
        {
            get { return "ApplicationState"; }
        }
    }
    

    and then you get the desired result:

    enter image description here

    and to list everything that’s stored into the cache:

    [Glimpse.Core.Extensibility.GlimpsePluginAttribute]
    public class ApplicationCacheGlimpsePlugin : IGlimpsePlugin
    {
        public object GetData(HttpContextBase context)
        {
            var data = new List<object[]> { new[] { "Key", "Value" } };
            foreach (DictionaryEntry item in context.Cache)
            {
                data.Add(new object[] { item.Key, item.Value });
            }
            return data;
        }
    
        public void SetupInit()
        {
        }
    
        public string Name
        {
            get { return "ApplicationCache"; }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a asp.net webforms (3.5 sp1) application, using jquery where I can
With ASP.NET WebForms it is possible to set the session state mode in the
Using Asp.net Webforms how can I validate that a checkbox has been checked. (I
I'm coming from a ASP.NET Webforms application. I'm using a third party control from
I'm using CKEditor in my ASP.NET webforms application. I'm using CKEditor control to put
Retrofitting ASP.NET WebForms themes to an old application I have a need to theme
I have an ASP.NET webforms application with a Menu control. How does one hide
When using ASP.net webforms my usual solution would have following type of setup -
We develop asp.net webforms using visual studio 2008. For multilingual support, we translate all
I have a asp.net webforms page in which I'm using the jqGrid component. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.