[#EVENT] 4 hrs of VS sessions for the launch of Visual Studio 2012

image

Buenas,

This is already taking shape. A few days ago I commented that we were organizing an event for the launch of Visual Studio 2012. As well, we already have more mature theme and eye that there are interesting facts

  • The date is set: Tuesday, October 23, from 15: 00 to 19: 00.
  • The format will change. On this occasion we will do a Marathon with 4 hours of news, with30 minute sessions you hold together, where we will see a bit of development for Windows 8, ALM, asynchronous programming, testing, etc. We are going to a little of everything.
  • The friends of SecondNug will help us with the broadcast the event live, so if you can not attend, then see it via streaming. And if you can not see via streaming because you download the recordings to the next day
  • The penalty is that if you can not attend, as will you lose a little of the networking we have prepared. We are not us we sit 4 hrs in front of a few geeks talking about Visual Studio, there will be catering for something to eat, have a good time and desvirtualizar more than one.Obviously as we know that Pozuelo is complicated, the place will be one with better access in Madrid (as we will confirm the place)
  • Finally, and to close the event, we will have a direct connection with Redmond where one of the cracks of MS help us close the event ;)

In a short time we will update agenda session and place… but if you join the date already you have an afternoon to have fun…

Many thanks to all those who are working and see you soon.

PS: I will make an effort to bring my Kinect my robotitos and more heavy artillery Risa

Saludos @ Home

El Bruno

image image image

[#TFS2012] Suspending work from MyWork (III)

image

Buenas,

after seeing the way of use the My Work to manage active tasks I have assigned section , today we will see another interesting feature in this section: the ability to suspend a trabajo´ environment / debug / build and then recover the same.

Let’s look at an example. Suppose that I am working with an application of console with the following code:

   1: using System;
   2: using System.Diagnostics;
   3:  
   4: namespace ConsoleApplication1
   5: {
   6:     class Program
   7:     {
   8:         static void Main(string[] args)
   9:         {
  10:             var l = new ConsoleLogger();
  11:             l.Log("foo");
  12:             Console.ReadLine();
  13:         }
  14:     }
  15:  
  16:     interface ILogger
  17:     {
  18:         void Log(string data);
  19:     }
  20:  
  21:     class DebugLogger : ILogger
  22:     {
  23:         public void Log(string data)
  24:         {
  25:             Debug.WriteLine(data);
  26:         }
  27:     }
  28:     class ConsoleLogger : ILogger
  29:     {
  30:         public void Log(string data)
  31:         {
  32:             Console.WriteLine(data);
  33:         }
  34:     }
  35: }

It is not very complicated, but it deserves a bit of attention to some improvements. As well, as I decided to see what it does internally this app, because I put a couple of breakpoints in the IDE, marks on the value of a variable; I assigned my active work in the My Workpanel, etc. At the time of debugging I have the IDE in this State:

image

But just at this moment, my boss calls me and tells me that I must review urgent implementation of Kinect that does not work as it should. Because here the new functionality of Suspend help us much,

In the pane Team Explorer, in the My Work section, select the Suspend option and define a title to describe the State where I leave my job (only at identifying level, not worth to put “…”).

image

At the time of commit these changes, the IDE creates a shelveset with all elements that had been working and also holds the configuration of the IDE with breakpoints, variables, etc. Now I can open another project (or even the same!) and make the changes you need. The interesting thing is the back at this point.

When we want to return to the point where we leave everything, we can see a list of items in “Suspended Work” in the My Work section. In it we also see associated WorkItems

image

If we want to see changes that are associated with this element of the Suspend type, then click on “View Changes” and see the following:

image

In this case it is a ShelveSet that has associated WorkItems and files of code that was changed.

In the My Work section I select “Resume” and it will return to leave the IDE in the moment in which we create the point of suspend, with marks of debugging, watch, associated workitems, etc.

Saludos @ La Finca

El Bruno

image image image

 

[#TFS2012] Working with my tasks with My Work (II)

image

Buenas,

A couple of days ago I wrote a post where commented as we have the list of work items in progress at the time of a CheckIn with our changes.

Inside the panel Team Explorer there is a view that is designed to make it easier this action “My Work“. Suppose that we are working on a project, where in the work pane there are 2 active tasks assigned to my.

image

If I have some pending changes to upload a Source Control, I can see in the My Work section, something similar to the image below

image

The same I see I have 2 sore tasks that I can work. In this case ideally do Drag & Drop of the task or tasks on which I am working to “In Progress Work” section, and in this way, because they would be associated. Another option is to select a task, display the shortcut menu and select the option “Add to In Progress“.

image

In both cases, the selected item appears in the section “Work In Progress” and is already associated with the elements at the time of the CheckIn.

image

If we click on “View Changes” or change to “Pending Changes” section you will see the following:

image

My Work has other capabilities interesting as able to “suspend” and “resume” the working environment active, to request a code review, etc.. That for the next post.

Saludos @ Home

El Bruno

image image image

[#VS2012] Download trials of Visual Studio 2012 and Team Foundation Server 2012

image

Buenas,

after the post where commented on the ISO to have a 90-day trial of Windows 8 , today as I’m putting together my test/demo environment I have to point the links to download the trial of Visual Studio 2012 and Team Foundation Server 2012.

To difference of Windows 8 , where once past the 90 days can not continue to use the OS, or activate it; these installers are officers and if we have a key can activate products and use them without problem.

Saludos @ Barcelona

El Bruno

image image image

[#WINDOWS8] 90-Day trials to test Windows 8

image

Buenas,

Although I have multiple MSDN subscriptions (Avanade, MVP, etc.), and in each one of them have multiple licenses for development of Windows 8 , when I have to prepare environments use and pull the best is to download the 90-day evaluation version from here .

In this case it is the version Windows 8 Enterprise, with what most of the features are there to test.And that Yes, within 90, self-destruction! !!!

Download: http://TechNet.Microsoft.com/en-us/evalcenter/hh699156.aspx?ocid=WC-TN-WCTC

 

Saludos @ Home

El Bruno

image image image

e

[# VS2012] Tip to always have your work in progress really close when you have to checkin (I)

image

Buenas,

one of the major advantages and disadvantages of Team Foundation Server is the ability we associate our changes in the source code with work items that give life to a project. It is an advantage because it allows us to have transparency in the real state of a project, and is a disadvantage because when you have many work items, because until now it was not easy to get that this defining your work.

Well, one of the interesting new features in Visual Studio 2012 and Team Foundation Server 2012 is the ability to have a query of WorkItems to be able to associate them with our changes. By default when we see the Queries item in the section “Related WorkItems”, we see that it is empty.

image

In order to have a query by hand at that point, we should mark it as a favorite. This we do it from the “Work Items” section and selected a query, deploy the shortcut menu and select the option “Add to My Favorites”. In this case, the query that I recommend to select is “Work In Progress”… your name now says you it all.

image

At this time if we go back to the section of the pending changes, we can see that we have this query by hand, to associate our WorkItems.

image

The best thing for tomorrow, with the “My Work” section

Saludos @ Home

El Bruno

image image image

[#VS2012] Trial Virtual Machines to test Visual Studio 2012 trial and Team Foundation Server 2012

image

Buenas,

one more time we have available virtual machines with Visual Studio 2012 and Team Foundation Server 2012 available for download with all active features to test time. You can read the full detail of the download here: http://blogs.msdn.com/b/briankel/archive/2011/09/16/visual-studio-11-application-lifecycle-management-virtual-machine-and-hands-on-labs-demo-scripts.aspx

Source: http://blogs.msdn.com/b/briankel/archive/2012/08/24/updated-Visual-Studio-2012-RTM-Alm-virtual-machine-and-hands-on-Labs-demo-scripts.aspx

Saludos @ La Finca

El Bruno

image image image

[#TFS] Separate installer for the client of Team Foundation Server object model 2010 SP1

image

Buenas,

today I came across a question of those that leave me with a little crooked mouth. It is that an acquaintance that is developing extensions for TFS with the SDK (and in Java part!) I was wondering if it was really necessary to install Visual Studio 2010 or Team Explorer.

The truth is that the first answer that came to mind was a Yes, but then I remembered that there’s this package and it is exactly for this scenario

Team Foundation Server 2010 SP1 Object Model Installer

Download: http://visualstudiogallery.msdn.Microsoft.com/a37e19fb-3052-4fc9-bef7-4a4682069a75

Although, of course, you still need a CAL to connect you, although it does not validate.

Saludos @ La Finca

El Bruno

image image image

[# NUGET] Teaching some NuGet to Valentino (he is only 4 years old!)

NuGet

Buenas,

this post is that I learn once and for all what is the Karma . Yesterday I I’m complaining a littleabout NuGet and today I already have explain what NuGet. As well, introductions to NuGet can be read here and hereIf you’re a webcast you can see this video. and Yes what happy life is read electronic books of paper, you can buy this Book: Pro NuGet .

If you still want the explanation of Bruno, the first thing that you have to understand is thatNuGet is not a Nugget, i.e. it is not this:

image

Well, if you’ve worked in Visual Studio you know that the subject of references in .net projects may be a little tricky. Personally I think that the thing until Visual Studio 2005 was very controladita; 99% of the items with which we were working were Ms, so there were no problems in searching for and adding items; But today with many elements that grow around VS at a very fast pace, since the subject of the references can be complicated.

Let’s look at an example; you if today you have to add the Entity Framework 5 references to your project, do know what?, and if you also want to work with a TT that allows you to create classes you little, do the references Add?. And if on top of all this, do you want to add a client for ASP.Net MVC WebAPI?, and deserialize JSON packages?

As well, NuGet is a repository of packages where for each product / scenario which they commented before, has a record of the required references. The repository (actually called Gallery) is in http://nuget.org, and is the site where you can download and install the packages you need.

Note: you can even create your own packages as explained here .

Let’s look at an example. Suppose I have a clean console application project. After the project is created it has only the Program.cs class and references are added by default.

image

If I need from this console application invoking JSON services created in an ASP.Net MVC WebAPI project, because the truth is o well I learn all assemblies that I need or am looking for something in the repository of NuGet . Deploying the shortcut menu from the folder references, select the option “Manage NuGet Packages”

image

In the form of packages of NuGet , select the option “OnLine” and look for “Microsoft.AspNet.WebApi.Client”. I can see that the first option are assemblies that I need.

image

As well, now to give the “Install” and see that it has happened in our project.

image

On the one hand, I see that you have added a couple of new references:

  • Newtonsoft.JSON
  • System.NET.http
  • System.NET.http.formatting
  • System.NET.http.WebRequest

and also added me the file “packages.config“. When you open the same content we can see that you have the following:

   1: <?xml version="1.0" encoding="utf-8"?>
   2: <packages>
   3:   <package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" 
   4:            targetFramework="net40" />
   5:   <package id="Microsoft.Net.Http" version="2.0.20710.0" 
   6:            targetFramework="net40" />
   7:   <package id="Newtonsoft.Json" version="4.5.8" 
   8:            targetFramework="net40" />
   9: </packages>

This file is determines which packets that our project is “installed” and then from the same references that you have downloaded and added to our project.

Speaking of references, some which have existential questions ask from where sorcho is taking these dlls?. Look, this is what we have in the project file:

   1: <ItemGroup>
   2:   <Reference Include="Newtonsoft.Json">
   3:     <HintPath>..\packages\Newtonsoft.Json.4.5.8\lib\net40\Newtonsoft.Json.dll</HintPath>
   4:   </Reference>
   5:   <Reference Include="System" />
   6:   <Reference Include="System.Core" />
   7:   <Reference Include="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
   8:     <HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
   9:   </Reference>
  10:   <Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  11:     <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll</HintPath>
  12:   </Reference>
  13:   <Reference Include="System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  14:     <HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
  15:   </Reference>
  16:   <Reference Include="System.Xml.Linq" />
  17:   <Reference Include="System.Data.DataSetExtensions" />
  18:   <Reference Include="Microsoft.CSharp" />
  19:   <Reference Include="System.Data" />
  20:   <Reference Include="System.Xml" />
  21: </ItemGroup>

Seems that the NuGet this has created a folder packages, a level above our project and it has downloaded all the necessary dlls. File Explorer gives us the reason.

image

Well, here already one there will be elucidated the advantages of NuGet . The main, well that with only 2 clicks have everything you need to work. There are other more complex and simple packages. There are other scenarios where for example, you need to make sure that all assemblies of a solution have the same reference to an Assembly. In this case NuGet is a fantastic help.

You can also choose to upload the Packages folder to the source code repository, and you ahorrarías some problems if the server is down for NuGet . You can create your own server package, if you work in a closed environment where your build server not accessible tohttp://nuget.org, etc etc etc.

There are many scenarios, and NuGet is one of the tools that deserve a round of applause as a closed solution to save us hours of organization and cleaning projects references Risa

Saludos @ Home

El Bruno

image image image

[#NUGET] Performance problems, of course :S

image

Buenas,

NuGet works for the ass, so simple. Care me not misunderstood, the idea behind NuGet is awesome, and although still a long way to have something similar to MAVEN the world. Net, to manage packages with NuGet is awesome.

The problem is that during all August NuGet works for the ass. Searches and downloads are slow, often have timeouts, and not to mention the Build Servers where builds fails for this reason and of course, throws us the quality away. Today suffered it with Roberto and Edgar to this problem and the truth is that one is tempted to grab a chainsaw and spending a few years in prison…

A couple of weeks/months ago I published a post where explained storing the packages of NuGet in the source code repository Some people like Unai and asked me why. Well, August is the answer… and I think I will configure this same for 2012 Visual Studio and TFS Preview.

The best for the end, according to this post , the performance issue is on track to be solved.. .and it seems that behind it all some problems of tune of BD. Already sent them to @ PabloDoval so give them a hand and leave fine fine…

Source: http://blogs.msdn.com/b/webdev/archive/2012/08/22/nuget-Gallery-performance-issues.aspx

Saludos @ Home

El Bruno

image image image