jQuery Snippets for Visual Studio 2010

If you know me you know that jQuery is my favorite technology right now.  If you thought it was easy to use already, I have a treat for you.  Check out these jQuery Snippets for Visual Studio 2010 by John Sheehan to boost your jQuery productivity in Visual Studio 2010.

John also has a dedicated page to .NET Cheat Sheets I  print and use all the time.

Advertisements

Project Euler – IProblemBase

I have noticed people searching for my IProblemBase class. There is really nothing to it to be honest. I just have all my Problem[n] classes implement it so that my test harness can call them easily. What I really need to publish is my BigInt class that most of the solutions I do publish use. Sorry, it needs some polish so its going to be a while for that one.

IProblemBase

namespace Euler
{
    public interface IProblemBase
    {
        string GetAnswer();
      
    }
    
}

Program

namespace Euler
{
    class Program
    {
        static void Main(string[] args)
        {            
            IProblemBase p = new Problem48();
            string answer = p.GetAnswer();
            //etc.....
        }
        
    }
    
}

Microsoft AJAX CDN

Microsoft Ajax Content Delivery Network

The Microsoft Ajax content delivery network (CDN) enables you to easily add ASP.NET Ajax Library and jQuery scripts to your Web applications. You can start using the ASP.NET Ajax Library or jQuery simply by adding a <script> tag to your page that points to Ajax.microsoft.com.

By taking advantage of the Microsoft Ajax CDN, you can significantly improve the performance of your Ajax applications. The contents of the Microsoft Ajax CDN are cached on servers located around the world. In addition, the Microsoft Ajax CDN enables browsers to reuse cached JavaScript files for Web sites that are located in different domains.

Scott Guthrie has a nice write up:  Announcing the Microsoft AJAX CDN

Posted in AJAX, ASP.NET. Tags: . 1 Comment »