Hello. This is just to test that everything's hooked up right...
| This is my cat: | This is my other cat: |
Here they are being lazy:
And here's some C#:
using System;
using System.Web.Mvc;
using Thuban.Modules.Posts;
namespace Thuban.Views.Blog
{
public partial class GetFile : ViewPage<PostFile>
{
protected override void OnLoad(EventArgs e)
{
this.Response.Clear();
this.Response.ContentType = this.ViewData.MimeType;
this.Response.OutputStream.Write(this.ViewData.Data.ToArray(), 0, this.ViewData.Data.Length);
this.Response.End();
}
}
}