Learning AngularJS for .NET Developers

If you are a .NET developer and are looking for the friendliest book on AngularJS, then you should definitely look at “Learning AngularJS for .NET Developers”.

I got in touch with Packtpub when I saw this book in a FB group for review, and they agreed to send me a copy for the same. This is the third book I am reviewing for Packtpub and the experiences so far with them have been nice.

I took time this week to read the book from cover to cover and I have thoroughly enjoyed it.

When you try a new language your first try to understand the architecture of it and you would like to be introduced to several components and their interactions/communications. Chapter 1Introducing AngularJS, guides the reader in that direction. He will also learn about the core parts of AngularJS and will get a high-level overview of the AngularJS architecture, how data-binding works, dependency injection.

Author has given one jQuery example, and then has shown AngularJS version of it. This is an excellent way of explaining a new concept considering reader is well versed with jQuery (which he should be). Then he has explained concepts like controller, services, filters and directives with simple and easy to understand examples. Another good part is that, along the way reader can try out same examples in plunkr. All examples have used AngularJS 1.2.x version.

Chapter 2, Creating an AngularJS Client-side Application in Visual Studio,helps you developing Angular application using Visual Studio and how to set up necessary libraries. He lays the foundation of creating a bicycle rental management project to try out user stories using the AngularJS concepts learnt so far. This approach will definitely help the reader to plan out an Angular project.

Front-end client application can consume data from various backend services. An Angular application can make REST calls to send and receive data. Chapter 3, Creating .NET Web Services for AngularJS, takes a look at the theory behind web services, followed by a practical guide to implement web services for an AngularJS application.

Chapter 4, Creating an AngularJS, ASP.NET MVC, ServiceStack Application,talks about integration of an AngularJS application with ASP.NET MVC and ServiceStack. Though this chapter assumes that you are familiar with the fundamentals of ASP.NET MVC. It also explains how to secure an AngularJS application and its access to web services. Readers also introduced to various techniques to improve interaction between the front-end and back-end. This chapter ends with instructions on how to add database persistence using SQLite and ServiceStack.

Testing and Debugging an application goes along with the application development.Chapter 5, Testing and Debugging AngularJS Applications, explores different aspects of testing AngularJS application using Visual Studio. The only assumption made in this chapter is that you know how to test .NET application.

Jasmine is used as a BDD testing framework. Also for automating your test cases, author has shown the use of Karma, the test runner. Apart from unit testing your code, you will come to know about end to end AngularJS application testing using Protractor. It will also explores testing web service endpoints.

For debugging, performance analysing an AngularJS application use of Google Chrome extension called Batarang is explored. This chapter end with discussion of HTML5 validator, older browser support and this should give you a good start to build your production ready code.

In the last chapter of this very good book, Chapter 6, Advanced AngularJS Topics, introduces you to various topics like internationalisation and localisation, working with remote web services. This chapter concludes with template caching for creating high performance web applications.

As I have told in the beginning, this is a well recommended book for developers from .NET background to learn an exciting front-end JavaScript framework.

Book Link: https://www.packtpub.com/web-development/learning-angularjs-net-developers

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">