Archives for September 2014

Popular Misconceptions About SharePoint [Infographic]

SharePoint is a web application framework and platform developed by Microsoft. It was first launched by Microsoft with the aims to integrate intranet, content management, document management and many more. Using SharePoint, you’ll have a more centralized administration, better collaboration with team members, site consolidation, security and integrity and customizable all while making it easy to use.

Most use it as a CMS, but it can do more than that.

However, since it is Microsoft, a tech giant, many of its competitors tend to bring them down by spreading rumors about SharePoint.

In this post, we’ll show you through infographic the common misconceptions of Microsoft SharePoint.


Why MVC is Better Over Webforms

This article would be using two terminologies ASP.NET WEbforms and ASP.NET MVC. If you have watched the recent Microsoft Agenda, you’ll clearly see that they are focusing on MVC. The question to why Microsoft is so keen to dump ASP.NET Webform and persuade using ASP.NET MVC is still trivial.

So this is what the article will focus on. If you have observed, developers usually drag and drop user controls on the designers and the VS tools codes in behind the code.

When you drag and drop a button control on the designer, a button object is created and developers can write a code in the click event of the button object.

Read the rest of the post here:

Authentication Filters in ASP.NET Web API 2

Authentication filters let you set an authentication scheme for individual controllers or actions. In this way, your app can support various authentication mechanisms for different HTTP resources. Like other filters, authentication filters can be applied per-controller, per-action, or globally to all Web API controllers.

To apply the authentication filter to a controller, decorate the controller class with the filter attribute. The code sets the IdentityBasicAuthentication] filter on a controller class, which enables Basic Authentication for all of the controller’s actions.

In this article, the sample shows an authentication filter that implements the HTTP Basic Access Authentication scheme.

Read the rest of the tutorial here:

SharePoint 2010 vs SharePoint 2013 [Infographic]

SharePoint is a web application framework and platform developed by Microsoft. SharePoint can provide intranet portals, document and file management, collaboration, extranets, websites, enterprise search and business intelligence. SharePoint provides a simple, familiar and consistent user experience, simplicity, particularly in business activities, helps meet regulatory requirements, simplify access to business data , accelerate  shared business process, and enables employees to make better-informed decisions.

Most SharePoint users stick to what they are accustomed to probably to save cost and eliminate the tedious learning curve of new software. SharePoint 2010 is outdated and businesses who want to stay up to the competitive edge should make a shift to SharePoint 2013.

Here’s an Infographic of the benefits of SharePoint 2013 over SharePoint 2010:



Create a News Page Layout using Content Type in SharePoint 2013

Sometimes we have to create a sub-site for news or events or anything like this. This guide will go on and explain not only how to do it, but to make this the default page layout of the publishing site. Once it’s done, you can make a content query in the root site to preview the news articles. And finally, using variation, you can create a similar publishing sub site in other languages.


First, open Visual Studio 2013 and create a new Project of type SharePoint Solutions. Create a new SharePoint 2013 empty project.

Next is to configure the SharePoint from the following settings based on this guide below:

How To Determine If The User Is Running IE in Compatibility Mode

As more websites use HTML5 and 3rd party controls that use HTML5, we do not want users to view this in the browser’s compatibility mode as these elements will to show. Most websites require users to view the page in compatibility mode to be rendered properly. However, this is not a problem today as most browsers are equipped to view the website using any browser without problems. However, if you have just transitioned to newer web technologies and your users are used to viewing your site in compatibility mode, then this is the solution to your problem.

Here’s a quick guide to determine if your users are running IE in compatibility mode:

Prevent an MVC Application from CSRF

CSRF or Cross Site Request Forgery attack is a potential vulnerability for MVC applications. The best way to prevent this attack in MVC application is to use Anti-Forgery Token.

Anti-Forgery token is mainly used in form POST actions to verify the source of the POST data. In this method, for each page request, the web server sends a cookie to the client poster. While posting the data or next request time, the web server uses this cookie for client authentication. If the request  comes from unauthorized site, the cookie will be null or invalid.

Adding [ValidateAntiForgeryToken] above the controller and @Html.AntiForgeryToken() in the view page can prevent cross-site requests forgery.

Read the rest of the post here:

Why Use ASP.NET for Web Development

Why use ASP.NET when you can do it easier with PHP, Node.js and other programming language? There are some things that makes ASP.NET better than most of the programming languages out there. Sure PHP and Node.js is free, most particularly, it is open source; however, if you do not want to modify the software to fit your needs, then you might not have use for it. Most people who use open-source software is because they have the freedom to modify the package of the language to better suit for themselves. This is the reason people prefer open source over proprietary software.

Read the rest of the post here:

SharePoint 2013 for Developers: See What’s New

SharePoint 2013 introduced many interesting features for developers and this included development tools as well as plenty of enhancements, platfrom-level enhancements, mobile apps, and Cloud App model. Here are some key enhancements for SharePoint 2013 for developers:

Support for common web standards.

Platform enhancements

New development tools and plenty of development tools enhancements.

SharePoint 2013 Cloud App Model

Enterprise content management

Social support and collaboration.

And plenty of features and enhancements.


This provides developers a good overview of the exciting features available in this new version. Play around with them to learn more about the features.

Read the rest of the update here:

Repository Pattern Done Right

The repository pattern is very useful since the introduction of OR/M libraries. A repository mediates between the domain and data mapping layers which acts as an in-memory domain object collection. The Client objects construct query specifications declaratively and submit them from the Repository for satisfaction. Objects are then added to and removed from the Repository, as they can from a simple collection of objects and the mapping code encapsulated by Repository will be carried out with appropriate behind the scenes.

The repository pattern is an abstraction. The purpose of it is to reduce the complexity of the code and make the rest of it code persistent ignorant.

Read the rest of the post here: