Try our conversational search powered by Generative AI!

Allan Thraen
Jul 5, 2011
  4733
(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
The A/A Test: What You Need to Know

Sure, we all know what an A/B test can do. But what is an A/A test? How is it different? With an A/B test, we know that we can take a webpage (our...

Lindsey Rogers | Apr 15, 2024

.Net Core Timezone ID's Windows vs Linux

Hey all, First post here and I would like to talk about Timezone ID's and How Windows and Linux systems use different IDs. We currently run a .NET...

sheider | Apr 15, 2024

What's new in Language Manager 5.3.0

In Language Manager (LM) version 5.2.0, we added an option in appsettings.json called TranslateOrCopyContentAreaChildrenBlockForTypes . It does...

Quoc Anh Nguyen | Apr 15, 2024

Optimizely Search & Navigation: Boosting in Unified Search

In the Optimizely Search & Navigation admin view, administrators can set a certain weight of different properties (title, content, summary, or...

Tung Tran | Apr 15, 2024

Optimizely CMS – Getting all content of a specific property with a simple SQL script

When you need to retrieve all content of a specific property from a Page/Block type, normally you will use the IContentLoader or IContentRepository...

Tung Tran | Apr 15, 2024

Join the Content Recommendations Work Smarter webinar May 8th 16.00-16.45 CET with expert Aidan Swain

Learn more about Content Recommendations, with Optimizely’s very own Senior Solutions consultant, Aidan Swain . He will discuss best practices and...

Karen McDougall | Apr 12, 2024