Visual Studio 2010 Beta 1 Released

In case you haven’t heard yet which I doubt, Visual Studio 2010 Beta 1 was released. I think you should go to download it and give it a try. However don’t expect to find it perfect as it’s still the Beta 1. I still downloading it myself so I can’t give any indication on how the installation will go. Anyway It worth trying since sooner or later we will be using it so sooner is better.

I have come thorugh two good introductory blog posts to the new features and enhancements for Visual studio and .net languages and thought of sharing with you.

http://blogs.msdn.com/jasonz/archive/2009/05/18/announcing-vs2010-net-framework-4-0-beta-1.aspx

http://blogs.msdn.com/jasonz/archive/2009/05/22/vs2010-tutorial-build-a-wpf-app-with-beta-1.aspx

Bookmark and Share

Posted by Bassem on May 22nd, 2009 under Tech News • No Comments

Friday Tip 06, We love Visual Studio Intellisense, Lets love it more

We, Developers, love nothing in Visual Studio more than its intellisense, Right ?? Yes off course, I guess that’s my readers answer if they have been using visual studio for sometime.

why not, since it’s getting smarter, no lets say more intelligent with every release of Microsoft Visual Studio.

Today I’ll be discussing special area of VS intellisense that VS 2008 brought to further make developers happier. That would be JavaScript intellisense along with the latest additions to the intellisense package which is Jquery Intellisense.
There is more, lets continue…

Bookmark and Share

Posted by Bassem on May 15th, 2009 under Friday Tip • 1 Comment

What makes a good browser ?

As I was exploring my google reader for something interesting among the tens of feeds am subscribing to I have found an interesting feed regarding Browsers. I found the Google Chrome Channel on Youtube. It simply contains tens of short films about browsers and how users see or need to see in browsers they use everyday.. The channel promotes Google Chrome in an light innovative way. The channel allows for user subscriptions for short movies as well.

Here is the Chrome Shorts Channel.

Bookmark and Share

Posted by Bassem on May 2nd, 2009 under Misc • No Comments

Friday Tip 05, Execute As … Revert

This Friday tip is a fast small tip that could save some developers or even sqlserver administrators some time and give them more flexibility if they do not already know it. You all may have passed through a situation when you needed to create a sqlserver login with specific set of permissions. Moreover you must have used to test those permission after creating that user. Before sqlserver 2005 and even after it for a plenty of time I used to reconnect to sql server with that user to be able to test it.

Sqlserver 2005 came with a handy statement that allows you to change your execution context to a different user and then revert to your original login without leaving your query window.

Suppose you logged to your database as an administrator and created a user named TestMe who have a permission to select from a table named QueryMe .

To test this user, all you need to do is using the Execute As statement and then Revert to your original admin login when done like below.

Execute As user = 'TestMe'

Select * from QueryMe

Revert

Easy and Fast, Right ?

Bookmark and Share

Posted by Bassem on May 2nd, 2009 under Friday TipTags: , ,  • No Comments

Blog the way you like with SyntaxHighlighter

I got to tell you that I had no intention to blog today. Moreover It’s 1:30 am and I got to be deeply sleeping as I have to get early for work. well this is a lovely summer Egyptian night that pushed me to write even a small hint.

If you are a blogger you must have come through the problem of posting your own code on your blog in approximately the same format or colors you wrote it. I ran throught the same problem when tried to past some c# from Visual Studio to my wordpress post few times in the past. Sometimes I had no time to look for a solution or even was lazy enough to work around it by giving my code different color from post text to highlight it. In my last Post about C# yield statement I decided to take a break and find a good solution for this problem. when I post a piece of code I want it to be clear enough to any reader. I give a try on google and immediately drove me to Syntax Highlighter . Syntax highlighter is a great javascript utility that doesn’t depend on whatever language or technology your blog use. It supports highlighting for many languages including javascript, C#, C++, Css and much more .

Implementation is so easy, after downloading

1-unzip the file

2-upload folders “javascript and css” to your server.

3-add the required references in your page to the css and javascript files.

4- Tag the code segment you want with Pre tag with desired brush/ language you want.

You can find the simple implementation steps Detailed Here.

Then you will enjoy reading your posts the same way you wrote them.

Bookmark and Share

Posted by Bassem on April 29th, 2009 under Development • No Comments