Connecting String Tips with EF5 and localdb

Connection String Reference from Class Constructor When specifying a connection string property use the ‘name’ key word within contructure which instructs EF5 to throw an exception if it doesn’t find it. I would say this is better practice than not specifying the key word ‘name’. public class ApplicationDB:DbContext { publicApplicationDB() : base(“name=EF5.Demo“) {} } Specifying… Continue reading Connecting String Tips with EF5 and localdb

Error: A file activation error occurred. CREATE DATABASE failed.

A file activation error occurred. CREATE DATABASE failed. With Entity Framework 5 I was trying to play around with the enhancements to code first and establish a database with the AttachDbFileName property in the connection string section in the AppConfig file. addname=“DatabaseName“providerName=“System.Data.SqlClient“connectionString=“Data Source=(LocalDB)v11.0;AttachDbFileName=|DataDirectory|DatabaseName.mdf;Integrated Security=True;MultipleActiveResultSets=True“ /> And I was receiving this error message: A file activation… Continue reading Error: A file activation error occurred. CREATE DATABASE failed.

Practices a senior developer should have to grow/maintain their knowledge

As most developers are aware technology changes so frequently that you need to build a routine and a set of practices around learning and keeping up. The sooner a developer establishes these practices the soon they will become a senior developer. Likewise, within a short period of time after a senior developer stops or slows… Continue reading Practices a senior developer should have to grow/maintain their knowledge

Mobile Application Design, Considerations & Thoughts

If your looking to start a project targeted at mobile devices here are some thoughts and findings on why it might be a good idea, some principles to follow and some general thoughts you might benefit from: Why create a mobile application or mobile web site? To increase your businesses offerings through an additional ordering channel or… Continue reading Mobile Application Design, Considerations & Thoughts