Monday, March 11, 2013

Installing Visual Studio 2012 with Update 2 CTP4

 

Brian Harry has announced release of Visual Studio 2012 Update 2 CTP4, this release contains significant improvements compared with other 3 releases and this is the final CTP release.  This weekend I have decided to refresh my environment with this latest Visual Studio 2012 Update 2 CTP4 release.

Before I start, let me give some details on what’s new in Visual Studio 2012 Update 2 CTP4.

  • Backup and restore Power Tool
  • Preserve Configuration on Upgrade
  • Servicing in High Availability SQL Environments (SQL Always On)
  • Customizable kanban columns
  • Visual Studio Git Extension

You can complete details of new features here , you can download Visual Studio 2012 Update CTP4 from here http://go.microsoft.com/fwlink/?LinkId=273878.

My development environment setup

(Note :this is my personal development environment setup and does not guarantee security or other features )

Application Tier : Windows Server 2012 Data Center Build 9200

Build Controller And Agent : Windows Server 2012 Data Center Build 9200

Client Machine : Windows 7 Ultimate

 

Steps

1.Go to http://www.microsoft.com/en-us/download/details.aspx?id=36833 and download “VS2012.2 CTP TFS Server ENU.iso” file

image

2. Mount “VS2012.2 CTP TFS Server ENU.iso” file and double click on “tfs_server.exe”

image

3. Accept the license terms for the Team Foundation Server by selecting check box and click on “Install Now” button

image

4. Wait till the time update gets over

image 

5. Once installation completed you will be redirect to following Upgrade Wizard screen

image

6. Enter appropriate appropriate SQL instance name

image

7. Enter tsf service account (I am going to select default NT Authority\Local Service)

image

8. I don’t want to configure my reporting service now, so I am going to skip this by un checking the check box

image

9. I don’t have SharePoint configured on my box , following option will be disabled mode

image

10. Following screen shows the detailed summary which you have selected

image

11. Click on Next button to verify the selected setting is correct or not

image

12. Click on Configure button to configure the tfs

image

13. Once Configuration process is done, click on Next button to start upgrade process

image

14. Upgrade process is in progress

image

15. Upgrade process is completed, click on Next button

image

16. Upgrade process complete

image

17. Open Team Foundation Server Administrative Console, which shows TFS is upgraded to CTP4

image

18 . Application tier up gradation summary

image

 

Now upgrade Build Controller and Build Agent

1. Repeat step 1 to 3 which I have mentioned above which will open following screen, select “Configure Team Foundation Build Service” and click on Start Wizard button

image 

2. Click on Next button to proceed

image

3.  You will get following warning message if there is already build is configured, click on No button which will allow you to changes the options. Click on Next button

image

4. Select the “User the default setting” option or select “Configure later” if you want to configure is later. Click on Next button

image

5. Enter the account details ( I have selected default)

image

6.  Verify summary details and click on Next button

image

7. Once ready ness check validated, click on “Configure” button

image

8. Configuration is successful and build service is upgraded

image

Upgrade Test Controller and Agent

1. Mount “VS2012.2 CTP Agents ENU.iso” file, and double click on “ vstf_testcontroller.exe”

image

2. Select license terms and condition and click on Install

image

3. Wait till the time installation gets over

image

3. Once installation is completed, click on Restart Now button to apply changes

image

4. Go to start and open Test Controller Configuration

image

5. Click on Apply Changes

image

 

 

Agent Configuration

1. Double click on “vstf_testagent.exe”

image

2. Check License terms and conditions and click on Install button

image

3. Wait till the time setup gets over, then click on Launch button

imageimage

4. Select Next button from the Agent Configuration screen

image

5. Click on Apply Settings button to complete Agent configuration.

image

Upgrade Client Machine

 

1. Double click on the “VS2012.2 CTP.exe”

image

2. Click on “Install” once you accept license terms and condition

imageimage

Hope you will find this post useful, valuable comments are appreciated..

Sunday, March 10, 2013

Installing Visual Studio 2012 with Update 2 CTP4

 

Brian Harry has announced release of Visual Studio 2012 Update 2 CTP4, this release contains significant improvements compared with other 3 releases and this is the final CTP release.  This weekend I have decided to refresh my environment with this latest Visual Studio 2012 Update 2 CTP4 release.

Before I start, let me give some details on what’s new in Visual Studio 2012 Update 2 CTP4.

  • Backup and restore Power Tool
  • Preserve Configuration on Upgrade
  • Servicing in High Availability SQL Environments (SQL Always On)
  • Customizable kanban columns
  • Visual Studio Git Extension

You can complete details of new features here , you can download Visual Studio 2012 Update CTP4 from here http://go.microsoft.com/fwlink/?LinkId=273878.

My development environment setup

(Note :this is my personal development environment setup and does not guarantee security or other features )

Steps

1.Go to http://www.microsoft.com/en-us/download/details.aspx?id=36833 and download “VS2012.2 CTP TFS Server ENU.iso” file

image

2. Mount “VS2012.2 CTP TFS Server ENU.iso” file and double click on “tfs_server.exe”

image

3. Accept the license terms for the Team Foundation Server by selecting check box and click on “Install Now” button

image

4. Wait till the time update gets over

image 

5. Once installation completed you will be redirect to following Upgrade Wizard screen

image

6. Enter appropriate appropriate SQL instance name

image

7. Enter tsf service account (I am going to select default NT Authority\Local Service)

image

8. I don’t want to configure my reporting service now, so I am going to skip this by un checking the check box

image

9. I don’t have SharePoint configured on my box , following option will be disabled mode

image

10. Following screen shows the detailed summary which you have selected

image

11. Click on Next button to verify the selected setting is correct or not

image

12. Click on Configure button to configure the tfs

image

13. Once Configuration process is done, click on Next button to start upgrade process

image

14. Upgrade process is in progress

image

15. Upgrade process is completed, click on Next button

image

16. Upgrade process complete

image

17. Open Team Foundation Server Administrative Console, which shows TFS is upgraded to CTP4

image

18 . Application tier up gradation summary

image

Sunday, March 3, 2013

Introduction to Team Foundation Service ( TFS build in the cloud!) Part 1

 

 

Team Foundation Service is a cloud offering of Team Foundation Server (TFS) by the Microsoft, now with the release of Team Foundation Service cloud offering, no need to worry about hosting and configuring your Team Foundation Server on your premises, it has all the capabilities which is provided by the TFS. ( Team foundation Service is free for some duration , please check Team Foundation Service link for more details)

 

This is really great for the teams which are working on multiple geo locations. Earlier setting up TFS for multiple geo location was very tedious and very time consuming. Those who are working in big companies knows the pain which they need to go through to get the approvals for opening port, setting up the environment, explanation which they need to provide if they want to have more number of server etc. etc.

 

Since this is completely cloud offering, all characteristics of cloud computing are applicable to the Team Foundation Service cloud offering such as ‘on demand’,’scalability’….

 

1. Login to https://tfs.visualstudio.com/ with your live id

2. Click on ‘Create a free account now’ hyperlink

image

3.Provide the Account URL information which will be used to connect to Team Foundation Service using Team Explorer using Visual Studio

image

4.You are done with creating your free Team Foundation Service account in the cloud and following is your Team Foundation Web Portal

image

5.Now lets connect to Team Foundation Service using Visual Studio. Go to Visual Studio, select Connect to Team Foundation Server from Team menu or from Team Explorer.

image

6. Click on ‘Servers’ button from the below window

image

7. Click on Add button which will open Add Team Foundation Server window, enter  the URL which you have created at step 3 and click on Ok button which will connect to Team Foundation Service on the cloud. ( for me its https://mycompany.visualstudio.com/)

image

8.First time user need to sign in with live id to connect with Team Foundation Service.

image

 

Now you are connected with Team Foundation Service.(I don’t want here to give user manual kind of details such as click on Ok button, use close button. The procedure to connect Team Foundation Service cloud offering is similar like TFS. I have skipped some of the screen shots to shorten this blog)

Introduction to Team Foundation Service ( TFS build in the cloud!) Part 1

 

 

Team Foundation Service is a cloud offering of Team Foundation Server (TFS) by the Microsoft, now with the release of Team Foundation Service cloud offering, no need to worry about hosting and configuring your Team Foundation Server on your premises, it has all the capabilities which is provided by the TFS. ( Team foundation Service is free for some duration , please check Team Foundation Service link for more details)

 

This is really great for the teams which are working on multiple geo locations. Earlier setting up TFS for multiple geo location was very tedious and very time consuming. Those who are working in big companies knows the pain which they need to go through to get the approvals for opening port, setting up the environment, explanation which they need to provide if they want to have more number of server etc. etc.

 

Since this is completely cloud offering, all characteristics of cloud computing are applicable to the Team Foundation Service cloud offering such as ‘on demand’,’scalability’….

 

1. Login to https://tfs.visualstudio.com/ with your live id

2. Click on ‘Create a free account now’ hyperlink

image

3.Provide the Account URL information which will be used to connect to Team Foundation Service using Team Explorer using Visual Studio

image

4.You are done with creating your free Team Foundation Service account in the cloud and following is your Team Foundation Web Portal

image

5.Now lets connect to Team Foundation Service using Visual Studio. Go to Visual Studio, select Connect to Team Foundation Server from Team menu or from Team Explorer.

image

6. Click on ‘Servers’ button from the below window

image

7. Click on Add button which will open Add Team Foundation Server window, enter  the URL which you have created at step 3 and click on Ok button which will connect to Team Foundation Service on the cloud. ( for me its https://mycompany.visualstudio.com/)

image

8.First time user need to sign in with live id to connect with Team Foundation Service.

image

 

Now you are connected with Team Foundation Service.(I don’t want here to give user manual kind of details such as click on Ok button, use close button. The procedure to connect Team Foundation Service cloud offering is similar like TFS. I have skipped some of the screen shots to shorten this blog)

Saturday, March 2, 2013

Introduction to Team Foundation Service ( TFS build in the cloud!) Part 1

 

 

Team Foundation Service is a cloud offering of Team Foundation Server (TFS) by the Microsoft, now with the release of Team Foundation Service cloud offering, no need to worry about hosting and configuring your Team Foundation Server on your premises, it has all the capabilities which is provided by the TFS.

 

This is really great for the teams which are working on multiple geo locations. Earlier setting up TFS for multiple geo location was very tedious and very time consuming. Those who are working in big companies knows the pain which they need to go through to get the approvals for opening port, setting up the environment, explanation which they need to provide if they want to have more number of server etc. etc.

 

Since this is completely cloud offering, all characteristics of cloud computing are applicable to the Team Foundation Service cloud offering such as ‘on demand’,’scalability’….

 

1. Login to https://tfs.visualstudio.com/ with your live id

2. Click on ‘Create a free account now’ hyperlink

image

3.Provide the Account URL information which will be used to connect to Team Foundation Service using Team Explorer using Visual Studio

image

4.You are done with creating your free Team Foundation Service account in the cloud and following is your Team Foundation Web Portal

image

5.Now lets connect to Team Foundation Service using Visual Studio. Go to Visual Studio, select Connect to Team Foundation Server from Team menu or from Team Explorer.

image

6. Click on ‘Servers’ button from the below window

image

7. Click on Add button which will open Add Team Foundation Server window, enter  the URL which you have created at step 3 and click on Ok button which will connect to Team Foundation Service on the cloud. ( for me its https://mycompany.visualstudio.com/)

image

8.First time user need to sign in with live id to connect with Team Foundation Service.

image

 

Now you are connected with Team Foundation Service.(I don’t want here to give user manual kind of details such as click on Ok button, use close button. The procedure to connect Team Foundation Service cloud offering is similar like TFS. I have skipped some of the screen shots to shorten this blog)

Friday, March 1, 2013

A Little Look At Visual Studio 2012

 

 

 

Well, this is my first blog using Geegswithblogs and I want to share some new features of Visual Studio 2012 which is a great tool and comes with lots of new improvements on IDE. So lets me share some of the new features without spending more time.

 

Look And Feel

Look and feel has improved drastically when compared with its earlier version of Visual Studio 2010. You will feel some kind of freshness with this new IDE look and feel. Microsoft has even decided to change old emblem with new one to infuse new freshness into the IDE. Even icons such as “Save” , “Open File” , “New Project” etc. has been changed.

 visualstudioide

 

Application Round Tripping

Earlier when you open project in new version of Visual Studio , it used to convert project to the newer version with wizard option, and going back to older version was very challenging. Now with the release of Visual Studio 2012 , you can open Visual Studio 2010 project with Visual Studio 2012 and it wont covert it to  and whenever you want , you can switch back or open project with Visual Studio 2010 without any issues. This is called round tripping.  With this , one team can work on Visual Studio 2010 as well as on Visual Studio 2012.  One thing need to be noted here, only project from Visual Studio 2010 SP1 can be round tripped and projects targeting .Net 2.0 to 4.0  and Silverlight  4 to 5 can be round tripped.

Open Visual Studio 2010 project using Visual Studio 2012 and notice the Target Framework , which will be set to .Net Framework 4.0. This is possible because of Application Round Tripping functionality.

applicationroundtripping

 

Application Code Clones

When application grows, developers tends to copy existing codes from one module to another modules, which sometimes leads to bugs in the application, now with the help of Visual Studio Code Clone, you can find out the list of code clones.

Look at following screen shot, I have created one simple original class Employees with a single method GetListOfEmployees(), then I copied same code to create class Orders and Products, then with the help of code clones(select block of code which you want to search , right click and click on “Find Matching Clones in Solution”) I tried to search the list of code cones, which found 2 matches as shown in the screen shot.

 

 

image

You can compare two code snippets to check the modification made to the original code

image

HR Policy Helper using Gen AI

  Building an HR Policy Helper Chatbot with AWS Generative AI Services In today's fast-paced work environment, employees often struggle ...