Introduction to Serverless

In the past, with cloud computing, if an organization was deploying and scaling an application, they would provision a server or servers and deploy the app. The more workload the app received, the more servers could be provisioned to distribute the workload. This model worked, and still works, very well in terms of scaling apps. However, there were disadvantages with doing this. Depending on your app, provisioning an entire server … Continue reading Introduction to Serverless

Azure Cloud Shell

Azure Cloud Shell is an interactive shell for Azure, which allows you to manage your Azure resources. This is useful in that you don’t need to install other tools to run commands – you can do it directly from within a browser. The tool currently supports Azure CLI 2.0. To access the cloud shell, log into portal.azure.com and select the Cloud Shell icon on the right: The browser will then … Continue reading Azure Cloud Shell

Azure Service Bus Sample

Azure Service Bus is an enterprise cloud messaging service for offline and online applications and services. Let’s go through an example of how to use this. Log into the Azure Portal at  https://portal.azure.com. Select + Enterprise Integration->Service Bus: Enter details and click Create: Select the Namespace created and then Shared Access Properties->RootManagerSharedAccessKey: Copy the connection string primary key: Also copy the primary key and paste this somewhere for later, e.g. … Continue reading Azure Service Bus Sample

Register an App with Windows Azure

The following steps show how to register an application with Microsoft Azure. This app can then be used for OAuth 2.0 authentication outside of Dynamics CRM. Log into portal.azure.com as your Dynamics CRM administrator. Select Azure Active Directory from the menu on the left: Select App Registrations: Select Add: Enter the name of the app, e.g. Test Basic App. Select the application type as Native: Click Create to create the app. … Continue reading Register an App with Windows Azure

Azure Key Vault

Azure Key Vault allows you to encrypt keys used for authentication, storage accounts etc, in the cloud. They keys are protected by hardware security modules, or HSMs. In portal.azure.com, you can manage Key Vaults by searching for it in the menu:   Select Key Vault and Create: Create Key Vault will be created:  

Azure Active Directory Users and Groups

To manage users and groups in Azure Active Directory, select Active Directory in portal.azure.com: To add a new group, select Users and Groups->All Groups->Add: Enter a group name and click Create: To add new users, select All Users->Add: Enter in details and click Create: You will then be able to manage the user:  

Azure Active Directory User Joining

When a user is added to AAD, the user will receive an email: Click on the email and provide new login information below: Check email and enter verification code: When complete:  

Publish Web Service to Azure from Visual Studio

To publish a web service from Visual Studio, do the following. You may need to install the Azure SDK for .NET. You can find the download link on the Microsoft website: https://azure.microsoft.com/en-us/downloads/archive-net-downloads/ Select the web service. Right click and publish:   Select Microsoft Azure App Service and New: Confirm the details and click Create: Press Publish: A webpage will be created with the instructions: And you can access the web service … Continue reading Publish Web Service to Azure from Visual Studio

Publish ASP.NET Site to Azure

To publish an ASP.NET Visual Studio solution to Azure, select the solution in Visual Studio and select Publish:   Enter a name, select resource group, service plan and click Create: Once complete, you will see the deployment address: You can now browse to the Azure website: And the site will appear in Azure portal for management:  

Creating an OData Service for a SQL Server Database

To create an OData service for a SQL Server database, we will create a new Visual Studio ASP.NET web application: Select Empty template and check Web API: This will create: Now, add the OData NuGet packages: Add Entity Framework: Next, add a new item: Select EF Designer from database: Select the database connection, click new connection if required, and click Next. We will connect to an Azure SQL database with … Continue reading Creating an OData Service for a SQL Server Database