Azure Infrastructure Services Implementation Guidelines

Posted on Updated on

Azure is an excellent platform to implement dev/test or proof-of-concept configurations, since it requires very little investment to test a particular approach to an implementation of your solutions. However, you must be able to distinguish the easy practices for a dev/test or proof-of-concept environment from the more difficult, detailed practices for a fully functional, production-ready implementation of an IT workload.

This guidance identifies many areas for which planning are key to the success of an IT infrastructure or workload in Azure. In addition, it helps the implementation of solutions on the Azure platform by providing an order to the creation of the necessary resources. Although there is some flexibility, Microsoft recommends that you apply this order to your planning and decision-making.

  • Naming conventions
  • Subscriptions and accounts
  • Storage
  • Virtual networks
  • Cloud services
  • Availability Sets
  • Virtual machines

The full version of guide can be found here.

 

Microsoft Azure Services

Posted on

The following table illustrate the list of Azure Services,

ID Azure Services Description
1 API Management Azure API Management allows you to publish APIs to developers, partners and employees securely and at scale.
2 App Service Create apps faster with a one-of-a-kind cloud service that enables you to quickly and easily create enterprise-ready web and mobile apps for any platform or device and deploy them on a scalable and reliable cloud infrastructure.
3 Application Insights Application Insights is an all-in-one telemetry solution which can help you detect issues, solve problems and continuously improve your web applications by providing real-time, 360-degree views of your apps across availability, performance and usage.
4 Automation Azure Automation allows you to automate the creation, deployment, monitoring and maintenance of resources in your Azure environment using a highly scalable and reliable workflow execution engine.
5 Azure Active Directory Azure Active Directory (Azure AD) provides identity management and access control capabilities for your cloud applications. You can synchronise your on-premises identities and enable single sign-on to simplify user access to cloud applications. Azure AD is available in two tiers: Free and Premium. Azure Active Directory Premium is licensed separately from Azure Services.
6 Azure Search Azure Search is a fully managed service for adding sophisticated search capabilities to web and mobile applications without the typical complexities of full-text search.
7 Backup Azure Backup manages cloud backups through familiar tools in Windows Server 2012, Windows Server 2012 Essentials or System Center 2012 Data Protection Manager.
8 Batch Azure Batch makes it easy to run large-scale parallel and HPC workloads in Azure. You can use Batch to scale out parallel workloads, manage execution of tasks in a queue and cloud enable applications to offload compute jobs in the cloud.
9 BizTalk Services Azure BizTalk Services is a powerful and extensible cloud-based integration service that provides Business-to-Business (B2B) and Enterprise Application Integration (EAI) capabilities for delivering cloud and hybrid integration solutions.
10 CDN Azure CDN (Content Delivery Network) allows you to deliver high-bandwidth content to end users around the world with low latency and high availability via a robust network of global data centres.
11 Cloud Services Azure Cloud Services remove the need to manage server infrastructure. With Web and Worker roles, they enable you to quickly build, deploy and manage modern applications.
12 Data Factory Azure Data Factory is a managed service for developers to produce trusted information from raw data in cloud or on-premises sources. Easily create, orchestrate and schedule highly available, fault-tolerant workflows of data movement and transformation activities. Monitor all of your data pipelines and service health at a glance with a rich visual experience offered through the Azure portal.
13 DNS Azure DNS allows you to host and manage your DNS records in Microsoft Azure.
14 DocumentDB Azure DocumentDB is a fully managed NoSQL document database service that offers query and transactions over schema-free data, predictable and reliable performance and rapid development.
15 Event Hubs Azure Event Hubs enables elastic scale telemetry and event ingestion with durable buffering and sub-second end-to-end latency for millions of devices and events.
16 ExpressRoute Azure ExpressRoute enables you to create private connections between Azure data centres and the infrastructure on your premises or in a collocation environment.
17 HDInsight Azure HDInsight Service is a Hadoop-based service that brings an Apache Hadoop solution to the cloud. Gain full value of Big Data with a cloud-based data platform that manages data of any type and any size.
18 Key Vault Microsoft Azure Key Vault offers an easy, cost-effective way to safeguard keys and other secrets in the cloud using Hardware Security Modules (HSMs). Protect cryptographic keys and small secrets like passwords with keys stored in Hardware Security Modules (HSMs). For added assurance, import or generate your keys in HSMs certified to FIPS 140-2 level 2 and Common Criteria EAL4+ standards, so that your keys stay within the HSM boundary. Key Vault is designed so that Microsoft does not see or extract your keys. Developers can create new keys for dev/test in minutes and migrate seamlessly to production keys managed by security operations. Key Vault scales to meet the demands of your cloud applications without the hassle required to provision, deploy and manage HSMs and key management software.
19 Load Balancer Azure Load Balancer improves application reliability and provides load balancing for Internet and private network traffic.
20 Machine Learning Azure Machine Learning allows you to easily design, test, operationalise and manage predictive analytics solutions in the cloud.
21 Managed Cache Azure Cache is a distributed, in-memory, scalable solution that enables you to build highly scalable and responsive applications by providing super-fast access to data.
22 Media Services Azure Media Services offer cloud-based media solutions from many existing technologies, including ingest, encoding, format conversion, content protection and both on-demand and live streaming capabilities.
23 Mobile Engagement Maximise mobile apps usage and revenue with Azure Mobile Engagement – an SaaS-delivered, data-driven user engagement platform that enables real-time fine-grain user segmentation, app user analytics and contextually aware smart push notifications and in-app messaging across all connected devices. It closes the marketing loop for app developers and marketers, allowing them to get directly in touch with all of their customers in a personal, contextually aware and non-intrusive way, and at the right time.
24 Mobile Services Azure Mobile Services provides a scalable cloud backend for building Windows Store, Windows Phone, Apple iOS, Android and HTML/JavaScript applications. Store data in the cloud, authenticate users and send push notifications to your application within minutes.
25 Multi-Factor Authentication Azure Multi-Factor Authentication helps prevent unauthorised access to on-premises and cloud applications by providing an additional layer of authentication. Follow organisational security and compliance standards while also addressing user demand for convenient access.
26 Notification Hubs Notification Hubs provide a highly scalable, cross-platform push notification infrastructure that enables you to either broadcast push notifications to millions of users at once or tailor notifications to individual users.
27 Operational Insights Operational Insights enables you to collect, correlate and visualise all your machine data, such as event logs, network logs, performance data and much more from both your on-premise and cloud assets.
28 Redis Cache Based on the popular open-source Redis Cache, this gives you access to a secure, dedicated cache for your Azure applications.
29 RemoteApp RemoteApp helps employees stay productive anywhere, on a variety of devices – Windows, Mac OS X, iOS or Android.
30 Scheduler Azure Scheduler allows you to invoke actions that call HTTP/S endpoints or post messages to a storage queue on any schedule. In Scheduler, you can create jobs that reliably call services either inside or outside of Azure and run those jobs straight away, on a regular or irregular schedule, or set them to run at a future date.
31 Service Bus Azure Service Bus is a messaging infrastructure that sits between applications, allowing them to exchange messages for improved scale and resiliency.
32 Site Recovery Site Recovery helps you protect important applications by coordinating the replication and recovery of private clouds for simple, cost-effective disaster recovery.
33 SQL Database Azure SQL Database is a relational database service that enables you to rapidly create, extend and scale relational applications into the cloud.
34 Storage Azure Storage offers non-relational data storage, including Blob, Table, Queue and Drive storage.
35 StorSimple StorSimple offers a unique hybrid cloud storage solution that provides primary storage, archive and disaster recovery. Combined with Microsoft Azure, this solution optimises total storage costs and data protection. The Microsoft Azure StorSimple offering with 8000 Series is licensed separately from Azure Services.
36 Stream Analytics Stream Analytics is an event-processing engine that helps uncover insights from devices, sensors, cloud infrastructure and existing data properties in real time. With out-of-the-box integration to Event Hubs, the combined solution can both ingest millions of events as well as do analytics to better understand patterns, power a dashboard, detect anomalies or kick off an action while data is being streamed in real time.
37 Traffic Manager Azure Traffic Manager allows you to load-balance incoming traffic across multiple hosted Azure services – whether they’re running in the same data centre or across different data centres around the world.
38 Virtual Machines Azure Virtual Machines enable you to deploy a Windows Server or Linux image in the cloud. You can select images from a marketplace or bring your own customised images.
39 Virtual Network Azure Virtual Network enables you to create Virtual Private Networks (VPN) within Azure and securely link these with on-premises IT infrastructure.
40 Visual Studio Online Visual Studio Online provides a cloud-based ALM solution that handles everything from hosted code repos and issue tracking to load testing and automated builds. Best of all, it’s accessible from nearly anywhere and you can create an account for free. Visual Studio Online is licensed separately from Azure Services.
41 VPN Gateway Azure VPN Gateway enables you to establish secure, cross-premises connectivity between your Virtual Network within Azure and on-premises IT infrastructure.

Register Workflow Manager with SharePoint 2013

Posted on Updated on

This article describes how to register the SharePoint 2013 Workflow platform to work with SharePoint Server.

I Assumes you have already installed the Workflow Manager product and configured the Workflow Manager and Service Bus farms using either the Configuration Wizard or through PowerShell. Here, we shall go ahead and set SharePoint up to use the Workflow farm.

The Register-SPWorkflowService cmdlet  will be used to configure the SharePoint host to use a workflow service by using the SPSite and WorkflowHostUri parameters.

Syntax

Register-SPWorkflowService -SPSite <SPSitePipeBind> -WorkflowHostUri <String> [-AllowOAuthHttp <SwitchParameter>] [-AssignmentCollection <SPAssignmentCollection>] [-Force <SwitchParameter>] [-PartitionMode <SwitchParameter>] [-ScopeName <String>]

From <https://technet.microsoft.com/en-gb/library/jj663115.aspx>

Example

The following script will be used for http communication,

Register-SPWorkflowService -SPSite “http://SharePoint.Contoso.com” -WorkflowHostUri “http://WorkFlowManager.Contoso.com:12291/” -verbose -force

The following script will be used for https communication,

Register-SPWorkflowService -SPSite “https://SharePoint.Contoso.com” -WorkflowHostUri “https://WorkFlowManager.Contoso.com:12290/” -verbose -force

Validation

Once the above script is executed the following script can be used to validate the registration,

[Void][System.Reflection.Assembly]::loadwithpartialname(“Microsoft.SharePoint.WorkflowServicesBase”)

$web = Get-SPSite -Limit 1 -WarningAction SilentlyContinue | Get-SPWeb

$wfm = New-Object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)

$wfm | SELECT *

MS Reference:

How to hide a column of SharePoint list in different mode (Add / Edit / Display Mode)?

Posted on Updated on

Most of the time we have requirement like that this field should be shown only in new mode or it should not be shown only in Edit mode not in new mode.

We can hide it in view by not to show in grid view but what to do if you do not want to see that field in Dispforms.aspx?

Here is the way how to do that.
Option: 1
OBJECT MODEL

SPSite site = new SPSite(”http://Server:3000/”);
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates = true;
SPList list = web.Lists[”Sample”];
SPField objField = list.Fields[”Sample1″];
objField.ShowInNewForm = true;
objField.ShowInDisplayForm = false;
objField.ShowInEditForm = true;
objField.Update();
list.Update();

Option: 2
List Definition
You can hide column appearing in New/Edit/View/ form by creating custom list defination for the list.

For creating custom list defination you can refer following MSDN link:
http://msdn.microsoft.com/en-us/library/ms466023.aspx

Now to hide a column from New/Edit/View/ form, you need to update content types of your list schema. Following is steps to do this (Assuming you have created custom list defination, following the steps mentioned in above URL):
1. Open schema.xml from your custom feature folder
2. Locate Content Types XML node, under that locates the Field which you want to hide from Edit form, set the ShowInEditForm value to FALSE.

Following example hides the Title column of custom list appearing in Edit form:

<FieldRef ID=”{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=”Title” Required=”TRUE” ShowInNewForm=”TRUE” ShowInEditForm=”FALSE” />

SharePoint Site Template Size

Posted on Updated on

When you turn an existing site into a template and include the content, there is a size limit of 10 Mb by default. If you site content is greater than this, a site template will not be created.
You can change this maximum size using an stsadm command on the SharePoint server.

stsadm -o setproperty -propertyname max-template-document-size -propertyvalue  size_in_bytes
 
Where size can be up to 500Mb (524288000 bytes)

Windows PowerShell Out-Performing Stsadm Scenario

Posted on Updated on

The Developer needs to activate a feature across 5,500 site collections. By using Windows PowerShell to run the Stsadm command, he came up with the following script to automate the work:

foreach ($site in (get-spsite -limit 5000000 -Webapplication $WebApp))
{            
 Write-Host “Activating feature ” $solutionName “on” $site.url “…”;
 Write-Host stsadm “-o activatefeature -url” $site.url “-filename” $featureFileName;
 stsadm -o activatefeature -url $site.url -filename $featureFileName
   if( $lastexitcode -ne 0 )
   {             
               Write-Host “Something went wrong activating the site feature. Exit code: ” $lastexitcode “`n”  –               ForegroundColor Red;
               $failure = $true;
               $error.Clear();
    }
}

When he ran the script in her test environment, he found it took more than 12 hours to run. The Developer then decided to look for a better way of doing things. After talking to Grant, he found out there was built-in cmdlet to do this exact task. he then tried this script:

Get-SPSite –Limit ALL –WebApplication $WebAppNameorUrl |%{ Enable-SPFeature $FeatureIdOrName –url $_.Url }

The script ran in less than one hour. Lesson learned: If Stsadm.exe can do the operation, Windows PowerShell can do it too, and generally more efficiently.

SharePoint List Form Validation

Posted on Updated on

You Can Use “PreSaveAction()” Function to Execute any JavaScript Code in New or Edit Forms. When Pressing OK button this Function will be Executed First

You Can Use this Function For Validation without PostBack

PreSaveAction()
{
//
Add Your JavaScript Code Here Then Return True Or False

return false; // Cancel the item save process

return true; // OK to proceed with the save item
}