Tag: Build

AzureCommunityEvents

Best of Build 2020 |Canada Community Edition | Virtual Event

Did you miss this year’s Microsoft Build 2020 virtual event? Do not worry at all!

Microsoft Canada and our community leaders are getting together to share some of the excitement with you – do join us on June 13th as we plan this Canada wide virtual event – delivered by some of the best we have, from East to the West of Canada!

I’ll be discussing Azure Static Web Apps – go from code to scale in minutes, plus other CI/CD announcements from Build.

Register TODAY !

Resources

https://lnkd.in/e9JCzFC

AIAzureDevelopmentEvents

Registration is now open for Microsoft Build

Build2019

Registration is now open for Microsoft’s premier developer conference, Microsoft Build, which is taking place May 6-8 in Seattle, WA. At Microsoft Build, you’ll get access to the latest product updates, hear about Microsoft’s strategy and product roadmaps, and get hands-on, ask questions, and learn the best practices.

Some of the benefits for attending Build are:

• Learning from real-world experiences on building, modernizing, and migrating cloud applications

• Add value to your new and/or existing applications with AI

• Collaborative coding with your peers using the latest development tools

• Increasing productivity for your business with DevOps automation, tooling, and processes

• Creating and deploying cross platform applications

• Discovering innovations across Mixed Reality, IoT, and Machine Learning

• Learning new ways to easily customize, build, and extend applications with minimal code

If you’re interested in the content from last year, here is complete listing of the 2018 sessions.

New this year is the ability to bring your student-aged family member (14-21 years old) to the conference for free! For details about this wonderful opportunity, click here. Space is limited, so register today. While attending the event last year, one of the Microsoft Executives brought his two daughters and it was awesome to see them take interest and engage with the speakers and product groups. I’m glad they made this available this year for all eligible students.

I went to Microsoft Build last year for the first time and loved the experience to see and try the latest technologies, to connect with peers, and discover new innovative solutions to build. I’m not able to attend this year but I’m hoping to go again in the near future. If you can’t attend, then you always have the option to watch it on demand.

If you’re interested in going, then Register for Microsoft Build now!

Enjoy!

References

Microsoft Build

Microsoft Build FAQ

DevelopmentDevOps

Visual Studio Team Services Build to the Rescue

So this week Visual Studio Team Services build and release saved me and my team.

At our company we have configured an on premise continuous integration server along with build agents using TeamCity which is a product from JetBrains. TeamCity Professional is actually a free application that allows you to run 3 build agents. The only cost is the associated hardware and Windows licensing. I fell in love with TeamCity years ago when I set it up at our company and it’s been a very stable and a versatile CI server since. However this week I ran into some issues with our TeamCity server and the fact that it was on premise only added to the problem. Let me explain.

Our build server physical infrastructure is actually located offsite from our office (along with other dev/qa servers), so when I say on premise I really means its dedicated hardware that we own and not up in the cloud. The situation we ran into is that our TeamCity server didn’t restart properly and was unavailable by remote access by the ITOPS team, this meant someone had to go to the offsite location and reboot the server. Now you might be wondering, why don’t you have a backup…a good question and something I’ll be looking into.

What made matters worse is that we we’re nearing the end of a regression cycle and we wanted to deploy later this week. So having our build server drop off the grid was just bad timing and it meant DEV and QA were in a holding pattern while we waited for our build server to be brought back up and hopefully it was ok and not corrupted or worse.

While we waited for our build server to be restarted I started thinking about worse case scenarios like what if our build server is dead and we need to rebuild or restore from a backup (and what do you know it was out of date). None of these options can be done quickly and they require unplanned resources from the ITOPS team and myself.

Having already explored Visual Studio Team Services (VSTS) build and release services for my personal development and that of our Live .NET logging tool ReflectInsight, I knew I could easily and quickly get one of our applications setup in that continuous integration pipeline. You will actually be shocked at how quickly I got things going.

Our current build process typically builds the solution, runs unit tests, creates a nuget package and then finally publishes the nuget package to an internal nuget repository that is part of TeamCity. We then have an automated deployment service called Octopus Deploy that picks up this package and can then deploy to any of our QA and/or production systems. Since our TeamCity server is offline, I would need to publish the nuget package to another destination for the time being. I decided to create an Azure Storage account and then copy the nuget package there. I could then pull the nuget package down and manually upload to our Octopus Deploy server.

To get started I headed over to my Visual Studio Team Services account I had setup with my MSDN subscription and I then created a new project to contain my builds. I then clicked on the Build & Release tab and then clicked on the New button to create a new build definition:

image

I then clicked on the ASP.NET (PREVIEW) featured template:

image

I then configured the Get sources task to point to our GitHub repository and then I added in the last two steps for generating a NuGet package and to copy the generated NuGet package to an Azure Storage account:

image

I wont go into detail for each of these build tasks as their pretty straight forward, but after I had everything setup and tested, I looked at the clock and it was under 15 min from start to finish. That is something I could never have done in our existing on premise build infrastructure and it now looks like I have my backup solution.

One of the nice things about using the hosted agent in VSTS is that it’s located in Azure and its a service that is managed by the Azure team. This means I spend more time focusing on developing my applications and less time worrying about managing the associated build infrastructure and what happens if a server goes down, performing backups, restores and that all hands on deck feeling when your infrastructure goes down at the worse possible time.

Enjoy!

References

TeamCity

Visual Studio Team Services

Azure Storage Explorer

Octopus Deploy

CloudDevelopment

Elements for Visual Studio Online & TFS

Elements for Visual Studio Online & TFS.

Elements is a browser extension and does not require any server installation.It supports both Visual Studio Online and Team Foundation Server 2013.

elements-for-visual-studio-online-tfs

Reference

https://mohamedradwan.wordpress.com/2014/12/30/elements-for-visual-studio-online-tfs/

Development

Versioning Assembly during TFS Build 2013

Versioning Assembly during TFS Build 2013

via Versioning Assembly during TFS Build 2013.