Angular JS CRUD operations with ASP.NET5 - Part 1

This post is about implementing CRUD operations with Angular JS and ASP.NET5. The ASP.NET5 is different from the earlier versions of ASP.NET Framework. You can build ASP.NET 5 apps in Mac and Linux using VS Code and DNX. In this post I am configuring the development environment. You can add...


Locate in TFS - Visual Studio Extension

This post is about a small but useful Visual Studio Extension, Locate in TFS. This extension will help you to locate the currently selected item in solution explorer, in Source control explorer. Opens up the Source Control Explorer window to the location of the currently selected file. This works from...


ASPNET 5 EntityFramework.SQLite for x64 platform

By default EntityFramework.SQLite will not work with x64 platform. Here is the tweak which helps you to target your ASP.NET 5 application for x64 platform. Find the package install location. This could be %USERPROFILE%.dnx\packages\Microsoft.Data.Sqlite(version)\ - Since I am using beta 8, it is 1.0.0-beta8. Create following two folders inside the...


Configuring ASP.NET identity with Sqlite

This post is about configuring the ASP.NET identity with Sqlite Database. In ASP.NET5, you can configure the identity to use Sqlite by modifying the DbContext. Instead of using SqlServer, you can use Sqlite. Here is the Startup.cs, configure services method. public void ConfigureServices(IServiceCollection services) { services.AddMvc(); services.AddEntityFramework() .AddSqlite() .AddDbContext<TodoDbContext>(); services.AddIdentity<ToDoUser,...


Dependency injection with AutoFac in ASP.NET 5

ASP.NET5 comes with inbuilt dependency injection framework. This post is about using Autofac DI framework instead the in built DI framework. You can find more details about ASP.NET5 DI Framework in ASP.NET5 DependencyInjection respository. And you can find more details about Autofac in Autofac documentation First you need to refererence...


Enabling GZip Compression in ASP.NET5

Compression is an easy and effective way to reduce the size and increase the speed of communication between a client and remote resource. Two common compression algorithms used on the web are GZip and Deflate. The Accept-Encoding header is used by a client to restrict the encoding types that are...


dnx-watch - A no-compile developer experience

If you’re using Visual Studio 2015 for ASP.NET 5 development, you can leaverage no-compile developer experience from Visual Studio, powered by Roslyn. This feature helps developers to see the code changes without compiling the source code. This feature was not available for DNX / K runtimes. There are some third...