Tips & Tricks on ASP.NET MVC, Ajax, jQuery, Entity Framework

Entries for July, 2012

WebImage.Resize method – How to Remove the Left and Top border from the image

WebImage is a class in System.Web.Helpers  namespace ( in System.Web.Helpers dll) which helps us to do some useful things with an image in a webpage like cropping, resizing,flipping ( vertical & horizontal), rotating etc… It is a very useful class if you are working with some code which returns an image  according to your needs [...]

Foreign Key relationship in Entity Framework Code First

This is the third part of my Entity Framework Code First Tutorial for beginners. If you want to start fresh , Visit the first part here. Entity Framework Code First has some nice conventions to follow when you want to work with relationships.  Let’s see how it works. If your class contains a reference and a collection nvigation [...]