Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Dynamicweb JSON master and Layout
<!--@Layout.Description(This is useful for returning JSON)-->
<div class="dwcontent" title="main" id="main"></div>
@using Dynamicweb
@using System.Web
var request = HttpContext.Current.Request;
var response = HttpContext.Current.Response;
@if(1>2) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment