Logging Experiences

Different ways of generating new GUIDs

Posted in Programming by Sina Iravanian on September 22, 2012

In C# Code

 var newGuid = Guid.NewGuid();

In Visual Studio

Go to: Tools > Create GUID

In SQL Server Management Studio

Execute either of the following queries:




None of the above

Go to newguid.com, and refresh the page as many times as you want.

Tagged with:

One Response

Subscribe to comments with RSS.

  1. Robbie said, on April 21, 2013 at 7:04 am

    Nice post. I was checking continuously this blog and I’m impressed! Very helpful info specifically the last part đŸ™‚ I care for such information a lot. I was looking for this particular info for a long time. Thank you and good luck.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: