SharePoint - Azure platform
In this chapter, we will cover the Microsoft Azure platform. Microsoft Azure is Microsoft's cloud platform technology, which in itself is a very powerful technology. It's not just a place to deploy your code, but it's a whole set of services that you as a developer can use in developing your SharePoint solution.
To understand Microsoft Azure, you must first know a little more about the cloud. Cloud computing is all about leveraging the web as a set of resources for the development and deployment of your solutions. Traditionally, cloud computing has been defined as categories of services. These are -
- Infrastructure as a Service (IAAS)
- Platform as a Service (PAAS)
- Software as a Service (SAAS)
Each of these categories is ddifferent in the context of development. For example, you might think -
IAAS as hosted virtual machines (VMs) that you manage remotely.
PAAS as the place where you deploy code, data, binary large objects (BLOBs), web applications, and other application artifacts in an environment cloud (such as Windows Server 2012 R2 and IIS).
SAAS as subion services that you can sign up to use, for example, Office 365.
Although these three categories of services dominate how the cloud is characterized, the cloud has four generally accepted pillars -
Group resources with other cloud users.
Manage your own services and applications through the management portal.
Applications and services may evolve and adapt to the needs ofyour company.
Pay only for what you use when it comes to the cloud.
Overview of the Azure platform
The Microsoft Azure platform is made up of many different services. You can leverage them in design, deployment, and management such as data, services, and integration, which is the customer layer in any application that uses services in Microsoft Azure.
In the data layer, there are a number of types of data storage mechanisms or features that directly correspond to the data storage that contains the both non-relational and relational.
The non-relational storage features allow you -
To store assets such as images of virtual machines or images or videos in objects blob
Create non-relational tables
Manage message queues along a bus service and manage data caching in your distributed applications
Relational data functionality are as follows -
Azure SQL Database kernel, which is the cloud version for the on-premises SQL server
Reporting Services (SQL Reporting)
The ability to broadcast ne ar data stream in real time from data transactions (Stream Insight)
The Services layer contains a number of default services that you can use when building your solutions, ranging from multimedia services to services basic cloud such as -
For many of these services, you can use features integrated and a set of APIs in your application. For example, if you want to create a multimedia learning solution, you can use multimedia services -
The Integration Layer contains some core services such as -
Geo-Replicated Content Delivery Network (CDN)
Virtual Private Network, which allows you to connect a virtual machine to your on-premises system
work, business process and integration services
All of these features allow you to integrate or secure systems.
Microsoft Azure isn't just about services. Azure is an evolving cloud platform that has a set of tools and SDKs that get you started quickly with developing cloud applications.
To get started with Microsoft Azure, you need the following items -
- Latest version of Visual Studio
- Subion Microsoft Azure
- Microsoft Azure Subion
Step 1 - Let us take a look at a simple example where we will deploy our web application on Microsoft Azure by creating a new ASP.NET MVC application.
Step 2 - Click OK and you will see the dialog box Select the MVC template, check the Host in the cloud box and clicksure OK.
Step 3 - When the Configure Microsoft Azure Web Application Settings dialog box appears, make sure you are signed in to Azure. If you are not logged in, log in first.
You can see the default name, but you can change the name of web application .
Step 4 - Enter the desired information as shown below. Select Create New Server from the Database Server drop-down list.
Step 5 - You will see the extra field. Enter the database server, username and the password and click on Ok.
Once the project is created, launch your application and you will see that it is running on localhost.
Step 6 - To deploy these apps to Azure, right click on the project in Solution Explorer and select Publish.
Step 7 - You will see the boxnext dialogue. Click Microsoft Azure Web Apps.
Step 8 - Select your app name from existing web apps and click OK.
Step 9 - Click on the Validate connection button to verify the connection on Azure.
Step 10 - Click on Next to continue.
You will now see that the connection string is already generated for you, by default.
Step 11 - Click Next to continue.
Step 12 - To check all the files and dlls that we will post to Azure, click on Start Preview .
Step 13 - Click Publish to publish your app.
Once the application published to Azure successfully, you will see the message in the output window.
You will also see that your application is now running from the cloud.
Now back to the Azure portal eYou will also see the App here.
SharePoint Apps and Microsoft Azure
SharePoint and Microsoft Azure are two big platforms on their own. SharePoint is one of Microsoft's main server productivity platforms or collaborative platform for business and the Web.
Microsoft Azure is Microsoft's operating system in the cloud. Separately, they have their own strengths, market viability and developer support.
Together they offer many powerful advantages. They are -
They help develop how and where you deploy your code and data.
They increase the opportunities to leverage Microsoft Azure while reducing storage costs and on-premise application failover.
They bring you new business models and offerings that you can deliver to your customers to increase your propres solutions offers.
In SharePoint 2010, Azure and SharePoi there were two separate platforms and technologies, which could be integrated quite easily, but they weren't part of the same system. However, in SharePoint 2013 this has changed.
SharePoint 2013 introduces different types of cloud applications. In fact, you can create two types of Azure built-in apps.
The first type of application is self-hosted and the second is provider-hosted (sometimes called self-hosted).
The main difference between the two is -
Automatically hosted apps natively support a set of Azure features such as websites and SQL Database with SharePoint development and deployment experience.
The applications hosted by the provider are intended to fit into a larger set ofweb technologies and standards as automatically hosted applications, including Microsoft Azure.
So you can take advantage of the entire Microsoft Azure stack when building provider-hosted applications that use Azure.