My studying notebook

Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

2008/11/03

jQuery intellisense in VS2008

11/03/2008 10:21:00 PM Posted by Unknown , 1 comment
It is old news. Scott Guthrie announce that Microsoft will be shipping jQuery with Visual Studio going forward. It's a good news for developer of ASP.NET. We can use lightweight open source javascript library to do more rich interative application in the client side. It's a important feature that Visual Studio 2008 support full javascript support. And few days ago, microsoft had release a hotfix for a number of issuse in Visual Studio 2008. You can make Visual Studio's javascript intelliense work better with jQuery.

scenario
  1. download visual studio hotfox(KB946581) and install
  2. download jquery intellisense file
    Untile now, I search few atrical about jQury intellisense in VS2008. In order to use jQury intellisense. We must download another javascript(jQuery intellisense file). i donwload the intellisense file from(this) before i find jQuery web site support documentation(jquery-1.2.6-vsdoc.js) in Visual studio


  3. Add both file(jQuery, intellisense) to your web page


Ps. About web page import javscript, usually we direct asign script block src attribute. Another method, we can use Google AJAX Libraries API load jquery file. It's more convenience to load jquey library by Google AJAX Libraries API. For example: you can change jquery library version by modify aip parameter.
//using 1.2.3 version jquery
google.load("jquery", "1.2.3");
// useing 1.2.6 version jquery
google.load("jquery", "1.2.6");

OH! sure. you still can add other js file by Google AJAX API. ex: jqueryui

2008/09/15

Tip: Visual Studio 2005 Server Explorer Crash

9/15/2008 08:29:00 PM Posted by Unknown , 1 comment

Today. When I decide to use Visual Studio 2005. I find that I cannot open Server Explorer and View the Data Base in Visual Studio 2005 Toolbar View\Server Explorer. And it doesn’t fix the error in Toolbar Window\Reset Window Layout.


And What can i do? After my research, i use the Devenv Command Line Switches to solve this problem and run “devenv /setup” in Visual Studio 2005 Command Prompt.