In the previous post I described how to work with Azure Storage Queue Service and provided simple examples. In this post I will continue to work with Azure Storage Queue Service. I am going to describe more advanced scenarios and showcase them in code.
There are many ways to interact with Azure Storage Queue, one of them is from C# code using Windows Azure Storage Library. This client library enables working with the Microsoft Azure storage services which include the blob and file service for storing binary and text data, the table service for storing structured non-relational data, and the queue service for storing messages that may be accessed by a client. In this post I will show how to work with Azure Storage Queue Service.
Azure Queue storage is a service for storing large numbers of messages that can be accessed from anywhere in the world via authenticated calls using HTTP or HTTPS. It provides cloud messaging between application components. In designing applications for scale, application components are often decoupled, so that they can scale independently. Queue storage delivers asynchronous messaging for communication between application components, whether they are running in the cloud, on the desktop, on an on-premises server, or on a mobile device. Queue storage also supports managing asynchronous tasks and building workflows.
There are two ways to manage resources in Azure: Classic and Resource Manager. Resource Manager is the recommended way now, you can read more about resource manager at Azure Resource Manager overview. Microsoft will enable Resource Manager for every service that is important for future solutions, but until the support is consistent, you need to know the current status for each service. For example it is possible to use Azure Storage cmdlets in a resource manager context, you can mix them easily.
Azure PowerShell is a set of modules that provide command line interface to Azure. You can accomplish almost everything using Azure PowerShell. It's obvious now that Microsoft investing lots of effort into command line tools for its products and it's great! There are two command line interfaces implementation - PowerShell and Azure CLI. Personally I don't use Azure CLI very often because I primary work on windows systems, but people who work with *nix systems are first-class citizens now in Microsoft world, so they have their own tool. The funny thing is that Microsoft released PowerShell for Linux. So developers can use both Azure PowerShell and Azure CLI regardless operation system they use.
Recently I have encountered a strange error using HTML 5 video player and SharePoint 2013. Customers wanted to embed a few video files with subtitles to their portal. They used
mp4 videos and
WebVVT subtitles. The problem was that they didn't see subtitles in IE.
Html5 Video element is used to embed video content in a document. The video element contains one or more video sources. To specify a video source, use either the src attribute or the
<source> element; the browser will choose the most suitable one.
WebVTT is a format for displaying timed text tracks (e.g. subtitles or captions) with the
<track> element. The primary purpose of WebVTT files is to add text overlays to a
<video>. WebVTT is a text based format, which must be encoded in UTF-8 format. Where you can use spaces you can also use tabs. More information about WebVTT can be found here.
robocopy, it is much more advanced than
xcopy and can simplify lots of your every-day development&deployment tasks. The good thing about Office 365 sites, is that they can be mapped as network drives, so we can use
robocopy or any other console utility to interact with files and folder on a site in an old way, just like we did with SharePoint on-prem. Unfortunately some of the system lists are not availiable when using WebDav, for example Web Part Gallery. In this case you will have to fallback to powershell or CSOM. Also, it is possible to use SharePont Online REST interface to interact with different server-side objects. It is a more advanced topic, that I won't cover in this article.
In this article we will modify XSLT Style Sheets to get a list of available item-properties.
XSLT stands for Extensible Stylesheet Language Transformations, it is a language for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text or XSL Formatting Objects, which may subsequently be converted to other formats, such as PDF, PostScript and PNG. The original document is not changed; rather, a new document is created based on the content of an existing one. Typically, input documents are XML files, but anything from which the processor can build an XQuery and XPath Data Model can be used, such as relational database tables or geographical information systems.
If you are not familiar with XSLT, please refer to this tutorial XSLT Tutorial
Office 365 is the brand name Microsoft uses for a group of software and services subscriptions, which together provide productivity software and related services to subscribers. Office 365 offers plans providing e-mail and social networking services through hosted versions of Exchange Server, Skype for Business Server, SharePoint and Office Online, integration with Yammer, as well as access to the Microsoft Office software. There most customizable part of Office 365 is SharePoint. Many of you probably worked with SharePoint in one or another way.
SharePoint is an awesome platform, it has a lot of useful OOB features, it is usually a good idea to use Content Query Web Part or Content Search Web Part to aggregate content for end users. Both of these webparts have it is own limitations
We will use Content Query Web Part because we only need to display articles with given content type from a single site collection. Also, it provides a better user experience, because users don't need to wait until next search crawl finish.
Content Query Web Part is a part of the Enterprise Content Management (ECM) functionality in Microsoft Office SharePoint Server. It aggregates and displays list items within a site hierarchy. In addition to hierarchical query capabilities, the Content Query Web Part provides caching and query optimization for the
SPSiteDataQuery object that it contains. These optimizations have better performance than if you directly call methods of the