Read more about the article Monitoring Live .NET Core APIs with Application Insights
Azure dark

Monitoring Live .NET Core APIs with Application Insights

Azure Application Insights is a cloud based application monitoring service from Microsoft. You can monitor your applications in all of your environments with Application Insights, including development and production. Microsoft has been shipping Visual Studio with built-in support for Application Insights in Windows. However, Visual Studio for Mac does not…

1 Comment
Read more about the article How to Fix VS Code Rename Symbols Feature for TypeScript
Fix VS Code Rename Symbols Issue

How to Fix VS Code Rename Symbols Feature for TypeScript

Visual Studio Code is an open-source, lightweight IDE from Microsoft. I enjoy using it on a day-to-day basis, generally for front-end projects like Angular web applications. VS Code has many handy features, one of my favourite is the rename symbols feature. The rename feature allows you to easily change the…

2 Comments
Read more about the article Execute Angular E2E Tests in Different Environments
Execute E2E Tests in Different Environments

Execute Angular E2E Tests in Different Environments

The default Angular project template executes end-to-end tests using the development environment. If you're like me and switch to a Mac from Windows quite frequently, you may want to have the ability to execute your e2e tests in a different configuration. We will enable executing Angular e2e tests in different…

0 Comments
Read more about the article What’s New in Angular 8? [Update Guide]
whats new in Angular 8

What’s New in Angular 8? [Update Guide]

Angular 8 is finally here! In this post we will look at what's new in Angular 8. Angular 8 is a major release for the entire Angular framework, Angular Material and the CLI. Ivy renderer to be available as an opt-in previewFaster startup time on modern browsersNew APIs to interact…

0 Comments
Read more about the article How to Prevent Caching Get Requests in Angular
Prevent Caching in Internet Explorer

How to Prevent Caching Get Requests in Angular

In this post, we will explore how to prevent caching get requests in Angular. This is an old issue that gets me every time I begin working on a new Angular project. Internet Explorer caches all GET requests, which means that a user won't see any changes after a database…

3 Comments
Read more about the article Angular Loading Spinner on HTTP Request
Angular Show Spinner with Every HTTP Request

Angular Loading Spinner on HTTP Request

Loading spinners are an essential requirement for any Angular app to indicate the application is busy. This is often the case when an HTTP request is in progress. While it is possible to manually show and hide a loading spinner, we can avoid code duplication with a custom HttpInterceptor. In…

6 Comments
Read more about the article Writing an Angular Pipe to Display TimeSpan Values
Convert Timespan to Business Days using Angular Pipe

Writing an Angular Pipe to Display TimeSpan Values

I recently had an interesting problem to solve around displaying TimeSpan values in Angular. Introduction My API happens to be written in .NET Core using C#, which returns a timespan representing a duration value. Our aim is to convert TimeSpan values to the display format 1d 1h 10m. As an…

1 Comment
Read more about the article How to Set Focus on Form Control in Angular
Angular Material Focus Form Input

How to Set Focus on Form Control in Angular

In this post, I will show you how to programmatically set focus on a form control in Angular. Instead of the popular ElementRef solution, we will use Renderer2 to set focus on a form input. This approach is secure, easier to test and compatible with reactive forms. [toc] Here's a…

1 Comment
Read more about the article How to Make Angular Material Dialog Draggable with cdkDrag
Angular Material Draggable Dialog

How to Make Angular Material Dialog Draggable with cdkDrag

With the Angular Material 7 release, an exciting feature we've been waiting for — drag and drop is available with the component dev kit. In my previous article, I explained how to create a reusable confirm dialog with Angular Material. Today, we’ll learn how to make the dialog draggable. We will…

2 Comments
Read more about the article Select All Option for MatSelect
Angular Material Select All Options Mat Select

Select All Option for MatSelect

In this post, you'll learn how to implement select all option for mat-select from Angular Material. Our solution will involve creating a custom component that will be embedded inside a select dropdown. It will also support indeterminate mode of checkbox, meaning our new option will show a different icon based…

4 Comments
Read more about the article Angular Routing and Navigation Tutorial
Angular Routing and Navigation

Angular Routing and Navigation Tutorial

Implement routing in Angular to enable navigation from one view to another. Users click buttons, anchor links and select options in drop-downs to perform tasks in web applications. Routing plays a key role in any modern web application and Angular makes it very easy to implement routing with router outlet.…

0 Comments
Read more about the article Downloading Files in Angular
Download File with Angular from .net core api blob result

Downloading Files in Angular

In this post, I will show you how to download a file in Angular from a remote web API. CSV files, Excel spreadsheets, Word documents, PDF reports and images are common types of files that a functional Angular web app may need to download. In most cases, back-end APIs return…

1 Comment