Posts Tagged ‘visual studio’
The Project Location is not Trusted
This one has been bothering me for several weeks, so I decided to research the problem and finally fix it.
The problem started when I downloaded a project from the web to start working on it. This same project worked previously, the zip was just an update.
Here’s what I found:
Two Time-saving VS Command Line Parameters
I realize that many of my readers load one project at the beginning of the day and continue to work on only that project. You guys won’t benefit as much from this tip as those of us who switch between multiple projects in a day. But you will benefit.
My development life has me currently working for two separate clients that require the use of Visual Studio. I’m in the mist of integrating changes from two different versions (branch and merge operation) into one of the branches. This alone has me opening and closing three different projects. Another client might have me work on a bug fix at one time and the main project of the month at another.
Installing Silverlight2 Tools for Visual Studio
I was talking with a friend of mine a couple of days ago about the future of web development and XAML specifically when he made the comment about the tools not being available for the average developer.
I said that I was pretty sure the tools were available now for Visual Studio. This morning, I went looking and sure enough the tools are available so I thought I’d download them and install them. And while I’m at it, I’ll write about the experience.
Extracting Methods
I once knew a programmer who had us all fooled into thinking he was the most organized programmer on the planet. When he left at night, his desk looked like he had never even been to work. When we did code reviews, his code was nicely formatted, there wasn’t a duplicate line of code anywhere.
Aside from the look of his code, he knew his stuff too. And this is back in the day when code editors were only slightly better than notepad… at least compared to today’s tools.
When he left and we started maintaining code he had written we found that only the code he had to show us was pretty. The rest of his code looked like all of our code.
But today, the amount of time it takes to keep your code looking nice is trivial thanks to some macros that Microsoft has built into Visual Studio. One of those macros is the refactoring macro called, “Extract Method.”
What’s it do?
Host jQuery at Google (with Intellisense support)
While reviewing my RSS feed this morning, I found this article:
3 reasons why you should let Google host jQuery for you | Encosia
I had no idea!
The three reasons are:
- Decreased Latency
Google will serve the data from the closest server - Increased Parallelism
More threads are available to download content specific to your application instead of downloading this common library. - Better caching
They may already have the library on their computer.
Here is the code you should be using to include jQuery in your application to use the Content Delivery Network at Google:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"> </script>
The one issue you may have to deal with is that if you are using the intellisense files for Visual Studio, you will need to find some alternate method. Here’s one: