Almost all major cloud computing companies like Google Cloud, Microsoft Azure or Amazon Web Services (AWS) offer free 12 months services or free credits to newly registered members. We use AWS in this solution. If you don’t have an account on AWS, Please be registered
We are going to click on the “Services” top left and then under “Computing” select “EC2”
It’s an amazon service let us deploy a virtual machine in the cloud. It will run our vpn server.
Launch EC2 Instance
To begin with, we create our sample project by going to the folder where we keep our repositories. I am using dotnet CLI with powershell in Windows 10 but you can use different terminals and OS (MACOS, Linux etc.)
PS> mkdir Matech.Sample.Template
PS> cd Matech.Sample.Template
Add some class library projects (Application, Domain, Infrastructure) and Web Api project.
PS Matech.Sample.Template> dotnet new classlib -n Application
PS Matech.Sample.Template> dotnet new classlib -n Domain
PS Matech.Sample.Template> dotnet new classlib -n Infrastructure
PS Matech.Sample.Template> dotnet new webapi -n WebApi
Add Solution item
PS Matech.Sample.Template> dotnet new sln
Add multiple C# projects to a solution
Matech.Sample.Template.sln using a globbing pattern (Windows PowerShell…