Join Chander Dhall for an in-depth discussion in this video Windows setup, part of Microservices and Azure Service Fabric Basics for Developers.
- [Male Narrator] Azure Service Fabric works with Windows 7, 8 and 8.1, it also works with Windows Server 2012 R2 and 2016. We will be doing this demo on Windows 10. In order to make this work on Windows you will either need Visual Studio 2017 RC or Visual Studio 2015, at the time of recording this course, Visual Studio 2017 is a release candidate so we will be using Visual Studio 2015, which is a stable version.
Keep in mind this requires you to have update 2 or later. In order to make this work on PowerShell, you will need to go to PowerShell IDE, execute that as an admin and then use the following command Set-ExecutionPolicy and make sure it's unrestricted scoped to the current user. After you navigate to the following link you can download the Runtime SDK and tools if you're using Visual Studio 2015.
If you're using Visual Studio 2017, you may not need the tools and you can only download the Runtime and SDK. We'll click the first link and when you click it you can see Microsoft Azure Service Fabric Visual Studio 2015 EXE has been downloaded. When you click on the downloaded link, the Web Platform Installer starts, it might take some time, but you will see Windows Azure Service Fabric SDK and tools. It's a good idea to get all the three, so for now in order to set up my machine, I'm going to add all the three and then hit install.
Go ahead and say I Accept and then it starts installing. So, you can see that we get the success message that these products were successfully installed. We're going to hit finish and then exit this. Now, I will go ahead and open Visual Studio. So, when you hit the windows key on your machine, you can type Visual Studio and this shows up. One thing to keep in mind is that you want to use Visual Studio with admin rights, so you can come in here click, right-click and say Run as administrator or you can also go to Properties, then go to Advanced and then pick run as administrator.
Then you can also come and pin this program to the taskbar. So, our setup is complete, in order to make sure that the setup is complete, you can come in here and say new project, and then look for cloud and you should be able to see Service Fabric Application. I want to make sure that we have Azure tools for Visual Studio, and if you don't have those, then you might want to go ahead and click download. Once you have the EXE, double-click it and make sure it gets installed on your local computer.
Click install, and then this will give you the latest version of the SDK. Hit accept. It might take a while, but then you're going to click continue and you can see the release notes if needed.
- Reviewing microservices vs. monolithic architecture
- Reviewing microservices and Azure Service Fabric basics
- Programming model architecture
- Creating a stateless service and a stateful service
- Creating a cluster in Azure
- Adding security to a cluster
- Finalizing cluster creation
- Deploying to an Azure cluster
- Debugging an application remotely