HO_01_11 – Hands On ASP.NET MVC – Episode 11
In this episode Dave adds functionality to allow the user to upload a picture to use on their profile that would be displayed in the timeline. He demonstrates using InputStream to save the image from the HTML form and how to manage the uploaded files by giving each file a random name using a custom extension methods to the StringBuilder class to ensure there are no name collisions on the server. The then demonstrates how to resize the image to three specific sizes for use on the site using system.Drawing.Image.FromStream, system.Drawing.Imagein and more, discusses how to to maintain image aspect ratios, how to save as a PNG file type and more. Dave then discusses best practices for image manipulation in a web application. Finally, he implements the character count using a jQuery plugin called jQuery Limit.
About this video:
Duration: 20 Minutes, 57 Seconds
Recorded Using: Visual Studio 2008 or greater

