August 2008 - Posts

How to get ASP.NET MVC Preview 4 to run with .NET SP1

As you probably know by now (i.e. from Phill's blog), however both Routing and Abstractions are. MVC Preview 4, however, has its own version of both assemblies.

In order to get MVC to use the new RTM bits of both assemblies (and avoid weird side-by-side errors), you just need to add the following binding redirect to the web.config file:...

Read full article

How to diagnose Linq to SQL easily and production-ready

Here's what we're currently doing: we add an InitializeContext method to all DataContext-derived classes, which is called from all ctors:

    private void InitializeContext()
    {
#if DEBUG
        if (Debugger.IsAttached)
        {
            this.Log = new DebuggerTextWriter();
        }
#endif
    ...

Read full article

Does CUIL search engine really work?

Query: "how to replace ipod touch boot screen"
Cuil: 1 result, completely unrelated to what I'm looking for
Google: 140k results, including the one I was looking for in the first 10
MS Live: 423k results, the actual answer nowhere to be found in the first 40 results (so, for practical purposes I guess it's the same as Cuil useless result too :))


 

Query: "how to locate active item in solution explorer vs"
Cuil: 0 results
Google: 2M+ results, VERY relevant to the search
MS Live: 177k results, first couple links VERY relevant, following ones somewhat related...


Read full article

More Posts

Search

Go

This Blog

News

     

      Microsoft MVP Profile

Syndication