Sunday, December 23, 2012

LIMITATIONS IN TFS 2010


LIMITATIONS IN TFS 2010


There are several limitation exist in TFS 2010 that may affect your team project after is it being created. Let’s examine each of these limitations.

Limitation #1: Renaming Team Project Limitation
            TFS 2010 does not allow you to change team project name after project is created. It is very important to settle on your project name and getting all of the approvals for this name before creating a project in Team Foundation Server. This limitation of changing names does not apply to team project collection however.

Limitation #2: Moving Work Items
            it is impossible to move work items between Team Project due mainly for difference in Team Project templates. For instance, QA team logs a defect into TFS for one of the project but upon reviewing by developers it turns out that this defect applies to a different team with its own team project. It needs to be moved to the other TFS team project space. There is a way to accommodate this by creating a large team project and setting up smaller applications as Area Paths. This way movement of work items can be accomplished without too much trouble.

Limitation #3: Merging and Branching Visualization is not allowed across Team Projects
            It is not a common practice to Brach and Merge your code between team projects and TFS 2010 comes with the limitation when visualization of these changes is not even possible.

Limitation #4: Reporting applies to Team Project only and artifacts are scoped to Team Project
            All of the TFS Reporting capabilities including Dashboard are scoped to Team Project only. If you need to create a report across Team project it may become a challenge. You can however report on project across Area Paths and Iteration Paths. It can also be a consideration for the type of a Team Project you want to create in a first place. In addition, all of the TFS 2010 team project artifacts are scoped to this team project only. This is done primarily to preserve all of the artifact’s linkages within your Team Project. On the other hand, you can create a report that goes against Data Warehouse since it contains information across all Team Projects and Team Project Collections.

Limitation #5: You cannot move Team Projects between Team Projects Collections
            it is not possible to move Team Projects due to conflicts of IDs that each Team Project has. This ID is important for artifacts linkages within TFS 2010. The only possible way to split up a project into is by cloning Team Project Collection and cleaning up each individual Team Project from unwanted artifacts.

Limitation #6: Physical Limitation of your TFS instance
            TFS 2010 has several limitations that may affect the way you design and build your Team Project and Team Project Collections. For example, TFS 2010 can only support up to 100 Team Project Collections and up to 500 team projects.

Limitation #7: TFS Work Item Attachment Size Limit
            Work Item has 4 Mb size limit on attachments by default. However, we can increase this size limit by setting this limit up to 2 gigabytes. In order to do that, we need to use web services that Team Foundation Server provides.
In order to set this limit you have to be a member of the Administrators group on the Application Tier which is a requirement.
Maximum size as it was mentioned is being set using Web Services and you need to access Web Services using your browser and by typing Server Name and WorkItemTracking directory.
http://SERVER:8080/WorkItemTracking/v1.0/ConfigurationSettingsService.asmx?op=SetMaxAttachmentSize
In the maxSize text box you need to enter desired attachment size in bytes and then Invoke it.

ROLE BASED TASK FOR TFS 2010


ROLE BASED TASK FOR TFS 2010

When a team gets started with Visual Studio Application Lifecycle Management (ALM), the Administrator sets up the server, the Project Manager creates a Team Project, and the other Team Members set up their working environments.

Software Development Roles:
1.       Administrator for Team Foundation Server
2.       Project Managers
3.       Source control & build Managers
4.       Individual Team Members

1.      Task for the Administrator of Team Foundation
a.      Install Team Foundation Server by using basic configuration. (TFS 2010 + SP1)
b.      Will be authorised & granted all the required permissions for Project creation during installation of Team Foundation Server.
c.       Need to grant additional users the permissions that they need to act as administrators, project administrators, and other roles.
d.      Maintenance plan that will help ensure your data is backed up in case of a hardware failure or other event.
e.      If your Team will use Visual Studio Lab Management, install Microsoft System Centre Virtual Machine Manager > Configure Lab Management > Create your Virtual Environments.
f.        If your Team will Deploy builds & Run Tests remotely, install Test Controllers & Test Agents on physical or virtual machines.
g.      Install Team Foundation Build by using basic configuration.

2.      Task for the Project Manager
a.      Install the client or clients of Team Foundation i.e. Visual Studio 2010.
b.      Determine your Project Resource Requirements & the Project Collection in which you will create a Team Project.
c.       Choose a Process Template.
d.      Define the Product Areas & Milestones for your Team Project. (Optional)
e.      Grant Team Members the Permissions that need to work in Team Project.
f.        Grant Additional Permissions to specific Team Members (Optional)
Provide additional permissions to team members who will be responsible for managing the source code under TFS Version Control, Managing Builds, Managing Tests & the lab management for Testing, & other project level activities.

1.      Build-level Permissions.
2.      Project-level Permissions.
3.      Area & Iteration-level permissions for work item tracking.
4.      Version Control Permissions.
5.      Lab Management Permissions.
g.      Grant Report authors additional permissions (Optional)
To create or modify reports that access data that is stored in the data warehouse, team members must have read access to the database that makes up the data warehouse.
h.      Notify team members of team project resources and enrolment activities.
i.        Plan your Product.

3.      Task for the Version Control & Build Managers
1.      Configure Version Control.
2.      If using Team Foundation Build, create build definitions for each of your team projects.

4.      Task for Individual Team Members
1.      Install the client or clients of Team Foundation i.e. Visual Studio.
2.      Set up your Workspace for Version Control.
3.      Create, modify & finding tasks & other work Items.

Team Project
Reporting Services
·         Readers   Members of this group can view the project but cannot modify it.
·         Contributors   Members of this group can contribute to the project in multiple ways, such as adding, modifying, and deleting code, and creating and modifying work items.
·         Builders   Members of this group have build permissions for the project. Members can manage test environments, create test runs, and manage builds.
·         Project Administrators   Members of this group can administer all aspects of the team project, although they cannot create projects.
·         Browser   Members of this group can view but cannot modify reports.
·         TFS Content Manager   Members of this group can administer all aspects of the team project, but they cannot create projects.




Team members in these groups or with the assigned permissions
Can access these team project artifacts
Team Foundation Server: Readers, Contributors, or Project Administrators
Work items, work item queries, and source code
Team Foundation Server: Builders
Test environments, test runs, and builds
SharePoint Products: View Only, Read, Contribute, Design, and Full Control
Project portal, dashboards, Office Excel reports, and workbooks
SQL Server Reporting Services: Browser or TFS Content Manager
Reports from SQL Server Report Designer

APPLICATION LIFECYCLE MANAGEMENT FEATURES IN VS 2010


APPLICATION LIFECYCLE MANAGEMENT FEATURES IN VS 2010

Features
Professional
Premium
Ultimate
Architecture and Modeling



Diagrams that comply with Unified Modeling Language (UML) 2.1.2: sequence, class, component, activity, and use case
No
Read-only
Yes
Layer diagrams
No
Read-only
Yes
Code-generated sequence diagrams and dependency graphs
No
Read-only
Yes
Architecture Explorer
No
No
Yes
Architectural validation
No
Yes
Yes
Integration with work items in Microsoft Visual Studio Team Foundation Server
No
Yes
Yes
Extensibility for UML diagrams
No
Read-only
Yes
Diagnostic Tools



IntelliTrace
No
No
Yes
Static code analysis
No
Yes
Yes
Code metrics
No
Yes
Yes
Performance profiling
No
Yes
Yes
Schema comparison
No
Yes
Yes
Database Development



Database projects
Yes
Yes
Yes
Generation of test data
Yes: can run but not create plans for generating data
Yes
Yes
Database change management
No
Yes
Yes
Unit testing for database objects
No
Yes
Yes
Testing Tools



Web performance testing
No
No
Yes
Load testing
No
No
Yes
Unit testing
Yes
Yes
Yes
Coded UI testing
No
Yes
Yes
Microsoft Test Manager
No
No
Yes
Virtualization for ALM
Create and manage virtual environments
No
No
Yes with MSDN
Visual Studio Team Foundation Server 2010
Yes: available only for Visual Studio Professional with MSDN
Yes
Yes
Version Control
Yes
Yes
Yes
Build
Yes
Yes
Yes
Project Management
Yes
Yes
Yes
Integrated Reporting and Dashboards
Yes
Yes
Yes