ASSIGNMENT NO 2

28
ASSIGNMENT NO 2 SUBMITTED TO: SIR DANAYAL SUBMITTED FROM: MEMOONA RANA (1603 BSSE F11B) MEHREEN KANWAL (1647 BSSE F11B) QURAT-UL-AIN (1567 BSSE F11B) SUBJECT:

Transcript of ASSIGNMENT NO 2

ASSIGNMENT NO 2

SUBMITTED TO:

SIR DANAYAL

SUBMITTED FROM:

MEMOONA RANA(1603 BSSE F11B)

MEHREEN KANWAL(1647 BSSE F11B)

QURAT-UL-AIN(1567 BSSE F11B)

SUBJECT:

SOFTWAREDESIGN TECHNOLOGIES

DATE:

12 OCT, 2014

What is TFS?

Team Foundation Server (commonlyabbreviated to TFS) is a Microsoft productwhich provides source code management(either via Team Foundation VersionControl, reporting, requirementsmanagement, project management (for agilesoftware development and waterfall teams,automated builds, and lab management,testing and release managementcapabilities. It covers the entireApplication Lifecycle Management TFS can beused as a back end to numerous integrateddevelopment environments but is designed toprovide the most benefit by serving as the

back end to Microsoft Visual Studio orEclipse (on Windows and non-Windowsplatforms).

Team Foundation Server is available in twodifferent forms, On-Premises and On-Line(hosted by Microsoft. The latter one iscalled Visual Studio Online.

Team Foundation Service is a subset of alarger suite that is called Visual StudioOnline. The cloud service offers the mostrecent features compared to the On Premisesversion of TFS (and uses the same code withminor modifications) backed by Microsoft’scloud platform, Windows Azure. For VisualStudio Online, there is no setup required,simply log in using Microsoft Account(previously called Windows Live Account)and develop. The main differences at thispoint between the cloud and on premisesversions of TFS involve customization andextensibility. For example, in the on-premises version, organizations cancustomize the process templates (see belowfor an explanation of process templates)

but in the cloud they cannot. The LabManagement capability can be plugged intothe on premises version but there is no labmanagement capability for the cloud. Last,two components are not present on theCloud-based version: SQL Reporting / BI andthe SharePoint.

On the other hand, the cloud does have somecapabilities, simply because of the natureof the cloud that the on premises versiondoes not have. These include anautomatically scalable build farm (onpremises teams have to configure many buildservers whereas in the cloud the buildservers are simply available) and virtuallyinfinitely scalable load testing (again,the on premises TFS requires that each andevery machine is configured for scalabilitytesting). And finally, new features come tothe cloud every three weeks because of therapid development cycle and these featurestake longer to migrate to the on premisesversion as updates (approximately every 3months).

By default, communication between thecomputers in a deployment of TeamFoundation uses the protocols and portsshown in the following table. If anasterisk (*) follows the port number, youcan customize that port.

Which module it has?

Team Foundation Server architecture

To best plan and manage your deployment,you should first understand the underlyingarchitecture of Team Foundation Server(TFS). Understanding the architecture canhelp you maintain the overall health of thedeployment and help ensure the overallavailability of the servers and servicesyour development teams require.

You can deploy TFS in several ways: on oneserver; on many servers; or in one domainor workgroup or across domains.Alternatively, you might choose to useVisual Studio Online, where all the serverelements of your deployment are hosted foryou by Microsoft. Understanding thearchitecture can help you decide what

true

topology is most likely to meet yourbusiness needs. Regardless of your choiceof topology, if you understand thearchitecture underlying TFS, you can bettermanage the physical and logicalrequirements. This topic provides a simpleoverview of the various architectures, withlinks to more information about exampledeployments. It also provides technicalinformation about the services, databases,configuration information, and networkports and protocols of local deployments

Visual studio online

Microsoft offers the option of using VisualStudio Online, where all of the server-sideaspects of the deployment are hosted foryou. Your source code, work items, buildconfigurations, and team features are all

hosted in the cloud. From an architecturalpoint of view, this greatly simplifies yourdeployment, as the only aspects of thearchitecture you need to consider are theclient components and their Internetaccess.

When using the service, you use a webbrowser to connect to the service usingyour Microsoft account. You can create teamprojects, add members to your team, andwork as you would with a locally installeddeployment, without the overhead ofadministering the servers. Your applicationtier, data tier, and build servers arehosted for you in the cloud, using theMicrosoft Cloud platform and SQL ServerAzure

Object model:

With either the hosted or the locally-deployed architecture, you can extend thefeatures and functionality of TeamFoundation by writing an application thatis based on its server or client objectmodel. In all deployment types, you can

write applications that extend clientcapabilities. However, if you want toextend server capabilities, yourapplication must run on the application-tier server. To extend the clientcapabilities, you must run the applicationon the same computer as Team Explorer.

.

Similarly, the hosted service for TFS isconfigured to use specific network portsand protocols. The following illustration

shows network traffic in a hosteddeployment.

.

Collection-level service

Collection-level services provide thefunctionality for operations at the levelof the team project collection. You cancreate applications that extend TeamFoundation Server by using some of theseservices. For more information aboutcreating applications for TFS, seeExtending Team Foundation

TipSome services appear in more than onelevel. For example, the Registry servicefunctions at the collection level and theserver level, and appear in both lists.

Team FoundationFramework Services

o Registry serviceo Registrationservice (forcompatibilitywith earlierversions of TeamFoundationServer)

o Property Serviceo Event Serviceo Security serviceo Location serviceo IdentityManagementservice

Version Control Webservice

Work Item TrackingWeb service

Team FoundationBuild Web service

Lab Management Webservice

VMM AdministrationWeb service

Test AgentController Webservice

Server-level service

Server-level services (also known asapplication-level services) provide thefunctionality for operations for TeamFoundation Server as a softwareapplication. You can create applicationsthat extend Team Foundation Server by usingsome of these services. For moreinformation, see Extending Team Foundation

Team FoundationFramework Services

o Registry serviceo Event serviceo Team ProjectCollectionservice

o Property serviceo Security service

o Location serviceo IdentityManagementservice

o AdministrationService

o CollectionManagementService

The data tier includes data, storedprocedures, and other associated logic.When you use Visual Studio Online, the datatier is hosted for you using SQL ServerAzure. In a local deployment of TFS, thelogical data tier consists of the followingoperational stores within SQL Server. Thesestores might be located on one physicalserver or distributed across many servers.You can create applications that extendTeam Foundation Server by using some ofthese operational stores. For moreinformation, see Extending Team Foundation.

Configurationdatabase(TFS_Configuration)

Applicationwarehouse(TFS_Warehouse)

Analysis Servicesdatabase(TFS_Analysis)

Databases for teamproject collections(TFS_CollectionName)

The following table provides a list of thedatabases that Team Foundation Server usesin local deployments. Unless otherwisenoted, you can move all databases in thislist from the original server and instancewhere they are installed and restore themto another server or instance.

Network ports and protocol

By default, a local deployment of TFS isconfigured to use specific network portsand protocols. The following illustration

shows network traffic for Team FoundationServer in a simple deployment.

Similarly, the hosted service for TFS isconfigured to use specific network portsand protocols. The following illustrationshows network traffic in a hosteddeployment.

The following illustration shows networktraffic in a more complex deployment thatincludes the components for Visual StudioLab Management.

How the features of ALM are implemented inTFS?You can use Visual Studio ApplicationLifecycle Management (ALM) to manage yourproduct lifecycle, reduce risks, andimprove efficiencies. When you install orupgrade to Visual Studio Team FoundationServer 2013, you and your team can benefitfrom the new features and supported tasksoutlined in the following table.

For bug fixes and feature additionsprovided with the latest TFS updates

What’s new in version control

Use Git for version control(requires that you create aGit team project).

Get more work done in your webbrowser with enhanced versioncontrol features. Enhancementshave been made to thenavigation; viewing code,changesets, shelvesets,annotations, and history; andadministering permissions.

Create or reply to comments onchangesets or commits usingthe web-based Version ControlExplorer. This allows you toengage in conversations withyour teammates about sourcecode changes. Comments can beadded to changesets andshelveset or Git commits.

Undock ( ) the Pending

Changes, Changeset Details,and Shelveset Details pagesfrom Team Explorer and openthem in new windows.

What’s new in Agile tools, teamcollaboration, and planning andtracking projects

Manage project portfolios tounderstand the scope of workacross several teams and seehow that work rolls up intobroader initiatives. You candefine a hierarchy of up to 5portfolio backlogs. Forinformation, see the MSDNwhite paper: Agile PortfolioManagement: Using TFS tosupport backlogs acrossmultiple teams.

Visualize progress by chartingthe results of flat-listqueries. You can createseveral types of charts—suchas pie, bar, column, orstacked column—for the same

query. Use team rooms to discuss workin progress, ask questions,share status, and clarifyissues that arise in realtime.

Create team projects that useGit for the version controlsystem.

New Connect page supportsquickly switching context toother team projects using TeamExplorer.

Team Explorer now lists thesolutions in your workspace.You can now select thesolutions you want to work onand switch between themeasily.

Go here to learn about changesmade to team projects and defaultprocess templates during a TFSupgrade.

What’s new in Team Foundationbuild

Build code using Git (requiresthat you create a Git teamproject).

Organize build output filesinto the same folder structurethat is used by Visual Studioon your dev machine.

Run batch and PowerShellscripts before and aftercompilation, and before andafter your tests run.

Drop build outputs into TFSfrom Visual Studio Online oron-premises servers.

Diagnostic logs are nowavailable for all builds.

Undock ( ) the Builds pagefrom Team Explorer and view itin its own window.

Simplifications have beenintroduced in defining builds,in the build templates, andbuilding and testing a Windows

Store app. Default templatesare stored on TFS instead ofin version control.

Set up your builds fordeployment so that you canfind the matching deployedcode while you're debugging.See Set up your release tofind and debug deploymentproblems

What’s new in architecture,modeling, and design

Map relationships in the codeby creating code maps from thecode editor. See Mapdependencies in specific codeusing code maps in VisualStudio

Visualize the call stack whiledebugging by creating codemaps from the code window orcall stack window.

Navigate around your codevisually with code maps.

Code maps appear next to thecode editor so you can easilysee your place in the codewhile you work.

What’s new in developer qualityand diagnostic tools

Find information about yourcode without leaving theeditor when you use CodeLensin Visual Studio Ultimate. Forexample, you can findreferences, linked TeamFoundation Server (TFS) items,and unit tests—all in the samecontext as your code. See Gethistory and other info aboutyour code

Visualize the call stack whiledebugging by creating codemaps from the code window orcall stack window. See Mapmethods on the call stackwhile debugging in VisualStudio

Diagnose ASP.NET web apps in

deployment

Monitor ASP.NET web appslocally for exception andperformance events withMicrosoft Monitoring Agent,either alone or with SystemCenter 2012. You can recordthese events to anIntelliTrace log so that youcan investigate these problemsfurther in Visual StudioUltimate and go to thedeployed code when you startdebugging from specificevents. See Set up yourrelease to find and debugdeployment problems and What'sNew for System Center 2012 R2Operations Manager.

Diagnose SharePoint 2010 andSharePoint 2013 applicationsin deployment

Record diagnostic events fromSharePoint 2010 and SharePoint

2013 applications withMicrosoft Monitoring Agent.You can save user profileevents, Unified Logging System(ULS) events, and IntelliTraceevents to an IntelliTrace logso that you can investigatethese problems further inVisual Studio Ultimate andstart debugging from specificevents with IntelliTrace. SeeSet up your release to findand debug deployment problemsand Debug Your App withIntelliTrace Log (.iTrace)Files.

What’s new in testing

Cloud-based load testing setsup virtual machines for yourload tests so that you don’thave to use your time orresources to do this.

Lightweight browser-based testmanagement and execution helpyou improve quality in

software projects.o Test plan creation.o Full test suite management.o Full test case authoringincluding shared steps andParameters support.

o Execution of test cases,including inline editingcapabilities duringexecution.

Unit test Windows Store appsand run Windows Store unittests in Team Build.

Coded UI testing now supportsWindows Store apps using XAMLand Internet Explorer 11 with100% zoom.

Test Windows Store appsrunning on a remote deviceusing manual tests orexploratory test sessions.

Install and configure agentsmore easily for Lab Managementfor Visual Studio 2012.

Include SCVMM 2012 andclustered Hyper-V hosts in Lab

Management for Visual Studio2012.

To get started, see Plan ManualTests using Team Web Access.What’s new in deployment

Improve the process of managingthe release of your app. Deployyour app to a specific environmentfor each separate stage. Managethe steps in the process withapprovals for each step.

To get started, see Automatedeployments with ReleaseManagement.What’s new in TFS installation andadministration

TFS ships with SharePointFoundation 2013.

TFS supports the next wave ofMicrosoft server products,including Windows Server andSQL Server.

Schedule automatic backup and