Tonight I reached a new milestone on my current development for my portal Tech Head Brothers.
You might know, or guessed, from one of my last post; "Tech Head Brothers Silverlight Streaming framework" that I am working on adding Silverlight Streaming to Tech Head Brothers. I first released a little framework to ease the development against the REST API of Silverlight Streaming. Now I went further on with a first vertical slice of the whole solution.
The solution is composed of four parts:
- a client application to post the video
- a service to receive the posted video
- an admin web application to publish the video
- a web interface to display the video
After quite some discussions with Mathieu about the best posting user experience for the different authors we finally decided that using Live Writer was the best solution! And now that I have the first vertical slice I am really happy about the choice we made, because it makes the solution easy for the authors but also for us implementing the solution.
The client application customize Live Writer with a SmartContentSource plugin letting the author upload it's video to Silverlight Streaming but also posting all information to Tech Head Brothers as a blog post.
The cool point here is that during the development of innoveo solutions website; my new company, I wrote a generic blog engine that basically let you define a blog just by adding an httphandler and implementing a Converter class:
Definition of a new blog, that will be used in the httpHandlers part of the web.config
public class VideoBlog : GenericBlog<Video>
public VideoBlog() : base(new VideoBlogAssembler())
Definition of the converter class, converting an business entity to/from a Post
public class VideoBlogAssembler : IBlogAssembler<Video>
/// Converts the specified video.
/// <param name="video">The video.</param>
public Post Convert(Video video)
Post post = new Post();
post.dateCreated = video.PublishDate;
post.description = video.Description;
The admin part was quick to develop just extending the page I already had for articles publication.
So now you know it, yeah we are adding Video to Tech Head Brothers and I hope really soon.