Azure Storage REST API: Authenticate with C#

Azure Storage REST API: Authenticate with C#

In one of my projects where I've been refactoring a traditional .NET project into a .NET Core project, I used the Azure Storage nugets. As of this posting, the current version of the NuGet supports .NET Core which is awesome - but the dependencies doesn't. Why is this a problem? Well, because if you want to migrate this code to run on .NET core and you rely on the Windows Azure Storage NuGet Package, it will not be possible to run it in .NET Core currently. That's why I chose to use the Azure Storage REST API instead for all…

Read More

Azure Resource Manager - Part 8 - Export Template for Resources in a Resource Group with the REST API

Azure Resource Manager - Part 8 - Export Template for Resources in a Resource Group with the REST API

Background This blog post will be about how to in the easiest way possible (well, as a developer anyway) export a JSON template from the Azure Resource Manager. If you're using the ARM (Azure Resource Manager) just like me and you aare automating a lot of tasks and deployments - one thing that sometimes happen is that a resource group deviates from the original template after being modified or additional resources were added manually, or any other valid approach that happens in the real world (even if they're not always ideal). Falling in line with this blog series, I'll show…

Read More

Azure Resource Manager - Part 7 - Download an Azure Publishing Profile (xml) programmatically using REST

Azure Resource Manager - Part 7 - Download an Azure Publishing Profile (xml) programmatically using REST

Background Around the web there's a lot of tips on how you can manually download the publishing profile for e.g. a Web Site, API App or other resource in Azure. From the modern Azure Portal this is very simple from the UI: However, one of the main things I've been searching for is a way to do this fully automated from my code, scripts or other automatic processes - in order to avoid those manual steps, but also to ensure that I always get the correct and updated data (like deployment credentials). In this post we'll take a look…

Read More

Azure Resource Manager - Part 6 - Move Azure Resources from one Resource Group to another

Azure Resource Manager - Part 6 - Move Azure Resources from one Resource Group to another

In the past recent months I've been turning inside out on various parts of Azure, including the Azure Resource Manager (ARM) and what it offers. If you're looking for the basics of getting started, please check out the other posts in this article series. Start here. Background I love how we can work with resources in Resource Groups, and keep them grouped for easy findability, configuration and manageability. One of the things I've been looking for is an automatic way to move resources between my resource groups. In this post we'll quickly check out how to do just that, using…

Read More

Integrating the Google Analytics API in SharePoint in order to enable users to review analytics data directly

Integrating the Google Analytics API in SharePoint in order to enable users to review analytics data directly

In one of the projects I’ve been involved we’ve looked at various solutions for providing analytics to users, site owners and system administrators. Most services offer a great way for webmasters or site administrators to review how their site or system is being visited – but there’s few options for letting the users of your system review specific data themselves. In order to get around this I built on top of the Google Analytics API’s, enabling my application to post queries for analytics data directly to the Google Analytics API. This enables (for example) a site owner…

Read More

Getting started with Office 365 development - Part 2 - Communicate with the Exchange REST API

Getting started with Office 365 development - Part 2 - Communicate with the Exchange REST API

This article is part of a series about “Getting started with Office 365 development”. Part 1 – Setting up your environment Part 2 – Communicate with the Exchange REST API Part 3 – Building a sample Web Forms application that integrated with Office 365 Part 4 – From development to production: Publish your app to Windows Azure Web Sites In this article we will take a quick look at how you can get started with constructing your own queries to fetch information from Exchange Online hosted in your Office 365 subscription. We will take a look at how you can dig into the REST…

Read More

SP 2013: Searching in SharePoint 2013 using the REST new API's

SP 2013: Searching in SharePoint 2013 using the REST new API's

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | @zimmergren Introduction Search has always been a great way to create custom solutions that aggregate and finds information in SharePoint. With SharePoint 2013, the search capabilities are heavily invested in and we see a lot of new ways to perform our searches. In this post I’ll show a simple example of how you can utilize the REST Search API’s in SharePoint 2013 to perform a search. REST Search in SharePoint 2013 So in order to get started, we’ll need to have an ASPX Page containing some…

Read More

SharePoint 2013: Business Connectivity Services - Talking to your external lists using REST

SharePoint 2013: Business Connectivity Services - Talking to your external lists using REST

Introduction As most if not all of you already know, SharePoint 2013 and Office 2013 has been released to preview/beta and is available for download from Microsoft’s download centers. In this article I will briefly introduce some exciting changes that has been made to the SharePoint 2013 Business Connectivity Services framework. I’ve written a bunch of articles on BCS for SharePoint 2010, and now it’s time to continue that track and introduce the new features available in SharePoint 2013. [blockquote] Please note that this article is written for SharePoint 2013 Preview, and for the final version…

Read More