Twilight Nexus

A king without a throne, a throne without a king

jarallax-cover


Angular Router Fade Animation

Apr 1 2021 / 1 comment / 5072 reads

Animations can greatly improve the user experience of your applications. In this short tutorial, I'll show you how to use Angular's Animations API to create a simple fade-in/fade-out animation for routing transitions. 

Continue reading


Angular CanDeactivate Guard Tutorial

Mar 29 2021 / No comments / 2879 reads

The Angular router’s navigation guards allow you to grant or remove access to certain parts of the navigation. Another route guard, the CanDeactivate guard, allows you to prevent a user from accidentally leaving a component with unsaved changes.

Using confirmation dialogs is a well-known technique web applications employ to prevent users from performing unintended actions. In this post, we'll build a route guard to prevent users from accidentally leaving unsaved changes.

Continue reading

File Upload with ASP.NET Core and Angular

Mar 29 2021 / 6 comments / 7183 reads

A frequently required feature in modern applications is being able to upload and download files. In this post, we're going to implement file uploads with ASP.NET Core and Angular. In future posts, I'll show you more sophisticated features such as drag & drop support, multiple file uploads, validation, and previews.

Continue reading



Working with Google Maps in Angular

Mar 25 2021 / No comments / 7199 reads

In this post, I'll show you how to work with Google Maps in Angular projects. Many applications need to work with maps and location features (geocoding, fencing, etc.). Google provides many great APIs to work with. Let's create a simple app that gets your current location and marks it on a live map.

Continue reading

Export data to Excel with ASP.NET Core

Mar 24 2021 / No comments / 5993 reads

A while ago I had to export some data to Excel from an ASP.NET Core website. I have implemented a lot of exporting in the past with ASP.NET and C# in general, it was fun to explore different options and port them to ASP.NET Core. In this post, I'll show you how you can generate Excel files using the ClosedXML library.

Continue reading

Page 1 of 2