Category Archives: mvc
The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.
If you are using Entity Framework, this is one of the most common and often misleading errors you will see. There are several possible explanations for this error that may lie in the code or in the database. Here are … Continue reading
I’ve been using Data Annotations recently. For those of you outside the .NET world, Data Annotations are Attributes that bind validation and display rules to your model properties. Some examples of basic validation annotations would be Required StringLength Range DataType … Continue reading