Archives for Software Dev - Page 38
Using Git with Visual Studio 2013
All I wanted to do was look at some sample source code within a GIT ; For this, the repository exposes a Git URL . This URL is all that…
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 ; where score > 90 select new {…
FindAsync with non-primary key value
var foos = await (x => == userId).ToListAsync();
iTunes sharing content
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 - his music…
Exposing SOAP Header info to Client through the WSDL
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 the portType…
SQL Server Passing parameters in VIEW
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 by doing…
Quick way to print out generated sql
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). = ;DataClassesDataContext context =…
Reshsharper equivalent for java ?
IntelliJ Idea – along with its many plugins – is the closest one can get to a resharper equivalent for java code.
Lost intellisense in Visual Studio
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 > Import and…
Bulk update (change) author in wordpress posts
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 do to…