English 中文(简体)
SharePoint - Azure Platform
  • 时间:2025-02-21

SharePoint - Azure Platform


Previous Page Next Page  

In this chapter, we will be covering the Microsoft Azure Platform. Microsoft Azure is Microsoft’s cloud platform technology, which is in itself a very powerful technology. It is not just a place to deploy your code, but it is a whole set of services exists that you as a developer can use in your SharePoint solution development.

Cloud Computing

To understand Microsoft Azure, you must first know a bit 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. They are −

    Infrastructure as a Service (IAAS)

    Platform as a Service (PAAS)

    Software as a Service (SAAS)

Each one of these categories is different in the context of development. For instance, you might think −

    IAAS as hosted virtual machines (VMs) you manage remotely.

    PAAS as where you deploy code, data, binary large objects (BLOBs), web apps, and other apppcation artifacts to a cloud-based environment (such as Windows Server 2012 R2 and IIS).

    SAAS as subscription-based services that you can sign up to use, for example, Office 365.

Although these three categories of services dominate the way in which the cloud is characterized, the cloud has four generally accepted pillars −

    Pool resources with other cloud users.

    Manage your own services and apps through the management portal.

    Apps and services can grow and contract with your business needs.

    Pay for only what you use in regards to the cloud.

Azure Platform Overview

The Microsoft Azure platform is composed of many different services. You can leverage them in your apppcation design, deployment, and management such as Data, Service, and Integration, which is the Cpent layer in any apppcation that consumes the services within Microsoft Azure.

Data Layer

In Data layer there are number of different types of data storage mechanisms or features that map directly to data storage which contains both non-relational and relational.

Non-relational Feature

The non-relational storage features enable you −

    To store assets such as virtual machine images or images or videos in Blobs

    Create non-relational tables

    Manage message queues along a service bus, and manage data caching in your distributed apppcations

Relational Feature

The relational data features are as follows −

    The core Azure SQL Database, which is the cloud version for the on-premises SQL Server

    Reporting services (SQL Reporting)

    The abipty to stream near real-time data streams from data transactions (Stream Insight)

Services Layer

The Services layer contains a number of default services that you can use when building your solutions, ranging from Media Services to core Cloud Services such as −

    Creating websites

    Worker role classes

    Leveraging Hadoop on Microsoft Azure to process Big Data requests

For many of these services, you can use baked-in functionapty and a set of APIs within your apppcation. For example, if you want to build a multimedia learning solution, you could leverage the Media Services −

    To upload WMVs

    Transcode them to MP4s

    Save them to BLOB storage

    Create a pubpc URL for access and then stream them from Microsoft Azure

Integration Layer

The Integration layer contains some fundamental services such as −

    Geo-reppcated content depvery network (CDN)

    Traffic Manager

    Virtual Private Network, which enables you to connect a virtual machine to your on-premises system

    Workflow and business process and integration services

All of these capabipties enable you to integrate systems or secure them.

Azure Apps

Microsoft Azure is not just about services. Azure is an ever-evolving cloud platform that has a set of tools and SDKs that enable you to get started with the developing of cloud apppcations quickly.

To start with Microsoft Azure you need the following −

    Visual Studio latest

    Microsoft Azure subscription

    Microsoft Azure subscription

Step 1 − Let us have a look at a simple example in which we will deploy our web apppcation to Microsoft Azure by creating a new ASP.NET MVC apppcation.

ASP.NET MVC apppcation

Step 2 − Cpck Ok and you will see the following dialog box. Select MVC template, check Host in the Cloud checkbox and then cpck OK.

Host in Cloud

Step 3 − When the Configure Microsoft Azure Web App Settings dialog appears, make sure that you are signed in to Azure. If you are not signed in, then first sign in.

You can see the default name, but you can change the Web App name.

Web App name

Step 4 − Enter the desired information as shown below. Select Create new server from the Database server dropdown pst.

Create New Server

Step 5 − You will see the additional field. Enter the Database server, username and password and cpck Ok.

Database Server

Once the project is created, run you apppcation and you will see that it is running on localhost.

Running on Localhost

Step 6 − To deploy these apppcations to Azure, right-cpck on the project in solution explorer and select Pubpsh.

Select Pubpsh

Step 7 − You will see the following dialog box. Cpck the Microsoft Azure Web Apps.

Microsoft Azure Web Apps

Step 8 − Select your apppcation name from the Existing Web Apps and cpck OK.

Existing Web Apps

Step 9 − Cpck the Vapdate Connection button to check for the connection on Azure.

Vapdate Connection

Step 10 − Cpck Next to continue.

Cpck Next

Now you will see that the connection string is generated for you already, by default.

Connection String

Step 11 − Cpck Next to continue.

Pubpsh Web

Step 12 − To check all the files and dlls, which we will be pubpshing to Azure, cpck Start Preview.

Start Preview

Step 13 − Cpck Pubpsh to pubpsh your apppcation.

Pubpsh

Once the apppcation is successfully pubpshed to Azure, you will see the message in output window.

Message

You will also see that your apppcation is now running from the cloud.

Apppcation Running from Cloud

Now let us go to the Azure portal again and you will see the app here as well.

Azure Portal

SharePoint Apps and Microsoft Azure

SharePoint and Microsoft Azure are two sizeable platforms unto themselves. SharePoint is one of Microsoft’s leading server productivity platforms or the collaborative platform for the enterprise and the Web.

Microsoft Azure is Microsoft’s operating system in the cloud. Separately, they have their own strengths, market viabipty, and developer following.

Together, they provide many powerful benefits. They are −

    They help expand how and where you deploy your code and data.

    They increase opportunities to take advantage of the Microsoft Azure while at the same time reducing the storage and failover costs of on-premises apppcations.

    They provide you with new business models and offerings that you can take to your customers to increase your own solution offerings.

In SharePoint 2010, Azure and SharePoint were two distinct platforms and technologies, which could be integrated easily enough, but they were not part of the same system. However, in SharePoint 2013 this has changed.

SharePoint 2013 introduces different types of cloud apppcations. In fact, you can build two types of Azure integrated apppcations.

The first type of apppcation is Autohosted, and the second is Provider-hosted (sometimes referred to as self-hosted).

The major difference between the two is −

    Autohosted apppcations natively support a set of Azure features such as Web Sites and SQL Database with the SharePoint development and deployment experience.

    Provider-hosted apppcations are meant to integrate with a broader set of web technologies and standards than Autohosted apppcations, one of which is Microsoft Azure.

Thus, you can take advantage of the entire Microsoft Azure stack when building Providerhosted apps that use Azure.

Advertisements