November Happy Hour will be moved to Thursday December 5th.

Allan Thraen
Jul 5, 2011
  4855
(3 votes)

Summer of Code: QuickWatch Gadget v.1.1

Todays entry in my summer-series with code-hacks is an update to my little Quick Watch Gadget. I’ve updated it to make sure it works in CMS 6 R2 (actually, that didn’t take long) – and I’ve also made sure it automatically builds a little NuGet package that is now available on the EPiServer NuGet feed.

image

Essentially this gadget does what it sounds like – it’s like the “Quick Watch” window when you are debugging in Visual Studio.

In the text-field you can type in any expression and it’ll automatically be returned (writing “return” before is optional). Any code you write before a return statement will be executed in the same application-space as the web site is running in – so it’s possible to use this to try out new functionality that is still without a UI, setup different variables, or browse what values are already set.

Below the code-input field you’ll get a browser that lets you browse the returned object structure.

In the settings you can define which namespaces to use, and setup default watches.

 

Enjoy!

Jul 05, 2011

Comments

Tattoo Beasts
Tattoo Beasts May 12, 2018 05:08 AM

Very Nice Tips ath. thx

Leading Tattoo Magazine & Database, Featuring best tattoo Designs TattooBeasts & Ideas from around the world. At TattooViral we connects the worlds best tattoo artists

Please login to comment.
Latest blogs
Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Set Default Culture in Optimizely CMS 12

Take control over culture-specific operations like date and time formatting.

Tomas Hensrud Gulla | Nov 15, 2024 | Syndicated blog