WebHooks in Asp.Net : A Visual Studio Extension

Before couple of weeks Asp.Net team has announced to support Web Hooks with Visual Studio. First of all let us see What is WebHooks? A WebHooks in web development is a method of augmenting or altering the behavior of a web page, or web application, with custom callbacks. These callbacks may be maintained, modified, and managed … Continue reading WebHooks in Asp.Net : A Visual Studio Extension

Agile with TFS 2015(Team Foundation Server)

Team foundation Server 2015 is out last month with tremendous new features. First of all let us see basic introduction for those who does not know what is TFS or those who did not work with TFS. Team Foundation Server (commonly abbreviated to TFS) is a Microsoft product which provides source code management (either via … Continue reading Agile with TFS 2015(Team Foundation Server)

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

Implement Sessions in Asp .Net 5(vNext) and MVC 6

Imagine you have created an MVC project and you are all set to create a session object because you want to save your current user email. But after few minutes you will realize that Session object is not working as it was before. Oh! Why is it so? It is because .Net team has created … Continue reading Implement Sessions in Asp .Net 5(vNext) and MVC 6

MVC 6.0.0-beta7 is released

Yes, You heard it right. .Net team has released beta7 of MVC 6 before 2 days and now it is available in Nuget as well you can directly download it. It contains some new features as well as some bug fixes for previous versions. What are some features from beta-7? 1. Client side validation of … Continue reading MVC 6.0.0-beta7 is released

Hello World with MVC 6

In this post we will see how to write your first application using MVC 6 and Visual studio 2015. We will go step by step. First of all let us add simple MVC 6 project. For that Open your Visual Studio 2015 and Create new project as shown below: and then select empty Asp.Net 5 … Continue reading Hello World with MVC 6

New JSON parser in vNext : No Comments (Yet!)

Few days ago .Net team has announced about new JSON parser in Microsoft.Framework.Runtime which removed the dependancy on Newtonsoft.Json Why did they removed dependency on Newtonsoft.Json? Because Using Newtonsoft.Json in the run time prevents customers from choosing a specific version of Newtonsoft.Json in their applications. This change will allow customers to use any version of Newtonsoft.Json in their … Continue reading New JSON parser in vNext : No Comments (Yet!)

Remove Extra View Engines : Thanks to @Glimpse

Note: Some developers may knew this already but if you do not then read it because it will be used to increase your performance. First of all what is View Engine? The view engine is responsible for creating HTML from your views. Views are usually some kind of mixup of HTML and a programming language. … Continue reading Remove Extra View Engines : Thanks to @Glimpse

@inject : New directive of MVC

Few days ago there was a long discussion going on in .Net MVC team between [Activate] and @inject. But recently they have announced that they are getting loud and clear positive feedback for @inject Ok, so first of all what is inject for? You might have seen this before whether in Java or in spring. Now … Continue reading @inject : New directive of MVC