-->

09/07/2014

Azure Web Sites, Cloud Services and Virtual Machines comparison

This post is completely consumed from Microsoft Azure site . . . But i found this information really useful and would like to archive on my blog as well.

Azure offers several ways to host your web applications, such as Azure Web SitesCloud Services, and Virtual Machines. After looking at these various options, you might be unsure which one best fits your needs, or you might be unclear about concepts such as IaaS vs PaaS. This article helps you understand your options and helps you make the right choice for your web scenario. Although all three options allow you to run highly scalable web applications in Azure, there are differences which can help guide your decision.
In many situations, Azure Web Sites is the best option. It provides simple and flexible options for deployment and management, and it is capable of hosting high-volume web sites. You can quickly create a new web site with popular software, such as WordPress, from the Web Application Gallery, or you can move an existing web site to Azure Web Sites. Using the Azure WebJobs SDK (currently in preview) you can also add background job processing.
You also have the option to host web applications on Azure Cloud Services or Azure Virtual Machines. These options are good choices when your web tier requires the additional level of control and customization that they provide; however, this increased control comes at a cost of increased complexity in application creation, management, and deployment. The following diagram illustrates the trade-offs among the three options.

06/07/2014

Windows Phone Emulator Issues

One of the coolest thing about emulators is "No need to own devices to test".
Thats what i thought before i tried new "Windows 8.1 Phone Emulator" in Visual studio 2013.

But with no of issues i encounter in executing an emulator, i decided better share a post with all different error and one single resolution for most of the issues.

Root Cause: Windows Phone emulator requires Hyper-V components to be up and running on your Windows 8.1 machine / Virtual machine. Find all the requirements from here.

02/07/2014

Introduction to Azure

Let me begin this article by asking "Do you know how painful it is to maintain infrastructure?" and "How much it costs to meet customers demands at peak hour?".

Humongous amount of money will be spent by companies to keep up with these peak scenarios.
But what happens at night, hardly there will be any traffic, but companies already invested in huge infrastructure.
They have to maintain them irrespective of the demand. This is one big problem with on-premises model.

Now lets look at Cloud, this image speaks a thousand words and saves thousands of bucks.
Yes, its true. Pay what you use, and there is a high level of flexibility on the resources you use based on the traffic and demand. Extensiblity is no more a hassle and its just a button click away.

08/05/2014

Bulk "Undelcare" and "Send To" in SharePoint

Recently i have a small issue with Information management policies in one of the sharepoint environments.
So as a result i have nearly 10,000 records which need to be moved across to another Site collection.

In order to undeclare a record, i need to go to complaince details of each document and click that "Undeclare record" button.

Now coming to "Send To" functionality, i need to open context menu of each item and select the specific "Send to" connection.

Now i cannot do this for 10,000 documents. So this is why i love Powershell.

16/02/2014

“Napa” Development Tool for Office 365 Apps

The “Napa” Office 365 Development Tools make it easy to start building apps for Office and SharePoint without leaving your browser or installing software.

When we jump to Office 365 and try to install Napa, you might get error saying :
"We need your help to make this app work:
Turn on Developer Feature
"


This means we need to have a developer site created to use Napa tools.
Now go to SharePoint work space in Office 365.



Once you are on SharePoint Admin Center, try creating a Site collection. Please note that you cannot create a new Public site collection until you subscribe(not available in trail version).

04/12/2013

SharePoint - Copy Files / Documents from Search screen using JavaScript

One of the major enhancement of SharePoint 2010 is "Content Organizing" which makes it more strong in "Document Management System (DMS)" race.

Content Organizing means, the content automatically routed to different destinations based up on various factors.

Best part of it, content is organized without any manual intervention.

Worst part of it, Data / Docs are scattered across site collection or whole web application.

Lets consider a scenario, where the user uploaded 20 documents which were organized into multiple libraries in a site collection. Now i want to bring all that 20 docs to one single library where the user can edit them and resubmit.

Let me show you what i am aiming for.


First Question "Why Search?"

13/11/2013

Document Center Vs Record Center - SharePoint 2010

This is not a new discussion, there are lot of links talking about differences between Document Center and Record Center.

Let me summarize what you may get going through most of the sites:

Document Center: This is meant for Document Collaboration and mostly for Live Documents. Basically is like your File Server , except that you have searching and indexing capabilities.

E.g., If a team is working on a project, and there will be lot of documents which all team members will be Creating / Reading / Updating / Organizing. DC suites this purpose.

Record Center: This is meant for Document Retention and mostly for Read-Only documents.

E.g., Once the project is completed all the documents will be saved and secured for further references. These documents are not meant to be modified. RC suites for this purpose.


16/08/2013

Basics of Sharepoint Search

In this post we discuss about basics of sharepoint search.
Below are the concepts which we cover in this post.
  • Components of Search
  • Enabling / Understanding Search Service Application
  • Sharepoint Content Source
  • Crawl Rules
  • Crawl Logs
  • Setting-up Enterprise Search
  • Crawl Properties / Search Schema
  • Search Managed Properties / Search Schema

04/08/2013

Mtom Encoding in WCF

In this post we will cover
  • What is MTOM Encoding
  • MTOM Vs Text Encoding
  • Reasons to choose MTOM
  • Demo

MTOM (Message Transmission Optimization Mechanism) – WCF supports 3 encodings (in context of WCF, encoding means converting a WCF message (serialized XML InfoSet) into bytes) – Text, MTOM & Binary. All Http Bindings (Basic, WS, Dual, etc.) support Text / MTOM encoding, Text being the default one.

Why MTOM?
Problem with Text Encoding is it uses base 64 encoding format which can inflate the message size by 30%. This can be a heavy penalty while carrying large binary attachments.
On the otherhand, MTOM avoids base 64 encoding for binary attachments keeping the overall size of message in control. Moreover, MTOM is based on open specifications & hence is largely interoperable.

Enough of theory... Let's do a demo to concretize the concept.

For this, i have created a simple WCF service. Below image will describe what we intend to do.





03/08/2013

Integrate Yammer into Sharepoint 2013

In this post we see how to integrate Yammer features into SharePoint Server 2013. You can achieve this by installing the Yammer app for SharePoint and embedding your Yammer feeds.

 Step 1: Get the app from the Store

Important: Use an account that is a member of the farm administrators group to perform this step. Do not use the farm administrator account that was used to install and configure SharePoint Server 2013. The farm administrator account cannot import app licenses because that could result in performance problems. For more information, see http://technet.microsoft.com/en-us/library/fp161231.aspx. You can add additional farm administrators to the farm administrators group in Central Administration. When in the online store, you will need a Microsoft account to add the app successfully.