Blog

Blog posts on .NET, Azure, and more.

Angular JS CRUD operations with ASP.NET5 - Part 4

November 30, 2015 by Anuraj

Angular JS ASP.NET5 Unit Testing Code coverage Javascript

This post is about Angular JS unit testing. This post is using Jasmine; Jasmine is a behavior-driven development framework for testing JavaScript code. For testability I have modified the controller code little bit. Here is the controller.

Angular JS CRUD operations with ASP.NET5 - Part 3

November 24, 2015 by Anuraj

Angular JS ASP.NET5 Unit Testing Code coverage Javascript

As I mentioned in the last post, this post is about client side implementation. Hope you have a basic understanding about Angular JS. If not, please have look into the Angular JS tutorial page. Angular JS comes with two Ajax implementations to communicate to server. One $http and $resource. In this post I am using $http service.

SonarLint for Visual Studio 2015

November 18, 2015 by Anuraj

C# SonarLint .NET Code quality

This post is about a Visual Studio extension - SonarLint, which helps to write better code. Few months back I wrote few blog posts about Sonaq Qube - a code review tool. SonarLint is also from the Sonarsource team.

Angular JS CRUD operations with ASP.NET5 - Part 2

November 17, 2015 by Anuraj

Angular JS ASP.NET5 Unit Testing Code coverage Javascript

This post is about the server side controller implementation. If you’re using previous versions of ASP.NET, you need to use Web API or REST enabled WCF services. ASP.NET5 comes with unified development experience, so don’t need to specify whether it is an MVC controller or Web API controller. You only need to inherit from controller class. It is also optional, since controller class got some utility methods, in this post, the controller is inherited from Controller class. Also for storage, I am using EF InMemory provider, you can use Sqlite or SqlServer, only minimal change is required. Here is the project.json file.

Angular JS CRUD operations with ASP.NET5 - Part 1

November 16, 2015 by Anuraj

Angular JS ASP.NET5 Unit Testing Code coverage Javascript

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 angular to your application via downloading from Angular website, via bower and using nuget package manager.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub