Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Get.aspx.cs" Inherits="MvcApplication1.Views.Home.Get" %>
<html>
<head>
<link type="text/css" rel="Stylesheet" href="/less.mvc/Show/<%= ViewData["Name"] %>.css"
</head>
<body>
<h1 id="header" name="header"> This is the less source:</h1>
<pre>
<%= ViewData["Less"] %>
</pre>
<p>
<h2>...And this is the result:</h2>
<pre>
<%= ViewData["Css"] %>
</pre>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment