Unit testing in Asp .Net 5(vNext) and mvc 6 using XUnit

In this post we will see how to create Unit tests for Asp. Net 5 (vNext) projects. We will go step by step. First of all Let us see what is xUnit? xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net … Continue reading Unit testing in Asp .Net 5(vNext) and mvc 6 using XUnit

Enable CORS in Asp .Net 5(vNext) and MVC 6

Before going for the basic question "What is CORS?", Let us take a scenario related to that. Let us start from very basic example. Suppose there are 2 URLs which are as below: http://Alphabet.com/abc.html http://Alphabet.com/xyz.html Here above both URLs looks almost same so let us call it "same origin". Now, after making little twist we … Continue reading Enable CORS in Asp .Net 5(vNext) and MVC 6