One of the greatest benefits of LINQ to SQL and LINQ to Entities is navigation properties that allows queries across several tables, without the need to use explicit joins. Unfortunately LINQ queries are often written as a direct translation of a SQL query, without taking advantage of the richer features offered by LINQ to SQL and LINQ to Entities.
SQL Server 2012 provides some very nice features with AlwaysOn, but didn't have a paper/post/site readily handy to share. There is one available now, courtesy of SQLCAT.
We’ve all met them. The programmers that can’t program. They can hardly write anything that compiles on their own. Producing quality quality code is way above their skills. Trying to find out why, here are 7 common mistakes made during recruiting.
Remember when people were writing websites with XSLT transforms? Yes, exactly. XML is great for storing a data structure as a string, but you really don’t want to be coding your application’s business logic with it.
This article will introduce how, at the most basic level, SQL Server can be communicated with using C++ and Native code, rather than using the .NET Framework.
The Monad generalization provides a good solution for WPF/Silverlight thread problem. The solution is barely about communicating through the type system the fact that WPF/Silverlight controls are special, and using LinQ expression to operate on them leaving the plumping (Dispatcher.Invoke, Freezable) to the monad library implementers.
Running Apache and IIS on the same web server might seem like sacrilege to some folks, but like a lot of things in life there is a time and a place for everything.
It took Jon Davis by surprise to find that the RegisterRoutes method is no longer defined in Global.asax.cs. Here is how he resolved the issue.
If you were ever interested in web debugging, you should take a look at Fiddler. More than that, now you have a book to get started.
These are a couple of generic serialize and deserialize methods that can be easily used when needing to serialize and deserialize classes. The methods work with any .Net type.
Suppose you want to add an event handler, but you don’t know up front which event. Admittedly, this is a bit of an edge case, but I have used it in a behavior that starts a storyboard upon an event (I will publish that later). The designer can specify the event using a string value in XAML, so I cannot simply use object.MyEvent += (handler). We need reflection here.
In this article, I will show you how to handle 'HTTP 404 Not Found' at one place using the ASP.NET Web API framework.
For Continuous Integration fans out there that may have specific build-configuration-based build and deployment scenarios (such as myself), there is the need to have finer grained control over the Web.config transformation process. If this sounds like you, then this post is aimed to deliver.
With the introduction of .NET 4.5, Microsoft added language support for language integrated asynchronous coding style. Here are
TechEd this week was a great experience and I wanted to wrap it up with a summary post. TechEd re-enforced for me that much of the value is not in the sessions, but in the networking opportunities.
TFS Work Item Explorer Extension is an add-in for the Architecture Explorer that allows you to explore work items via their relationships and properties.
Martin Hinshelwood shows how it is possible to perform a smooth transition from TFS 2010 to TFS 2012, as well as showcasing the benefits of doing so.
Jeremy Likness takes a peek at the newly released Microsoft Surface tablet, now powered by Windows 8 and coupled with great new keyboard/cover options.
If you are just getting started with Windows 8 application development, it is worth taking the time in dissecting some of the basic project template. Here is how to get started.
As you might have gathered from some scarce reports on the Web and the initial list of new features in Visual Studio 2012, the new C++ compiler is now capable of automatically vectorizing loop bodies.
In administrative systems, there is often a need to import and parse csv files. .NET actually has a built in CSV parser, although it is well hidden in a VB.NET namespace.
Yaron Naveh debunks twelve common misconceptions about WCF services and their level of interoperability when it comes to cross-service interactions.
WinRT introduces a completely different navigation model compared to Windows Phone or standard WPF. Joost attempts to implement a classic wrapper for the new architecture.
Sometimes when completing web forms, some fields are deemed to be important, therefore are required to be completed. Gunnar shows how to build a notification mechanism in ASP.NET MVC.
Model Binding is one of the coolest feature in ASP.NET MVC3. Like a magic wand, your form element values, JSON values, also query string values automatically get converted to the equivalent C# object and makes the life of the developer easier.