Articles related to ASP.NET

Generic WEB API Over CosmosDb

Introduction What we aim to do We want a generic API that can handle CRUD to data in CosmosDB. Generic Controller Let's first set up our Controller endpoint that will allow us to read/write from the CosmosDB. The Controller is dynamic and hence accepts a type…

How To Easily Generate Data For SpecFlow Tests

I have been playing around with SpecFlow for writing tests at one of my recent clients. SpecFlow is a .NET open-source framework for Behavior Driven Development (BDD). BDD aims to create a shared understanding of how an application must behave. The Getting…

Azure AD Custom Attributes and Optional Claims from an ASP.Net Application

When using Azure Active Directory for managing your users, it is a common requirement to add additional attributes to your Users like SkypeId, employee code, EmployeeId and similar. Even though this happens to be a common need, getting this done is not that…

ASP.NET Web API and External Login - Authenticating with Social Networks

The ASP.NET Web API project created from the default template in Visual Studio 2013 comes with an option to choose the Authentication method. The 'Individual User Accounts' option of authorization will allow users of your API to authenticate using exisitng…

Getting Started with ASP.NET Web Api

A web api is to expose your application’s programming interface over the web,using the HTTP interface.This makes the api accessible from any device that can make HTTP calls.With the wide range of devices that’s available nowadays,Web Api would be the best way…

WCF to ASP.NET Web API

Windows Communication Foundation(WCF) brought around a unified programming model for building service oriented application.All the previous technologies that was used to build services like MSMQ, remoting, ASMX Web Services,all came under one umbrella. WCF had…

REST...after a long time

It's not been too long since I have been  into Web development,but I have already started hearing the buzz word every now and then. REpresentational State Transfer(REST). Aaron Skonnard left me with enough curiosity and confusions with his Why we need REST…