Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Figure 1

Default page for Fabrikam Fiber intranet website

1. Imagine a scenario where the Release1 branch represents the code that is currently running on
the production web server. Management has decided that the non-functional links under the
profile section on the left side of the page should be removed as soon as possible. We have
decided to “fast track” this change by making the update directly to the Release1 branch. Later,
you will see how we can merge this change back to the Dev branch so that it becomes a part of
the changes we’re working on for the next release.
Figure 2
Location of non-functional links to be removed

2. Close the Internet Explorer window and return to Visual Studio.


3. Our first task is to update the Release1 branch and deploy the changes to the production web
server. From Solution Explorer, open _Profile.cshtml from the FabrikamFiber.Web | Views |
Shared folder under the release1 branch.
4. Comment out the My tickets link through the Schedule link as shown below.

Figure 3
Modified markup page

5. Press Ctrl+F5 to launch the website and verify that the non-functional links are no longer
displayed. For the purposes of this demonstration, assume that at this point we have
successfully deployed the updated change to the production server.
6. Close the Internet Explorer window and return to Visual Studio.
7. Navigate to Team Explorer – Pending Changes.
8. In the Comment field, enter “removed non-functional links from profile”, verify only
_Profile.cshtml is changed, and select the Check In button. Select Yes if prompted to confirm
check-in.

You might also like