[Image credit: Katelyn Brown / YouTube]
In this post I’ll walk you through the setup and deployment of two different web apps: http://xkcd.com/1329 and http://www.xkcd.com/1329/ . I’ll cover how I setup my infrastructure, and some of the pitfalls to be wary of when deploying a new frontend to a new network. I’ll also talk about some of the best practices for deploying this kind of project.
For the purposes of this article, I’ll use an Azure Cloud First environment with Azure Portal, Windows PowerShell as web server, and ASP.NET Core 2.0. For the rest of this post I’ll refer to the Azure Cloud First environment in all of its forms.
Preparing for development
The process for developing web applications in Azure is rather simple. It’s all about putting together an environment and configuring a few files that have to be in place. In my case these files were the following:
This should provide a good starting point for your project’s configuration files. Next, let’s install PowerShell and PowerShellGet:
Install-Module -Name PowerShellInstaller -RequiredVersion 1.0 Install-Module -Name PowerShellGet -RequiredVersion 1.0
The Install-Module cmdlet should install all of these modules. For the sake of keeping the installation brief, I’ll refer to the installed PowerShellGet modules and the PowerShellGet modules as Pester and PowerShellGet-1.0 respectively.
Deploying the web app
Now that the installation has gone smoothly I must take a look at how I am actually deploying the web app in Azure. To do this I’ll first configure the application itself so that it receives emails. Since this is just a test we cannot just download it via HTTP; this is what we’ll do instead:
Set-Mailbox -Path “MyMailbox” -Domain “mydomain.com” -Subject “From: ” -Body “From” -MessageBody
Set-Mailbox expects a path that ends in (MyMailbox). Therefore the path must exactly match (MyMailbox). The Subject field in the body of messages can be changed for any email address for which our service is registered. For this example I’ve taken an email that matches my domain name and added
ventriloquist letter b, how does a ventriloquist throw his voice, ventriloquist puppets, ventriloquist puppet makers, how does a ventriloquist dummy work