1. Equality Operator
2. Variable Scope
3. For each
4. Switch statement
5. Function overloading
6. undefined function parameter
7. Truthy and Falsy
8. Curly braces and return statement
9. this keyword
Free Ebook: Typescript for C# Programmers,
makecert -sky exchange -r -n "CN=AzureCertificateName01" -pe -a sha1 -len 2048 -ss My "AzureCertificateName01.cer"
To upload a management certificate to Windows Azure, go to the Settings page in the Management Portal, and then click MANAGEMENT CERTIFICATES.
PS C:\> Set-ExecutionPolicy RemoteSigned
$mySubID = "subscritionID"
$certThumbprint = "Thumbprint"
$myCert = Get-Item cert:\CurrentUser\My\$certThumbprint
$mySubName = "SubscriptionName"
Set-AzureSubscription -SubscriptionName $mySubName -Certificate $myCert -SubscriptionID $mySubID
Select-AzureSubscription -SubscriptionName $mySubName
Start-AzureVM -ServiceName "myCloudServiceName" -Name "myVMServiceName"
Stop-AzureVM -ServiceName "myCloudServiceName" -Name "myVMServiceName"
The scenarios covered include creating topics and subscriptions, creating subscription filters, sending messages to a topic, receiving messages from a subscription, and deleting topics and subscriptions.
After your web site project has been pushed to a repository web site, in the Windows Azure Portal quick glance section, select Set up deployment from source control. The Set Up Deployment dialogappears that asks Where is your source code?.
Choose the source control method that you are using.
When prompted, enter your credentials for the service you selected.
After you have authorized Windows Azure to access your account, you will be prompted with a list of repositories.
Select the repository that you want to associate with your Windows Azure web site. Click the checkmark to continue.
When enabling continuous deployment with GitHub or BitBucket, both public and private projects will be displayed.
Windows Azure will create an association with the selected repository, and will pull in the files from the master branch. After this process completes, the deployment history on the Deployments page will show an Active Deployment message like the following:
At this point your project has been deployed from your repository of choice to your Windows Azure web site. To verify that the site is active, click the Browse link at the bottom of the portal. The browser should navigate to the web site.
To verify that continuous deployment is occurring, make a change to your project and then push the update to the repository you have associated with this web site. Your web site should update to reflect the changes shortly after the push to the repository completes. You can verify that it has pulled in the update on the Deployments page of your Web Site.
Continuous deployment works by providing the DEPLOYMENT TRIGGER URL found in the deploymentssection of your site’s Configure tab.
When updates are made to your repository, a POST request is sent to this URL, which notifies your Windows Azure Web Site that the repository has been updated. At this point it retrieves the update and deploys it to your web site.
When you enable continuous deployment, it will default to the master branch of the repository. If you want to use a different branch, perform the following steps:
In the portal, select your web site and then select CONFIGURE.
In the deployments section of the page, enter the branch you wish to use in the BRANCH TO DEPLOYfield, and then hit enter. Finally, click SAVE.
Windows Azure should immediately begin updating based on changes to the new branch.