Over the last few months i have done the following blog posts to explain how to handle images using MVC and various technologies like JQuery and Entity Framework. Now the majority of hits i receive are concerning these blogs posts, so obviously Image Handling is a common Achilles heel. The posts are also being referenced […]Read more "[MVC 3] MvcImage Project……Its Alive!….."
Image via Wikipedia I’m at the moment trying to write a light-weight AJAX control for my home page, which displays New Properties which have been added, aptly named WhatsNew. The issue i had was the following error which i inspected in Fiddler when i didn’t have any JSON returned to my view: A circular reference […]Read more "[MVC 3] Entity Framework and Serializing JSON–Circular References"
I find myself when using Entity Framework, before accessing any of Objects i have various try/catch methods, due to the amount of exceptions that “bubble” up. Now before i try and access my ObjectSet’s within my ObjectContext i usually make sure there are objects there to begin with. I usually do something like: […]Read more "[MVC 3] ObjectSet Extension Method–CountAll"
Image via Wikipedia The Entity Framework can throw a lot of Exceptions depending on what you are trying to achieve. We are lucky that the default CRUD controller template includes how to use EF during a Create/Delete/Edit scenario, but sometimes (a lot of the time in my case), when you first begin using EF, the […]Read more "[MVC 3] Entity Framework 4–Disposing ObjectContext–TIP"
UPDATE: I have now combined all my MVC Image Handling blog posts into a Open Source Project. Feel free to check this out once you have read the post. http://mvcimage.codeplex.com/ Original Blog Post: The last post i described how to create a HTML Helper for Image Previewing. This time around we will be uploading an image […]Read more "[MVC 3] Upload Image –SQL Server & Entity Framework"