Wednesday, February 29, 2012
ASP.NET Location Node in web.config
Just a quick one today! This has probably been around for a while now but yesterday I had good cause to use this handy piece of functionality!
The location tag within the web config file of your asp.net 4 website allows you to specify a location tag with a path attribute and set "web.config" style setting for just that single location! This is particularly handy if you need to set...
Thursday, February 16, 2012
ASP.NET Entity Framework 4.3 - What's my Id???
Whilst working on a simple data access layer using Sql Ce 4, POCO C# and using the Repository Pattern it occurred to me that when implementing a SaveChanges method that there was no real effective way to prevent a subsequent developer coming along and instantiating a new instasnce of some entity, directly setting the Id property and calling SaveChanges! I thought about nesting the...
Subscribe to:
Posts (Atom)