Create Custom SharePoint 2016 List

To create a custom SharePoint list, please follow the below steps:

Go to Settings Gear >> Site contents

Click on add an app

Click on Custom List

Add your list name, consider it like a table in SQL Server and then click Create


After SharePoint create you list, you find your list as below


Click on your list name, in our case Customers

Now, you can create by clicking on “new item

Fill the required data and click on Save




Visual Studio 2012 unable to launch IIS express web server

In Visual Studion 2012, whe you create a new web project and try to start or view web application in browser, you may get the below error:

Unable to lunch the IIS Express Web server.


  1. Right click on project >> properties

  2. Choose web tab and select “Use Visual Studio Development Server”

Upload File Using WebApi

Below is the method you need to add to your ApiController to catch a file upload from client.

public async Task Upload()
MultipartMemoryStreamProvider stream = new MultipartMemoryStreamProvider();
await Request.Content.ReadAsMultipartAsync(stream);

// in case of multiple files uploading
foreach (HttpContent c in stream.Contents)
if (!string.IsNullOrEmpty(c.Headers.ContentDisposition.FileName))
// read file bytes and file name
string fileName = c.Headers.ContentDisposition.FileName.Replace("\"", string.Empty);
byte[] fileBytes = await c.ReadAsByteArrayAsync();

return Ok();

Project Server tab is Missing in TFS Workitem

If you mapped project plan to TFS team project, and after mapping you found that the Project Server tab is missing in TFS work-item form, then make sure that you are not using the key /skipUIChanges in the below command.

TfsAdmin ProjectServer /MapWorkItemTypes /collection:tpcUrl /teamProject:TeamProjectName /workItemTypes:ListOfWorkItemTypes

Enable IIS Dynamic Compression

IIS compression increase the performance and decrease the usage of network bandwidth.

There are two types of IIS compression:

  • Static: compress and cache compressed files like (*.html, *.htm,*.doc, *.xls, *.ppt,*.txt)
  • Dynamic: compress each http request without cache.

To enable Dynamic Compression ,please follow the below steps:

Windows 8

Go to Control Panel > Programs and Features





Turn Windows features on or off

Internet Information Services > World Wide Web Services > Performance Features


Windows Server 2008 R2

Go to Server Manager > Roles > Web Server (IIS) > Add Role Services



Windows Server 2012

Server Manger > Dashboard > Add roles and features