<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Daniel Oliveira - Visual Studio, ALM, TFS...</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dfaoliveira/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/feed.xml</link>
    <description>Blog sobre Visual Studio, Application Lifecycle Management, Agile e outras coisas</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:07:00 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Presentation–Making Things Happen</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/presentationmaking-things-happen</link>
      <pubDate>Sat, 30 Mar 2013 09:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2013/03/30/presentationmaking-things-happen/</guid>
      <description><![CDATA[I’ve just watched a great presentation from Scott Berkun based on his book Making Things Happen.  It...]]></description>
      <content:encoded><![CDATA[<p>I’ve just watched a great presentation from Scott Berkun based on his book Making Things Happen.</p>  <p>It is published on Microsoft Research and I highly encourage anyone involved in software projects to watch.    <br />URL: <a title="https://research.microsoft.com/apps/video/default.aspx?id=103754&amp;l=i" href="https://research.microsoft.com/apps/video/default.aspx?id=103754&amp;l=i">https://research.microsoft.com/apps/video/default.aspx?id=103754&amp;l=i</a>&#160;</p>  <p>Below my notes about the presentation (good luck to understand my hand-writing <img class="wlEmoticon wlEmoticon-smile" alt="Alegre" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/3857.wlEmoticon-smile_0B0ED2A9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/3857.wlEmoticon_2D00_smile_5F00_0B0ED2A9.png" /> ).</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/4540.WP_000795_1155A937.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/4540.WP_5F00_000795_5F00_1155A937.jpg"><img title="WP_000795" style="display: inline; background-image: none;" border="0" alt="WP_000795" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/7266.WP_000795_thumb_455A22BD.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/7266.WP_5F00_000795_5F00_thumb_5F00_455A22BD.jpg" width="487" height="648" />&#160;</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Deploy de Aplicações Web no Visual Studio 2012</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/deploy-de-aplicaes-web-no-visual-studio-2012</link>
      <pubDate>Tue, 26 Feb 2013 12:42:43 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2013/02/26/deploy-de-aplicaes-web-no-visual-studio-2012/</guid>
      <description><![CDATA[Eu escrevi um post para o blog do Visual Studio Brasil. O assunto &eacute; deploy de...]]></description>
      <content:encoded><![CDATA[<p>Eu escrevi um post para o blog do Visual Studio Brasil. O assunto &eacute; deploy de aplica&ccedil;&otilde;es Web com os novos Publishing Profiles que no Visual Studio 2012 s&atilde;o armazenados em arquivos XML.</p>
<p>A URL para o post &eacute;: <a href="https://blogs.msdn.com/b/visualstudiobr/archive/2013/02/14/dicas-dos-pfes-deploy-de-aplica-231-245-es-web-com-visual-studio-e-team-foundation-server-2012.aspx">https://blogs.msdn.com/b/visualstudiobr/archive/2013/02/14/dicas-dos-pfes-deploy-de-aplica-231-245-es-web-com-visual-studio-e-team-foundation-server-2012.aspx</a></p>
<p>Daniel</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2012 Demo Setup</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/tfs-2012-demo-setup</link>
      <pubDate>Tue, 13 Nov 2012 15:02:49 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/11/13/tfs-2012-demo-setup/</guid>
      <description><![CDATA[Anyone that ever needed to do some presentation about TFS knows what is like not to have the correct...]]></description>
      <content:encoded><![CDATA[<p>Anyone that ever needed to do some presentation about TFS knows what is like not to have the correct data to show the reports, dashboards and so on.</p>  <p>I’ve just found out this great Project called TFS 2012 Demo Setup created by the MVP <a href="https://geekswithblogs.net/TarunArora/" target="_blank">Tarun Arora</a>.</p>  <p>With the tool you can populate your TFS Server/Service with data for your demonstrations. Check more info at: <a title="https://tfsdemosetup.codeplex.com/" href="https://tfsdemosetup.codeplex.com/">https://tfsdemosetup.codeplex.com/</a>.</p>  <p>Daniel</p>]]></content:encoded>
    </item>
    <item>
      <title>Certifications for Team Foundation Server 2012</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/certifications-for-team-foundation-server-2012</link>
      <pubDate>Sun, 11 Nov 2012 05:53:29 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/11/11/certifications-for-team-foundation-server-2012/</guid>
      <description><![CDATA[Great News!!! The new certification for Visual Studio and TFS 2012 are available.  Now we have three...]]></description>
      <content:encoded><![CDATA[<p>Great News!!! The new certification for Visual Studio and TFS 2012 are available.</p>  <p>Now we have three certifications for ALM. That is really great, because now, besides the Administration Certification we have two more. The complete list is:</p>  <ul>   <li><a href="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-498" target="_blank"><strong>Delivering Continuous Value with Visual Studio 2012 Application Lifecycle Management</strong></a> (<a title="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-498" href="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-498">https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-498</a>)</li>    <li>&#160;<strong><a href="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-497" target="_blank"><strong>Software Testing with Visual Studio 2012</strong></a> (<a title="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-497" href="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-497">https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-497</a>)</strong></li>    <li><strong><a href="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-496" target="_blank"><strong>Administering Visual Studio Team Foundation Server 2012</strong></a> (<a title="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-496" href="https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-496">https://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-496</a>)</strong></li> </ul>  <p>Regarding material to study we have two books already published, and one on the way:</p>  <p>Published:</p>  <table cellspacing="0" cellpadding="2" width="400" border="0"><tbody>     <tr>       <td valign="top" width="200"><a href="https://www.amazon.com/Professional-Application-Lifecycle-Management-Visual/dp/1118314085/ref=sr_1_5?ie=UTF8&amp;qid=1352641658&amp;sr=8-5&amp;keywords=visual+studio+2012" target="_blank"><img src="https://ecx.images-amazon.com/images/I/51fpyMhce9L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA300_SH20_OU01_.jpg" width="227" height="227" /></a></td>        <td valign="top" width="200"><a href="https://www.amazon.com/Visual-Studio-Team-Foundation-Server/dp/0321864875/ref=pd_sim_b_1" target="_blank"><img src="https://ecx.images-amazon.com/images/I/51dK8xV48PL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA300_SH20_OU01_.jpg" width="227" height="227" /></a></td>     </tr>   </tbody></table>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p>  <p>To be published soon: </p>  <p><a href="https://www.amazon.com/Professional-Team-Foundation-Server-2012/dp/1118314093/ref=bxgy_cc_b_img_b" target="_blank"><img src="https://ecx.images-amazon.com/images/I/51qEHMtBgCL._SL500_AA300_.jpg" width="190" height="190" /></a></p>  <p>Off course, we also have our great friend MSDN. The documentation for the 2012 suite is better than ever – <a href="https://msdn.microsoft.com/en-us/library/fda2bad5.aspx" target="_blank">Application Lifecycle Management with Visual Studio and Team Foundation Server 2012</a>: <a title="https://msdn.microsoft.com/en-us/library/fda2bad5.aspx" href="https://msdn.microsoft.com/en-us/library/fda2bad5.aspx">https://msdn.microsoft.com/en-us/library/fda2bad5.aspx</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>My First International Presentation–Continuous Deployment with TFS 2012</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/my-first-international-presentationcontinuous-deployment-with-tfs-2012</link>
      <pubDate>Mon, 30 Jul 2012 09:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/07/30/my-first-international-presentationcontinuous-deployment-with-tfs-2012/</guid>
      <description><![CDATA[It&rsquo;s been a month since I wrote the last post in this blog. It was really a busy month.
I had...]]></description>
      <content:encoded><![CDATA[<p>It&rsquo;s been a month since I wrote the last post in this blog. It was really a busy month.</p>
<p>I had the opportunity to deliver a presentation in the U.S.</p>
<p>My speak was about Continuous Deployment with Team Foundation Server 2012. Not the Azure deployment though. It was about automation to on-premises environments.</p>
<p>It was a great experience and all the work to create the presentation and the demonstrations made even more interested in build automation and deployment than before.</p>
<p>Speaking about the content, I&rsquo;ve done three demonstrations:</p>
<ul>
<li>Automate web application deployment with Publishing Profiles and Web Deployment Tool</li>
<li>Deploy and Rollback of: web application, WCF service library to IIS, Windows Service and SQL Server Database;</li>
<li>Staged deployment with TFS Deployer</li>
</ul>
<p>During the next weeks or months I&rsquo;ll write in this blog about the scenarios, share my build templates and all this.</p>
<p>That&rsquo;s it. I&nbsp; just wanted to give a heads up about what is coming.</p>
<p>&nbsp;</p>
<p>Daniel</p>]]></content:encoded>
    </item>
    <item>
      <title>The Developers Conference</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/the-developers-conference</link>
      <pubDate>Wed, 27 Jun 2012 04:20:01 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/06/27/the-developers-conference/</guid>
      <description><![CDATA[Entre os dias 4 e 8 de Julho de 2012 teremos o The Developers Conference em S&atilde;o Paulo. No dia...]]></description>
      <content:encoded><![CDATA[<p>Entre os dias 4 e 8 de Julho de 2012 teremos o The Developers Conference em S&atilde;o Paulo. No dia 5 de Julho sera a trilha de ALM.</p>
<p>Teremos uma trilha de ALM sobre plataforma Microsoft. O evento vai contar com importantes nomes em ALM no Brasil e uma s&eacute;rie de palestras interessantes, dentre as quais: Continuous Deployment, DevOps, Visual Studio Scrum 2.0, etc...<br />Fa&ccedil;a a&nbsp;inscri&ccedil;&atilde;o em <a href="https://www.thedevelopersconference.com.br/tdc/2012/saopaulo/trilha-alm#programacao">https://www.thedevelopersconference.com.br/tdc/2012/saopaulo/trilha-alm#programacao</a> .</p>
<p>Eu apresentarei uma palestra sobre Continuous Deployment com Team Foundation Server 2012.</p>
<p>&nbsp;</p>
<p>Daniel</p>]]></content:encoded>
    </item>
    <item>
      <title>Team Foundation Service agora é Público!</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/team-foundation-service-agora-pblico</link>
      <pubDate>Mon, 11 Jun 2012 14:34:01 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/06/11/team-foundation-service-agora-pblico/</guid>
      <description><![CDATA[Desde que o Team Foundation Service foi anunciado, era necessário um invitation code para se...]]></description>
      <content:encoded><![CDATA[<p>Desde que o Team Foundation Service foi anunciado, era necessário um <em>invitation code</em> para se inscrever no serviço.    <br />Foi anunciado hoje no blog do Brian Harry que o serviço está aberto para inscrição mesmo sem invitation code.</p>  <p>Para se inscrever basta acessar <a title="https://tfspreview.com/" href="https://tfspreview.com/">https://tfspreview.com/</a>&#160;</p>  <p>Para mais info sobre o que está disponível e passo a passo de como se inscrever basta ver no blog do Brian:&#160; <a title="https://blogs.msdn.com/b/bharry/archive/2012/06/11/team-foundation-service-preview-is-public.aspx" href="https://blogs.msdn.com/b/bharry/archive/2012/06/11/team-foundation-service-preview-is-public.aspx">https://blogs.msdn.com/b/bharry/archive/2012/06/11/team-foundation-service-preview-is-public.aspx</a></p>  <p>Espero que gostem!!</p>  <p>&#160;</p>  <p>Daniel</p>]]></content:encoded>
    </item>
    <item>
      <title>Deploying ASP.NET Application using Web Deployment Tool Service (passing no credentials)</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/deploying-asp-net-application-using-web-deployment-tool-service-passing-no-credentials</link>
      <pubDate>Sun, 03 Jun 2012 09:07:50 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/06/03/deploying-asp-net-application-using-web-deployment-tool-service-passing-no-credentials/</guid>
      <description><![CDATA[Problem:  There was a request to deploy an ASP.NET Application to IIS 6 using Team Build. The common...]]></description>
      <content:encoded><![CDATA[<p><strong>Problem:</strong></p>  <p>There was a request to deploy an ASP.NET Application to IIS 6 using Team Build. The common approach is to&#160; use MS Build Arguments. Using this approach you need to pass the credentials to deploy the application, which make them (the credentials) exposed. In this post we are going to see how customize the Build Template to call MSDeploy.exe and publish the application using NTLM authentication.</p>  <p><strong>Solution:</strong></p>  <p>Web Deployment Tool is largely used to deploy Web Application. It gets even more interesting when you integrate with Team Build to automate the deployment. Usually the samples show how to use MS Build Arguments in the build definition and deploy the application. For instance you can use something similar to the following:</p>  <p>/p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True    <br />/p:MSDeployPublishMethod=InProc /p:MSDeployServiceUrl=localhost /p:DeployIisAppPath=&quot;Default Web Site/NewOrleansJazz&quot; /p:UserName=domain\user /p:Password=myPassword    <br /></p>  <p>I won’t get in details about this approach, but if you are willing to learn more about you can read this great blog post: <a title="https://vishaljoshi.blogspot.com.br/2010/11/team-build-web-deployment-web-deploy-vs.html" href="https://vishaljoshi.blogspot.com.br/2010/11/team-build-web-deployment-web-deploy-vs.html">https://vishaljoshi.blogspot.com.br/2010/11/team-build-web-deployment-web-deploy-vs.html</a></p>  <p>This approach is really interesting, the problem I see is that the credentials are exposed, what is terrible in an enterprise scenario.</p>  <p>To use a different approach I have created a build definition like in the images below:</p>  <p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5482.image_6DF20683.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5482.image_5F00_6DF20683.png" /></p>  <p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/7140.image_233B18E9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/7140.image_5F00_233B18E9.png" /></p>  <p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5700.image_7E79DBA4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5700.image_5F00_7E79DBA4.png" /></p>  <p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/4401.image_01CB4D80.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/4401.image_5F00_01CB4D80.png" /></p>  <p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/6433.image_5D764330.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/6433.image_5F00_5D764330.png" /></p>  <p>As you can see there is nothing particularly special in this build definition. The only detail that is worth mentioning is that I’m passing two arguments to MS Build: “/p:DeployOnBuild=true /p:Configuration=Release”.</p>  <p>The argument <strong>/p:DeployOnBuild=true</strong> will tell MS Build to generate a package (.zip) to deploy. The argument <strong>/p:Configuration=Release</strong> is optional. I am passing it because I am using the <a href="https://msdn.microsoft.com/en-us/library/dd465318.aspx" target="_blank">Web Config Transformation feature.</a></p>  <p>Now lets customize our Build Template.</p>  <p>I am using the DefaultTemplate.xaml which is available at $/&lt;TeamProjectName&gt;/BuildProcessTemplates/DefaultTemplate.xaml.</p>  <p>To make it happen I have added two activities, one called ExpandEnvironmentVariables and another one called InvokeProcess. Both activities were added in the scope of the activity <strong>Try Compile, Test, and Associate Changesets and Work Items.</strong> They are the last ones to be executed in the scope of the Try Compile… activity. </p>  <p align="center"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5050.image_5F831C2C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5050.image_5F00_5F831C2C.png" /></p>  <p>I have created two variables in the scope of the <strong>Try Compile, Test, and Associate Changesets and Work&#160; </strong>activity.</p>  <ul>   <li>MSDeployPath with the value&quot;$(ProgramFiles)\IIS\Microsoft Web Deploy V2\MSDeploy.exe&quot;</li>    <li>MSDeployPathExpanded with no value</li> </ul>  <p>For the ExpandEnvironmentVariables activity I’ve passed the variable MSDeployPath in Input and MSDeployPathExpanded to Output. After the execution of this activity I will the path to the MSDeploy executable inside the Build Agent machine.</p>  <p>For the activity InvokeProcess I have paased the MSDeployPathExpanded to FileName. To arguments I have passed the following:</p>  <p><strong>String.Format(&quot;–verb:sync -source:package=&quot;&quot;{0}&quot;&quot; –dest:auto,computername=&quot;&quot;10.0.0.5/MsDeployAgentService&quot;&quot; –allowUntrusted -setParam:&quot;&quot;IIS Web Application Name&quot;&quot;=&quot;&quot;WebApp&quot;&quot;&quot;, System.IO.Path.Combine(BinariesDirectory, &quot;_PublishedWebsites\SimpleWebApp_package\SimpleWebApp.zip&quot;)).</strong></p>  <p>Lets understand each part of the argument:</p>  <ul>   <li><strong>-verb:sync -source:package=&quot;&quot;{0}&quot; </strong>– here we are indicating the path to the package. It will be replaced by the value generated in System.IO.Path.Combine(BinariesDirectory, &quot;_PublishedWebsites\SimpleWebApp_package\SimpleWebApp.zip&quot;)</li>    <li><strong>-dest:auto,computername =&quot;&quot;10.0.0.5/MsDeployAgentService&quot;&quot;</strong>&#160; - here we are indicating the destination for our package. This is the address of the MsDeployAgentService.</li>    <li><strong>-setParam:&quot;&quot;IIS Web Application Name&quot;&quot;=&quot;&quot;WebApp&quot;&quot;</strong> – here we are indicating the IIS Application that will receive the package.</li> </ul>  <p>Do not forget to check-in the Build Template after the changes. </p>  <p>One important point is that the account running the Team Build Service needs to the local administrator in the IIS6 server.</p>  <p>With that just execute the build to deploy the application:</p>  <p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/8255.image_407CF88E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/8255.image_5F00_407CF88E.png" /></p>  <p>If you are using IIS7+ there is a better way to do that, which is using the Web Management Service. I’ll post about this approach too, in a near future.</p>  <p>Thanks to <a href="https://blogs.msdn.com/b/jimlamb/" target="_blank">Jim Lamb</a> who suggested me to do it using this approach.</p>  <hr />  <p>Daniel Oliveira   </p>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio 2012 Release Candidate Liberado!</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/visual-studio-2012-release-candidate-liberado</link>
      <pubDate>Thu, 31 May 2012 17:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/05/31/visual-studio-2012-release-candidate-liberado/</guid>
      <description><![CDATA[&#160;  Hoje foi liberad a versão Release Candidate do Visual Studio 2012.   Essa versão está...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Hoje foi liberad a versão Release Candidate do Visual Studio 2012. </p>  <p>Essa versão está sensacional, traz muitos recursos novos e que vão ajudar times a entregarem mais valor de negócio aos clientes, terem software de maior qualidade e alcançarem mais produtividade no dia a dia. Claro que isso tudo associado às técnicas, práticas e processos necessários. <img class="wlEmoticon wlEmoticon-smile" style="style" alt="Smile" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/2867.wlEmoticon-smile_0B5D42D7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/2867.wlEmoticon_2D00_smile_5F00_0B5D42D7.png" /></p>  <p>Os principais posts a respeito são do Jason Zander dando uma geral no Visual Studio e no .NET Framework: <a title="https://blogs.msdn.com/b/jasonz/archive/2012/05/31/announcing-the-release-candidate-rc-of-visual-studio-2012-and-net-framework-4-5.aspx" href="https://blogs.msdn.com/b/jasonz/archive/2012/05/31/announcing-the-release-candidate-rc-of-visual-studio-2012-and-net-framework-4-5.aspx">https://blogs.msdn.com/b/jasonz/archive/2012/05/31/announcing-the-release-candidate-rc-of-visual-studio-2012-and-net-framework-4-5.aspx</a></p>  <p>E claro, do Brian Harry passando pelos novos itens do TFS 2012: <a title="https://blogs.msdn.com/b/bharry/archive/2012/05/31/visual-studio-tfs-2012-release-candidate-available-today.aspx" href="https://blogs.msdn.com/b/bharry/archive/2012/05/31/visual-studio-tfs-2012-release-candidate-available-today.aspx">https://blogs.msdn.com/b/bharry/archive/2012/05/31/visual-studio-tfs-2012-release-candidate-available-today.aspx</a></p>  <p>&#160;</p>  <p>Espero que vocês gostem tanto desta versão quanto eu estou gostando.</p>  <p>Enjoy!</p>  <p>Daniel</p>]]></content:encoded>
    </item>
    <item>
      <title>Publicação de ASP.NET com Web Deployment Tool Service(sem passar credenciais)</title>
      <link>https://docs.microsoft.com/archive/blogs/dfaoliveira/publicao-de-asp-net-com-web-deployment-tool-servicesem-passar-credenciais</link>
      <pubDate>Thu, 17 May 2012 09:21:09 GMT</pubDate>
      <dc:creator><![CDATA[Daniel F Oliveira]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dfaoliveira/2012/05/17/publicao-de-asp-net-com-web-deployment-tool-servicesem-passar-credenciais/</guid>
      <description><![CDATA[Problema:   Surgiu uma necessidade de fazer deploy de uma aplicação ASP.NET no IIS6 utilizando Team...]]></description>
      <content:encoded><![CDATA[<p><strong>Problema: </strong></p>  <p>Surgiu uma necessidade de fazer deploy de uma aplicação ASP.NET no IIS6 utilizando Team Build. A abordagem mais utilizada que é passando parâmetros para o MSBuild, porém dessa maneira as credenciais ficam expostas. Neste post vamos ver como customizar o Build Template para chamar o executável do MSDeploy e fazer a publicação utilizando NTLM para autenticação.</p>  <p>&#160;</p>  <p><strong>Solução:</strong></p>  <p>Há bastante tempo o Web Deployment Tool tem sido utilizado com o Team Build para fazer deploy de aplicação Web. Normalmente o que vemos nos exemplos é passar os seguintes argumentos para parâmetros do MSBuild no Build Definition:</p>  <p>/p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True    <br />/p:MSDeployPublishMethod=InProc /p:MSDeployServiceUrl=localhost /p:DeployIisAppPath=&quot;Default Web Site/NewOrleansJazz&quot; /p:UserName=domain\user /p:Password=myPassword</p>  <p>Eu não&#160; vou entrar em detalhes sobre essa abordagem, quem quiser saber mais a respeito basta acessar: <a href="https://vishaljoshi.blogspot.com.br/2010/11/team-build-web-deployment-web-deploy-vs.html">https://vishaljoshi.blogspot.com.br/2010/11/team-build-web-deployment-web-deploy-vs.html</a></p>  <p>Essa abordagem é bem legal, o problema é que as credenciais ficam expostas, o que é péssimo em um ambiente corporativo.   <br />Surgiu uma necessidade de fazer essa publicação automatizada de uma aplicação ASP.NET em um servidor II6. </p>  <p>Estou utilizando o lab instalado no post sobre <a href="https://blogs.msdn.com/b/dfaoliveira/archive/2012/01/29/team-foundation-server-enterprise-installation-01-dns-dhcp-domain-controller-sql-server-reporting-services-sharepoint-e-tfs-application-tier.aspx" target="_blank">TFS Enterprise</a>. Apenas adicionei mais uma máquina com o Windows 2003 R2 SP2 e configurei o IIS 6 nesta última.</p>  <p>Nas imagens abaixo pode ser vista a configuração do meu Build Definition:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5482.image_6DF20683.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5482.image_5F00_6DF20683.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/4745.image_thumb_6C413AAF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/4745.image_5F00_thumb_5F00_6C413AAF.png" width="787" height="220" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/7140.image_233B18E9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/7140.image_5F00_233B18E9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/0216.image_thumb_134BD425.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/0216.image_5F00_thumb_5F00_134BD425.png" width="794" height="442" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5700.image_7E79DBA4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5700.image_5F00_7E79DBA4.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/6038.image_thumb_7CC90FD0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/6038.image_5F00_thumb_5F00_7CC90FD0.png" width="795" height="185" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/4401.image_01CB4D80.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/4401.image_5F00_01CB4D80.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5556.image_thumb_26E897EC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5556.image_5F00_thumb_5F00_26E897EC.png" width="796" height="354" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/6433.image_5D764330.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/6433.image_5F00_5D764330.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/3884.image_thumb_7B745124.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/3884.image_5F00_thumb_5F00_7B745124.png" width="802" height="563" /></a></p>  <p>Como vocês podem observar na verdade não tem nada de especial no meu build definition. O único ponto que vale a pena observar é que eu passei o seguinte para MSBuild Arguments: “/p:DeployOnBuild=true /p:Configuration=Release”.</p>  <p>O argumento<strong> /p:DeployOnBuild=true</strong> fará com que seja gerado&#160; o pacote (.zip) para deploy. Já o argumento<strong> /p:Configuration=Release</strong> é opcional. Eu utilizei esse parâmetro porque também estou utilizando o recurso de <a href="https://msdn.microsoft.com/en-us/library/dd465318.aspx" target="_blank">Web.Config Transformation</a>.</p>  <p>Agora vamos fazer a customização no nosso Build Template.</p>  <p>Eu utilizei o DefaultTemplate.xaml que está localizado em $/&lt;TeamProjectName&gt;/BuildProcessTemplates/DefaultTemplate.xaml.</p>  <p>Para adicionar esse comportamento no Build eu adicionei duas atividades, uma chamada ExpandEnvironmentVariables e outra chamada InvokeProcess. Estas duas foram adicionadas dentro da atividade <strong>Try Compile, Test, and Associate Changesets and Work Items.</strong> Elas são as últimas a serem executadas dentro do escopo dessa atividade mãe (ou pai hehe).</p>  <p align="center"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5050.image_5F831C2C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5050.image_5F00_5F831C2C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/5047.image_thumb_2931F41D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/5047.image_5F00_thumb_5F00_2931F41D.png" width="245" height="329" /></a></p>  <p>Eu criei duas variáveis no escopo da atividade <strong>Try Compile, Test, and Associate Changesets and Work Items:</strong></p>  <ul>   <li>MSDeployPath com o valor &quot;$(ProgramFiles)\IIS\Microsoft Web Deploy V2\MSDeploy.exe&quot; </li>    <li>MSDeployPathExpanded – sem valor.</li> </ul>  <p>Para a atividade ExpandEnvironmentVariables eu passei a variáveis MSDeployPath em Input e MSDeployPathExpanded em output. Com isso eu vou ter o caminho do executável do MSDeploy dentro do meu Build Agent.</p>  <p>Para a atividade InvokeProcess eu passei MSDeployPathExpanded em FileName. Em arguments é que vem a parte mais importante:</p>  <p><strong>String.Format(&quot;–verb:sync -source:package=&quot;&quot;{0}&quot;&quot; –dest:auto,computername=&quot;&quot;10.0.0.5/MsDeployAgentService&quot;&quot; –allowUntrusted -setParam:&quot;&quot;IIS Web Application Name&quot;&quot;=&quot;&quot;WebApp&quot;&quot;&quot;, System.IO.Path.Combine(BinariesDirectory, &quot;_PublishedWebsites\SimpleWebApp_package\SimpleWebApp.zip&quot;)).</strong></p>  <p>&#160;</p>  <p>Valor entender por partes essa linha:</p>  <ul>   <li><strong>–verb:sync -source:package=&quot;&quot;{0}&quot;</strong> – aqui estou indicando o caminho do package. Isso será substituído pelo valor que está sendo gerado em System.IO.Path.Combine(BinariesDirectory, &quot;_PublishedWebsites\SimpleWebApp_package\SimpleWebApp.zip&quot;)</li>    <li><strong>–dest:auto,computername </strong>=&quot;&quot;10.0.0.5/MsDeployAgentService&quot;&quot; – aqui estou indicando o computador destino. O endereço é o endereço do MsDeployAgentService</li>    <li><strong>-setParam:&quot;&quot;IIS Web Application Name&quot;&quot;=&quot;&quot;WebApp&quot;&quot;</strong> – aqui estou indicando a aplicação no IIS que vai receber o pacote.</li> </ul>  <p>*Não esqueça de fazer check-in do Build Template depois que terminar a customização.</p>  <p>Um ponto importante é que a conta que está rodando o serviço de build precisa ser adicionada como Administrador no servidor do IIS6.</p>  <p>Com isso basta executar o build e ver a aplicação sendo publicada no IIS:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/8255.image_407CF88E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/8255.image_5F00_407CF88E.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/4454.image_thumb_3AC1DEE8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/4454.image_5F00_thumb_5F00_3AC1DEE8.png" width="753" height="173" /></a></p>  <p>&#160;</p>  <p>Para quem utilizada o IIS7+ existe uma maneira melhor de fazer isso que é utilizando o Web Management Service. Logo farei uma versão desse post utilizando o Web Management Service e o Web Deployment Tool Handler.</p>  <p>No Visual Studio 11 tem algumas novidades muito legais sobre publicação de aplicações. Aguardem posts sobre isso também! <img class="wlEmoticon wlEmoticon-smile" style="style" alt="Smile" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/24/metablogapi/8267.wlEmoticon-smile_3CAF2DF1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-24-metablogapi/8267.wlEmoticon_2D00_smile_5F00_3CAF2DF1.png" /></p>  <p>Thanks to <a href="https://blogs.msdn.com/b/jimlamb/" target="_blank">Jim Lamb</a> who suggested me to do it using this approach.</p>  <p>&#160;</p>  <p>Daniel Oliveira</p>]]></content:encoded>
    </item>
  </channel>
</rss>