1.
Schedule and Reschedule Message
2. While Process=>
When building a sidebar in Angular, you might want to highlight a parent link when any of its child routes are active. Angular’s routerLinkActive only works for single routes — so here’s a quick 2-step solution using a custom directive.
active class if any match.
✅ Works with multiple child links, query parameters, and is easy to reuse.
✅ This blog is written by TechJourney with Gagan, sharing practical Angular tips for developers.
In modern .NET applications, maintaining clean architecture is critical — and that’s where the Mediator pattern shines. It decouples the request/response flow and promotes separation of concerns.
While libraries like MediatR are popular, sometimes you want something even lighter — with zero dependencies.
Enter: GMediator, a custom lightweight mediator implementation.
When building Angular apps, you might have common logic or reusable layouts across components.
Instead of duplicating code, you can use extends in TypeScript and
ng-template + ngTemplateOutlet in HTML.
Let’s walk through a simple example with 2 components where one extends logic and also injects custom HTML.
This is the reusable component that contains a common layout and logic.
contentTemplate.This component inherits logic from ChildComponent and injects its own template content.
title and getTitle() from ChildComponent.ng-template.Use Cases: shared card layouts, reusable modal structures, dashboards, etc.
I created Two methods one for schedule and log in db and second method is related to reschedule message. 1. Schedule and Reschedu...