Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When should you right click publish

#1
When should you right click publish

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/11/when-should-you-right-click-publish.png" width="800" height="600" title="" alt="" /></div><div><p>Some people say ‘friends don’t let friends right click publish’ but is that true? If they mean that there are <span><a href="https://azure.microsoft.com/en-us/solutions/devops/">great benefits to setting up a CI/CD workflow</a></span>, that’s true and we will talk more about these benefits in just a minute. First, let’s remind ourselves that the goal isn’t always coming up with the best long-term solution.</p>
<p>Technology moves fast and as developers we are constantly learning and experimenting with new languages, frameworks and platforms. Sometimes we just need to prototype something rather quickly in order to evaluate its capabilities. That’s a classic scenario where right click publish in Visual Studio provides the right balance between how much time you are going to spend (just a few seconds) and the options that become available to you (quite a few depending on the project type) such as publish to IIS, FTP  &amp; Folder (great for xcopy deployments and integration with other tools).</p>
<p>Continuing with the theme of prototyping and experimenting, right click publish is the perfect way for existing Visual Studio customers to evaluate <span><a href="https://azure.microsoft.com/en-us/services/app-service/">Azure App Service (PAAS)</a></span>. By following the right click publish flow you get the opportunity to provision new instances in Azure and publish your application to them without leaving Visual Studio:</p>
<p><a href="http://www.sickgaming.net/blog/wp-content/uploads/2018/11/when-should-you-right-click-publish.png"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/11/when-should-you-right-click-publish.png" alt="" width="800" height="600" class="alignnone size-full wp-image-15715" /></a></p>
<p><a href="http://www.sickgaming.net/blog/wp-content/uploads/2018/11/when-should-you-right-click-publish-1.png"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/11/when-should-you-right-click-publish-1.png" alt="" width="800" height="600" class="alignnone size-full wp-image-15725" /></a></p>
<p>When the right click publish flow has been completed, you immediately have a working application running in the cloud:</p>
<p><a href="http://www.sickgaming.net/blog/wp-content/uploads/2018/11/when-should-you-right-click-publish-2.png"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/11/when-should-you-right-click-publish-2.png" alt="" width="1091" height="748" class="alignnone size-full wp-image-15705" /></a></p>
<p>Platform evaluations and experiments take time and during that time, right click publish helps you focus on the things that matter. When you are ready and the demand rises for automation, repeatability and traceability that’s when investing into a <span><a href="https://azure.microsoft.com/en-us/solutions/devops/">CI/CD workflow</a></span> starts making a lot of sense:</p>
<ul>
<li><strong>Automation:</strong> builds are kicked off and tests are executed as soon as you check in your code</li>
<li><strong>Repeatability:</strong> it’s impossible to produce binaries without having the source code checked in</li>
<li><strong>Traceability:</strong> each build can be traced back to a specific version of the codebase in source control which can then be compared with another build and figure out the differences</li>
</ul>
<p>The right time to adopt CI/CD typically coincides with a milestone related to maturity; either and application milestone or the team’s that is building it. If you are the only developer working on your application you may feel that setting up CI/CD is overkill, but automation and traceability can be extremely valuable even to a single developer once you start shipping to your customers and you have to support multiple versions in production.</p>
<p>With a CI/CD workflow you are guaranteed that all binaries produced by a build can be linked back to the matching version of the source code. You can go from a customer bug report to looking at the matching source code easily, quickly and with certainty. In addition, the automation aspects of CI/CD save you valuable time performing common tasks like running tests and deploying to testing and pre-production environments, lowering the overhead of good practices that ensure high quality.</p>
<p>As always, we want to see you successful, so if you run into any issues using publish in Visual Studio or setting up your CI/CD workload, let me know in the comment section below and I’ll do my best to get your question answered.</p>
<p> </p>
</div>
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016