Sunday, January 31, 2010

Microsoft Visual Studio 2010 Beta

Last night I downloaded the latest beta version of the amazing Visual Studio IDE’s and I must say it looks amazing and is looks very different than any that have come before it.

One of my minor niggles with all previous versions was the lack of multi-monitor support but the latest beta from Microsoft is the first version to offer this support and so far the results are excellent.

Having an entire monitor free to display a page of code without any clutter while having all my Solution Explorer , Properties and Class View windows available and docked on the second monitor (along with more code windows if needed) will be an great productivity boost.

There are lots of new features to play with and I shall blog about them one by one as I get to know them more but the first thing I will say is how nice it looks in Windows 7. The start-up and performance seems good for now. Certainly no slower than VS2008. The UI was apparently written in WPF which is the first commercial application that I have seen that has been written in WPF.

That’s enough for this post as I have a couple of projects that I am working on that I can test this new version on as well as testing out a few “File New” projects.

Download Microsoft Visual Studio 2010 Beta now.

Posted via email from solution revolution

Saturday, January 30, 2010

jQuery and Visual Studio Intellisense do not want to play together

“Error updating JScript IntelliSense: jquery-1.3.2.min-fds90[1]..js: Object doesn't support this property or method @ 32:399”

I have the hot fix installed and at some point it has worked but I don’t think the .vsdoc file plays well with others as the only other thing that I can think of is that I use the jQuery UI library along with a table sorting library.

I don’t really need it but it’s nagging me to the point of madness not being able to get it working!

Posted via email from solution revolution

Saturday, January 23, 2010

JQuery 1.3 and Visual Studio 2008 IntelliSense

jquery-1.3.2.min.js
jquery-1.3.2.vsdoc2.js
Visual Studio 2008 SP1
KB958502 hotfix applied and still received the Object doesn't support this property or method @ 18:9345 error.
Fixed by renaming both by renaming both JS files.
jquery-1.3.2.js (remove min)
jquery-1.3.2.vsdoc.js (remove 2)

just wanted to share since it took me forever to find the solution.

Posted via web from solution revolution

Smelser.NET | Is my code Fluent?

public static class FluentCommentExtensions
{
    public static NonFluentComment By(this NonFluentComment instance, string commentorsName)
    {
        instance.CommentedBy = commentorsName;
        return instance;
    }

    public static NonFluentComment Says(this NonFluentComment instance, string comment)
    {
        instance.Comment = comment;
        return instance;
    }

    public static NonFluentComment RatedYou(this NonFluentComment instance, ushort rating)
    {
        instance.Rating = rating;
        return instance;
    }

    public static NonFluentComment CanBeContactedAt(this NonFluentComment instance, string commentorsEmail)
    {
        instance.CommentorsEmail = commentorsEmail;
        return instance;
    }
}

Posted via web from solution revolution

Using CDN Hosted jQuery with a Local Fall-back Copy - Jon Galloway

1<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js"></script>
2<script type="text/javascript">
3if (typeof jQuery == 'undefined')
4{
5    document.write(unescape("%3Cscript src='/Scripts/jquery-1.3.2.min.js' type='text/javascript'%3E%3C/script%3E"));
6}
7</script>

Posted via web from solution revolution

Thursday, January 21, 2010

UK Government Launches Open Data Site: data.gov.uk

SQLite on .NET in 3 minutes. Download to querying in no time flat. | MikeDuncan.com C# Dev tips, patterns and tools you can actually use.

ASP.NET Support in ReSharper 5 - Hadi Hariri - Devlicio.us - Just the Tasty Bits

Lifehacker - Firebug 1.5 Updates with New Features, Still a Web Developer's Dream [Downloads]

Lifehacker - Firebug 1.5 Updates with New Features, Still a Web Developer's Dream [Downloads]

Large or asynchronous file uploads in ASP.NET MVC | dimebrain

Sunday, January 17, 2010

NHibernate, polymorphic associations and ghost objects

Learning in the Open: I – Starting with ActiveRecord

ASP.NET MVC 2: Strongly Typed Html Helpers - ScottGu's Blog

Lightweight Task Scheduling Library for .NET / Silverlight

ASP.NET Performance - Part 4 - CDN

Ambiguous Controller Names With Areas

Classifieds Starter Kit

An open source classifieds starter kit name trading center has been released.

More details on the following blog post:
http://weblogs.asp.net/reganschroder/archive/2010/01/16/trading-center-my-advancing-of-the-classifieds-starter-kit.aspx

Posted via email from solution revolution

ASP.NET MVC 2: Model Validation

Visual Studio 2010 and .NET Framework 4 Launch Date

"Short but sweet, Visual Studio 2010 and .NET Framework 4 will launch on Monday, 12 April 2010."

Published Wednesday, January 13, 2010 8:18 PM by Rob Caron

Sent from my iPhone

Posted via email from solution revolution

Wednesday, January 13, 2010

Trapped at work!

Service Condition Report

The latest travel news from the Oxford Bus Company at 0945

The conditions have deteriorated so badly in the last hour. The roads are now so dangerous that we have had to suspend all our services for the time being. Many of the main roads are now like ice rinks.

The espress service to London and the airline service to Heathrow and Gatwick have been suspended too as its impossible for us to get out of the city centre safely.

We have told our drivers to complete the journeys they are currently on and then return as carefully as possible to the depot.

We will review the situation again at 2pm.

I'm trapped at work!

Posted via web from solution revolution

Sunday, January 10, 2010

How to Change your Blogger Title Tags

A simple copy and paste operation from within the blogger template editor and now my blogger blog now has more SEO friendly page titles.

My posterous blog already has this optimisation but my blogger template is quite old now.

Nice tip

Posted via web from solution revolution

SCOPE_IDENTITY and @@IDENTITY broken on SQL 2005 and SQL 2008??!

Check out this website I found at connect.microsoft.com

It is late admittedly and I am just skim reading at the moment but unless I am very much mistaken SCOPE_IDENTITY and @@IDENTITY which are the inbuilt SQL Server functions for returning the newly inserted unique identifier are broken in SQL Server 2005 and SQL Server 2008.

Not good. Time to re-read this and have a rummage about on google.

Posted via web from solution revolution

Wednesday, January 06, 2010

Schema Compare does not support SQL Server 2008

Today I needed to compare the schema between two SQL Server 2008 databases and modify one database from the schema of the other.

In the past I have used the excellent tools from RedGate but I did not have them installed on my netbook however it gave me a chance to use the schema and data compare tooling in Visual Studio 2008 Team System edition that I do have installed on my netbook.

Going through the connection wizard setup Visual Studio gave me the following error message:

Schema Compare does not support SQL Server 2008

A bit of googling later and I found this patch that sorts this out:

Microsoft® Visual Studio Team System 2008 Database Edition GDR R2

After installing this I was able to get going and successfully update my database as you can see from the screenshot below:

Posted via email from solution revolution

TestiPhone.com - iPhone Application Web Based Simulator

http://testiphone.com/

Posted via email from solution revolution

LogMeIn - Remote Access and Desktop Control Software for Your Computer

Check out this website I found at secure.logmein.com

Posted via web from solution revolution

Subdomains for a single application with ASP.NET MVC

http://lukesampson.com/post/303245177/subdomains-for-a-single-application-with-asp-net-mvc

Posted via email from solution revolution

Sunday, January 03, 2010

Monotouch Examples

Monotouch Examples

I really really have to get myself a mac so I can start developing apps for the iPhone rather than just reading about it.

Until that happens I will have to make do with looking at sites like this that have some code snippets in C# with the MonoTouch environment.

Posted via web from solution revolution

Saturday, January 02, 2010

Dynamic types and ASP.NET MVC - Hadi Hariri - Devlicio.us - Just the Tasty Bits

Posted via web from solution revolution

Write an iPhone Game in an All-Nighter Edition

Posted via web from solution revolution

Opening another application on the iPhone using NSUrl

NSUrl ns = new NSUrl(prot + first + sec.Trim());

if (!UIApplication.SharedApplication.OpenUrl(ns))

            {

                var av = new UIAlertView("Badness happened"

                    , "The scheme '" + prot + "' is not supported on this device.",

                    null, "Ok thanks", null);

                av.Show();

            }

Posted via web from solution revolution

UIPicker in the iPhone with MonoTouch

The UIPicker with MonoTouch

Posted via web from solution revolution

Build iPhone apps with C# and run on the iPhone

Posted via web from solution revolution