Friday, June 4, 2010

What is Windows Azure and how can I develop an application for Azure?

Just like Windows desktop or lap top, the Windows Azure operating system supports applications deployed to the Windows Azure Cloud Platform.

Well it is not exactly sitting in the cloud and in fact the whole hardware is in several Microsoft Data Centers around the world. Your application will be working within one of those centers. You naturally choose one nearest to you. It has several components and if you want to know more about it you better visit this link here.

Now as to developing applications for Windows Azure there are two possibilities. You could develop an application and go through a simulated environment on the ground (in fact in your own computer ('Box'), or you could develop the application in your computer in the simulated environment ('called the development fabric') and then deploy it to your  windows Azure Hosted site. This is a service you must buy, just like your cell phone.

In either case, you need to have one of the following installed on your machine:
  • Visual Studio 2008 SP1 or
  • Visual Studio 2010 RC

But you must also download the Windows Azure Tools for Microsoft Visual Studio from here.

In order to help you out, I have a few screen shots saved when I installed it on my computer which is Windows 7 on a ACER Notebook with 3GB memory and a 288 GB Hardrive.

Start with your Visual Studio 2010 RC

This is a fresh installation. Windows Azure is not installed yet. You see the button "Enable Windows Azure Tools" when I chose Cloud in the Installed templates. Click on that.

This opens the site where you install from right within VS2010 as shown here.




















Now click that button for download. You go to the site whose link we saw earlier. Click on that. The download starts. Save it to any location you like. This file VSCloudService.exe is important.













Double click it to install.  You will see this screen.

















Note what all you get when you install. Click Next>.



















Since you started with VS2010 which is still open it is complaining. I closed out of VS2010 at this point.

But still I did not go away. I just refreshed it couple of times and  voila.



















When it finally finished I am seeing this,













Well I am cooking now.

How to use Geography data type in SQL Server?

You can use geography data type in SQL Server but only if you use SQL Server 2008. Does not matter if it is SQL Express. It is not supported (yet, may be in SU3) in SQL Azure although SQL Azure is version 2008. But then it is only 10.25 and not 10.5.

You want a jump start follow this link:

http://hodentekmsss.blogspot.com/2010/06/using-spatial-data-types-in-sql-server.html

Friday, May 14, 2010

How do I attach a database to a SQL Server?

Very simple.

 You can do it in the SQL Server Management Studio (SSMS) or use System Stored Procedures.

You can see a step by step method at this link here.
http://hodentekmsss.blogspot.com/2010/05/using-sample-databases-with-sql-server.html

Moving from SQL Server 2000 to 2005 read here:
http://www.aspfree.com/c/a/MS-SQL-Server/Moving-Data-from-SQL-Server-2000-to-SQL-Server-2005/3/ [about 0.5 million page views]

Monday, May 10, 2010

Pure Microsoft SQL Servers

I have started a new blog exclusively covering topics that interested me (off /On) related to Microsoft SQL Servers. I also plan on posting links to my older articles on this subject.


I am a busy guy, you will also find new stuff that may help you in your learning experience.

Well, Hodentek is all about learning.

http://hodentekmsss.blogspot.com/

Welcome to the new blog.

Jay

Sunday, February 21, 2010

How do you telnet in Windows 7?

You must enable Telnet Client. If this is not in place you will not be able to telnet.

Go to Control Panel -->Programs -->Programs and Features -->Turn windows features on or off
This brings up the following window.


Place check mark for Telnet Client and click OK.

Now you can use the Telnet ccommand in the DOS window.

Tuesday, December 1, 2009

How do you change DOS windows' command prompt in Windows 7?

Get help file:

C:\Users\Jay>prompt /?


Changes the cmd.exe command prompt.

PROMPT [text]
text Specifies a new command prompt.
Prompt can be made up of normal characters and the following special codes:
$A & (Ampersand)
$B (pipe)
$C ( (Left parenthesis)
$D Current date
$E Escape code (ASCII code 27)
$F ) (Right parenthesis)
$G > (greater-than sign)
$H Backspace (erases previous character)
$L < (less-than sign)
$N Current drive
$P Current drive and path
$Q = (equal sign)
$S (space)
$T Current time
$V Windows version number
$_ Carriage return and linefeed
$$ $ (dollar sign)



If Command Extensions are enabled the PROMPT command supports the following additional formatting characters:
$+ zero or more plus sign (+) characters depending upon the depth of the PUSHD directory stack, one character for each level pushed.

$M Displays the remote name associated with the current drive letter or the empty string if current drive is not a network

Example: Changing from "C:\" to "%"
-------------------------------------

C:\Users\Jay>prompt %--->Changes to %
%
%Prompt C:\ ------------->Changes back to C:\
C:\
C:\

Thursday, November 26, 2009

How do I connect to a SQL Server Compact Database from SQL Server 2008 R2 Nov_CTP?

The database is present in the installation directory but you need to enable permissions.

Click Connect SQL Server Compact... in MS SQL Server Management Studio.

















In the Connect to Server window click on the drop-down handle as shown.













Click on the drop-down item "Browse for more...". Expand the C:\node as shown














Click OK. The Connect to Server gets updated.
You may not be able to connect to the database as permissions are needed.






You can modify the permissions on the sample database. The database gets dispalyed in the Management Studio after you click OK on the Connect to Server window after modifying the premissions.