17. (System.Collections.Concurrent)
public class ConcurrentBag<T> : IProducerConsumerCollection<T>,
IEnumerable<T>, ICollection, IEnumerable
// Represents a thread-safe, unordered collection of objects.
static void Main() {
// Construct and populate the ConcurrentBag
ConcurrentBag<string> cb = new ConcurrentBag<string>();
cb.Add("Alexopoulos");
cb.Add("Gianopoulos");
cb.Add("Michaelides");
// Consume the items in the bag
int item;
while (!cb.IsEmpty)
{ if (cb.TryTake(out item))
Console.WriteLine(item);
else
Console.WriteLine("TryTake failed for non-empty bag"); }
// Bag should be empty at this point
if (cb.TryPeek(out item))
Console.WriteLine("TryPeek succeeded for empty bag!"); }
18. (System.Collections.Generic)
public class Greek : Person{..} List<Greek>
greeks = new List<Greek>()
{ new Greek() { LastName = "Alexopoulos" },
new Greek () { LastName = "Gianopoulos" },
new Greek () { LastName = "Michaelides" },};
// IReadOnly
//List supports covariance
IReadOnlyList<Person>
people = greeks;Person first = people[0];
19.
20.
21.
22.
23.
24. Example notation:
Go to “Team Explorer” and then click the “Work Items”
hub, this will open the “Work Items” page. Then in the
Queries section, expand “Current Sprint” and open the
Test Cases Query
25. ITeamExplorerPage
Page – Plugin that provides a TE page.
ITeamExplorerSection
Section – Plugin that provides a section that extends a TE
page.
ITeamExplorerNavigationItem
Navigation items are plugins that take you to a primary
feature area page like My Work, Pending Changes, Work
Items, etc.
ITeamExplorerNavigationLink
Child links underneath an ITENavigationItem on the Home
page (ex: Request Code Review, SCE, New Query).
26. Remember the ~30 seconds of unresponsiveness when closing a large
solution in Visual Studio 2010 SP1
32. When coding HTML5, CSS styles show in IntelliSense
Images taken from http://www.hanselman.com/blog/VisualStudio2012RCIsReleasedTheBigWebRollup.aspx
33.
34.
35. Select DOM elements like
Firebug
Shows you the razor source
Shows you the HTML
output
68. Take to the cloud…
with the Windows Server 2012
Tweet
I want a ride in the
#WinServ Heli at
#auteched coz…..
Terms and Conditions available at all Information Desks
Notas del editor
TODO: Black and White
TODO: Turn this image into B&W
TODO (TIAGO): Add slides from email
Ctrl+E
TO DO (TIAGO): add transition: left img > right img > text
TO DO (TIAGO): add transition: left img > right img > text
TODO: Coffee picture
Show times in VS2010
Images from http://www.hanselman.com/blog/VisualStudio2012RCIsReleasedTheBigWebRollup.aspx
Images from http://www.hanselman.com/blog/VisualStudio2012RCIsReleasedTheBigWebRollup.aspx