Powershell – SharePoint document library files report filtered by created date

1 vote, 5.00 avg. rating (94% score)


Give the date range and this powershell script will generate csv report with total number of files created in all the document libraries. Script will get all the document libraries of sites and its subsites. This can be used as reporting tool to get overview of the total number of documents that were created in specific time duration

What are covered in this script

  • Navigates each website and its subsite
  • CAML query in powershell with date range
  • Filter only document library
  • Queries documents with in folders also (scope is Recursive)
  • Output as CSV file

Read the rest of this post »

October 4, 2015 · Adi · No Comments

SharePoint Office 365 App Environment Setup

5 votes, 3.40 avg. rating (71% score)

In this article we will go through the roadmap of creating office 365 App Environment setup.

What it covers

  • Prerequisites
  • Setting up development environment
  • Creating developer site collection
  • Enable App “SideLoading” in Your Existing Site Collection for Developer feature
  • Setup Visual Studio Template


· Developer Machine with Windows 7 or above OS with minimum of 4 GB RAM and 40 GB free hard drive space

· Visual Studio 2013 ultimate/ Professional with Office Developer Tools

· An Office 365 tenant (or a configured SharePoint Server 2013 environment – VM or physical) or you can configure trail subscription for 30 days for a free Enterprise E3 Office 365 at https://deploy.office.com/getting-started


Setting up development environment

Read the rest of this post »

July 28, 2015 · Adi · No Comments

Get Sql Server 2012 Port and connection details

2 votes, 5.00 avg. rating (96% score)


This article covers how to get the port Sql Server is connected to and its connection details

 USE master GO XP_READERRORLOG 0, 1, N'Server is listening' GO 


So, 1035 is the port the sql server 2012 is listening to

The same thing can be viewed from Network configuration

Read the rest of this post »

July 23, 2015 · Adi · No Comments

Troubleshooting App Configuration in SharePoint 2013

3 votes, 4.33 avg. rating (87% score)


Anybody who has spent any time troubleshooting SharePoint Server issues, particularly in organizations that are so segmented that the DNS, AD, Network and Database folks won’t work with the SharePoint folks, knows that you have to learn a few tricks to determine if the problems are actually SharePoint problems or the result of DNS, AD, or other misconfigured network appliance. Any time I hear network folks tell me they “optimized” the network for my SharePoint Farm I cringe, wondering what they broke in the name of optimization. Here’s a tip if this happens to you, ask them to prove it. Ask them to show you before and after metrics that prove the optimization actually made a difference. This strategy has worked well in organizations that have some level of change management because it usually results in a pause for the initial state testing, and may provide you with a heads-up that “change is a-comin’”. The thing about configuring your farm for Apps is that many different folks are involved to make it work, some know SharePoint and some don’t, so you have to be able to test “OPC” (Other Peoples Configurations) to be sure they got it right. Remember, Apps are not just for SharePoint Apps, but are also used for things like Access Services (if you choose to deploy it), so this configuration is something you want to get “right”.

The Challenge with Apps

Usually I depend on using my HOSTS file to work around all manner of network and DNS issues, by changing the HOSTS file you can:

Read the rest of this post »

July 3, 2015 · Adi · No Comments

SharePoint Admin Tool – SPDocKit (premier tool)

1 vote, 5.00 avg. rating (94% score)


SharePoint Admin tool is one of very good tool in the market right now which I feel like a great utility to have. It provides very good features which are very important for managing the current SharePoint farm.

Use SPDocKit to generate SharePoint documentation, manage permissions, compare farms and track changes, enforce your governance policies, and much more

Following are the features which will certainly interest you

Generate SharePoint Documentation

Generate SharePoint Documentation

Automatically create professional-looking documentation containing all the farm configuration settings. With just a few mouse clicks, save hours and hours of manual work.

Read the rest of this post »

June 29, 2015 · Adi · No Comments

Get SharePoint 2013 Dev/Test or POC environments

4 votes, 4.75 avg. rating (93% score)


Are you in need of a SharePoint Server 2013 dev/test or proof-of-concept environment? Check out these four options:

  • Basic configuration for an Internet-facing farm (3 servers)
  • High-availability configuration for an Internet-facing farm (9 servers)
  • SharePoint 3-tier configuration emulating an intranet farm (5 servers)
  • SharePoint intranet farm in a hybrid cloud (6 servers)

Basic configuration for an Internet-facing farm

Here is the basic, Internet-facing farm.


Read the rest of this post »

June 16, 2015 · Adi · No Comments

FaceBook, Twitter, Googlge login for WebForms, MVC and WebPages

1 vote, 5.00 avg. rating (94% score)


Implementing OAuth and OpenID (Facebook, Twitter, Google) in Asp.Net is quite easy and you will wonder how quickly we can set up external login mechanism to Asp.Net application. You might end up searching many how to articles, but this is one of the best and simple article

This post highlights how you can turn on support for logging through these services in the project  templates. Head over the following video to get a quick glance on this feature

Read the rest of this post »

June 7, 2015 · Adi · No Comments

Microservices Introduction

3 votes, 5.00 avg. rating (97% score)


We will go for a while thinking out of SharePoint and .Net solutions. This guest post by Chris Richardson, founder of original CloudFoundry.com is very impressive and could not resist sharing on adicodes.com.

About Chris Richardson: Chris is the founder of the original CloudFoundry.com, an early Java PaaS (Platform-as-a-Service) for Amazon EC2. He now consults with organizations to improve how they develop and deploy applications. He also blogs regularly about microservices at http://microservices.io.

Microservices are currently getting a lot of attention: articles, blogs, discussions on social media, and conference presentations. They are rapidly heading towards the peak of inflated expectations on the Gartner Hype cycle. At the same time, there are skeptics in the software community who dismiss microservices as nothing new. Naysayers claim that the idea is just a rebranding of SOA. However, despite both the hype and the skepticism, the Microservice architecture patternhas significant benefits – especially when it comes to enabling the agile development and delivery of complex enterprise applications.

This blog post is the first in a 7-part series about designing, building, and deploying microservices. You will learn about the approach and how it compares to the more traditional Monolithic architecture pattern. This series will describe the various elements of the Microservice architecture. You will learn about the benefits and drawbacks of the Microservice architecture pattern, whether it makes sense for your project, and how to apply it.

Let’s first look at why you should consider using microservices.

Building Monolithic Applications

Let’s imagine that you were starting to build a brand new taxi-hailing application intended to compete with Uber and Hailo. After some preliminary meetings and requirements gathering, you would create a new project either manually or by using a generator that comes with Rails, Spring Boot, Play, or Maven. This new application would have a modularhexagonal architecture, like in the following diagram:


Read the rest of this post »

June 5, 2015 · Adi · No Comments

ASP.Net Web API with ASP.Net Web Forms

4 votes, 4.00 avg. rating (81% score)

Although ASP.NET Web API is packaged with ASP.NET MVC, it is easy to add Web API to a traditional ASP.NET Web Forms application. Tutorial for using Web API with Asp.Net Web Forms


To use Web API in a Web Forms application, there are two main steps:

  • Add a Web API controller that derives from the ApiController class.
  • Add a route table to the Application_Start method.

Read the rest of this post »

June 1, 2015 · Adi · No Comments

Dynamic Multi Level Menu Recursion in C#

9 votes, 4.00 avg. rating (80% score)


This is code snippet how to develop multi level menu with UL and LI structure. Thought to write simple one as it will help many web application developers to develop multi level menu(n level) very easily


All you need to do it is just grab the free css and apply, code is here now


Read the rest of this post »

May 17, 2015 · Adi · 2 Comments