Multiple FROM statements in a LINQ expression
Multiple “from” statements are like nested foreach statements. MSDN example: var scoreQuery = from student in students from score in student.Scores where score > 90 select…
Read more →Lessons learnt from the world of Software Development, Object Oriented Design and .NET Architecture.
Multiple “from” statements are like nested foreach statements. MSDN example: var scoreQuery = from student in students from score in student.Scores where score > 90 select…
Read more →var foos = await db.Foos.Where(x => x.UserId == userId).ToListAsync();
Read more →I want to authorize another user to use my iTunes account (Basically, I want him to be able to purchase music on my behalf – my money –…
Read more →The WSDL specification provides you with two different ways of specifying the use of SOAP header fields. In explicit headers, you add all of the header information to…
Read more →The short answer is that a VIEW is just a static representation of tabular data – and cannot accept a parameter. However, one can accomplish the same thing…
Read more →If you are working from an EF context, the context has its own LOG. This can be written out to your development console (see example below). context.Log =…
Read more →IntelliJ Idea – along with its many plugins – is the closest one can get to a resharper equivalent for java code.
Read more →If you just lost intellisense in VS 2012 or 2013, you are not alone. These are the two most common culprits/fixes – RESET all settings – Tools >…
Read more →I needed to update all posts in a certain CATEGORY. The update involved changing the author name for each of those posts. Here is what I had to…
Read more →All I wanted to do was display all the SUBCATEGORIES under a category (along with their titles) – and list the posts under each subcategory. With the power…
Read more →