Using SignalR in ASP.NET 5

Long back I did some post on SignalR, A collaboration White Board using HTML 5 and SignalR. In this post I am converting that solution to work with ASP.NET 5. To use SignalR, you need to add “Microsoft.AspNet.SignalR.Server” reference in the project.json file. { "dependencies": { "Microsoft.AspNet.Diagnostics": "1.0.0-beta1", "Microsoft.AspNet.Hosting": "1.0.0-beta1",...


Creating a WCF service proxy with ChannelFactory

A proxy, in its most general form, is a class functioning as an interface to something else. The proxy could interface to anything: a network connection, a large object in memory, a file, or some other resource that is expensive or impossible to duplicate.(From wiki). In case of WCF, proxy...


Windows is trying to configure Visio upon Application Start-up

This post is not related to anything programming :) In my system, when launching Visio, the application will pause while displaying “Please wait while Windows configures Microsoft Visio”. And after sometime, it shows the main window. I tried repair, but it was not working. Today I found a similar Microsoft...


How to deploy your nuget packages locally

In ASP.NET 5, everything is nuget package. If you are developing a class library, that is also has to be a nuget package, which you can add as dependency in a different project.json file. This post will help you to build nuget package and deploy it locally. To build nuget...


Generate unit tests for your code using Smart unit tests

Smart Unit Tests is a new feature in Visual Studio 2015, Smart Unit Tests helps developers to explore their .NET code to generate test data and a suite of unit tests. For every statement in the code, a test input is generated that will execute that statement. A case analysis...


Creating Unit Tests for ASP.NET MVC 6 Applications

This post is about unit testing ASP.NET MVC 6 applications. Unlike MS Test, this post is using XUnit Framework, which is the currently used unit testing framework for ASP.NET 5 applications. Similar to TestMethod, XUnit uses Fact / Theory attributes. You can find more comparison details here. Unit testing class...


K-MUG User Group Meeting On 20th December - Kochi

Kerala Microsoft User Group (K-MUG) is conducting monthly UG meeting on 20th December 2014, Kochi Venue: Startup Village, Kinfra Hi-Tech Park, Kalamassery, Kochi, Kerala. Agenda 02:00 - 02:10 Community updates 02:10 - 02:50 C# 6.0 - New Features by Anuraj P 02:50 - 03:30 Object/Relational Impedance Mismatch by Aravindan M...