Ehsan Ghanbari

Experience, DotNet, Solutions

Using glimps in asp.net mvc

I've always loved and used Glimpse at least for my basic performance and load test in my asp.net MVC projects. It's really straightforward and easy to use web debugging and diagnostics tool. Get the latest version of the library from nuget and get started. After installing the suitable version based on your MVC version, go to the yourApplicationUrl/Glimpse.axd and enable it.

 

 

Then you will see the Glimpse layout at the bottom of every page of your application:

 

 

After redirecting to the different page, you can easily see the details of your request such as Execution, Metadata, Model Binding, Routes, and even SQL queries:

 

 

Glimpse just inform you about your application, You can use this tool in your application I recommend you to close it in final production:

 

routes.IgnoreRoute("{resource}.axd/{*pathInfo}");  

 

 

About Me

Ehsan Ghanbari

Hi! my name is Ehsan. I'm a developer, passionate technologist, and fan of clean code. I'm interested in enterprise and large-scale applications architecture and design patterns and I'm spending a lot of my time on architecture subject. Since 2008, I've been as a developer for companies and organizations and I've been focusing on Microsoft ecosystem all the time. During the&nb Read More

Post Tags
Pending Blog Posts
Strategic design
Factory Pattern
time out pattern in ajax
Selectors in Jquery
Peridic pattern
How to query over Icollection<> of a type with linq
How to use PagedList In asp.net MVC
Domain driven design VS model driven architecture
What's the DDD-lite?
Using Generic type for type casting in F#
comments powered by Disqus