Saturday, September 5, 2026

PWA with Angular and React

 

PWA in Simple Words

A PWA (Progressive Web App) is a website that behaves more like a mobile app.

You can open it in the browser, install it on your device, and in many cases use parts of it
even with a weak or offline connection.



Why use a PWA?

For developers, the biggest benefit is simple:

One codebase, multiple devices.

A good PWA can give you:

  • Installable app experience

  • Faster loading

  • Offline support

  • Mobile and desktop support

  • Less maintenance

Angular

Angular makes PWA setup very easy:

ng add @angular/pwa

This adds the main PWA files like the manifest and service worker.

React

In React, you can use tools like:

npm install vite-plugin-pwa

This helps add service workers, caching, and install support.

Can we publish it to app stores?

Yes.

For Android:

PWA → Bubblewrap/TWA → .aab → Play Store

For iOS, tools like Capacitor can wrap your web app and prepare it for Xcode and the App Store.

Final thought

PWA is not the best choice for every app.

But for dashboards, e-commerce apps, booking systems, portals, and internal tools, it can save a lot of development time.

Build once. Maintain less. Reach more devices.




Tuesday, April 7, 2026

๐Ÿš€ Agentic Framework 1.0 in .NET: The Power Combo of Semantic Kernel + AutoGen

The AI landscape is shifting fast—from simple prompt-response systems to autonomous, decision-making agents. If you're still building basic chatbots, you're already behind.

Enter Agentic Framework 1.0 in .NET—a practical evolution where Microsoft Semantic Kernel and AutoGen-style multi-agent orchestration come together to create intelligent, collaborative AI systems.

This isn’t just another framework. It’s a mindset shift.


๐Ÿง  What is an Agentic Framework?

An agentic framework is a system where AI agents:

  • Think (reason over tasks)
  • Act (execute tools/functions)
  • Collaborate (communicate with other agents)
  • Adapt (handle dynamic workflows)

Instead of one monolithic AI, you build a team of specialized agents.


⚙️ Why Combine Semantic Kernel + AutoGen?

Let’s be brutally honest:

  • Semantic Kernel alone → Great for plugins, orchestration, memory
    ❌ But weak in multi-agent collaboration out of the box
  • AutoGen-style systems → Excellent for agent-to-agent conversations
    ❌ But lack strong enterprise-grade integration and structured execution

๐Ÿ‘‰ Combine them, and you fix each other’s weaknesses.


๐Ÿงฉ Architecture Overview

Here’s how Agentic Framework 1.0 typically looks:

                +----------------------+
                |   User / Trigger     |
                +----------+-----------+
                           |
                    +------v------+
                    |  Orchestrator|
                    +------+------+
                           |
        -----------------------------------------
        |                  |                    |
+-------v------+  +--------v--------+  +--------v--------+
| Planner Agent|  | Executor Agent  |  | Reviewer Agent  |
+--------------+  +-----------------+  +-----------------+
        |                  |                    |
        ----------- Communication Layer --------
                           |
                 +---------v----------+
                 | Semantic Kernel    |
                 | Plugins + Memory   |
                 +--------------------+

๐Ÿ” Core Components Explained

1. ๐Ÿงญ Orchestrator (Brain)

This is your control layer.

  • Decides which agent to call
  • Manages workflow execution
  • Handles retries and failures

๐Ÿ‘‰ Built using .NET + Semantic Kernel pipelines


2. ๐Ÿค– Agents (Specialists)

Instead of one AI doing everything poorly, split responsibilities:

๐Ÿง  Planner Agent

  • Breaks problem into steps
  • Uses reasoning (LLM)

⚡ Executor Agent

  • Calls APIs / tools
  • Uses Semantic Kernel plugins

๐Ÿ” Reviewer Agent

  • Validates output
  • Ensures quality

๐Ÿ‘‰ This structure mimics real engineering teams. That’s why it works.


3. ๐Ÿ”Œ Semantic Kernel (Execution Engine)

Semantic Kernel gives you:

  • Plugin system (functions as tools)
  • Memory (context persistence)
  • Prompt orchestration

Example:

var kernel = Kernel.CreateBuilder()
    .AddAzureOpenAIChatCompletion(...)
    .Build();

kernel.Plugins.AddFromType<WeatherPlugin>();

๐Ÿ‘‰ This is where actual work happens.


4. ๐Ÿ”„ AutoGen Pattern (Collaboration Layer)

AutoGen-style design enables:

  • Agent-to-agent messaging
  • Task handoffs
  • Debate & refinement loops

Example flow:

Planner → Executor → Reviewer → (feedback loop) → Executor

๐Ÿ‘‰ This is what makes the system agentic, not just scripted.


๐Ÿ”ฅ Real Use Case

Let’s say you’re building an AI content creator:

Flow:

  1. Planner Agent → "Write blog on .NET agents"
  2. Executor Agent → Calls content generation plugin
  3. Reviewer Agent → Improves SEO, grammar
  4. Optional Loop → Refine until quality threshold met

๐Ÿ‘‰ This is not a chatbot. This is an AI workflow system.


๐Ÿ’ก Why This Matters for .NET Developers

If you're still stuck in CRUD APIs, here’s the truth:

  • That skill is getting commoditized
  • AI-integrated systems are the next high-paying layer

With Agentic Framework:

  • You move from API developer → AI system architect
  • You build products, not endpoints

⚠️ Hard Truths (Read Carefully)

  • Just knowing Semantic Kernel ≠ you understand AI systems
  • Copy-pasting GitHub examples won’t make you job-ready
  • If you don’t understand orchestration, you’ll build toy apps

๐Ÿ‘‰ The real value is in:

  • Designing agent roles
  • Handling failure cases
  • Managing cost (token usage)
  • Building scalable workflows

๐Ÿงช Minimal Starter Strategy

Don’t overcomplicate:

Step 1:

Build a single agent using Semantic Kernel

Step 2:

Add 2nd agent (planner + executor)

Step 3:

Introduce feedback loop

Step 4:

Add memory + logging

๐Ÿ‘‰ That’s your Agentic Framework v1.


๐Ÿš€ Final Thoughts

Agentic Framework 1.0 in .NET is not a library—it’s a pattern.

By combining:

  • Semantic Kernel → execution + tools
  • AutoGen concepts → collaboration + intelligence

You unlock a system that behaves less like software… and more like a team.

Monday, August 18, 2025

How to make Scheduler with Azure Queue using .net

I created Two methods one for schedule and log in db and second method is related to reschedule message.



1.

Schedule and Reschedule Message



2. While Process=>

Code Snippet

Friday, August 1, 2025

How to Do Cross-Browser Testing on Windows — Including Safari via Playwright

To test follow few steps:

Step 1. Install node
Step 2. create Folder and run these commands

commands


Step 3. update package.json 's scripts

package.json


Step 4. create Test folder in above folder and create file with name browser.test.ts and add below code

browser.test.ts


Step 5. run command npm run test:safari

Friday, July 18, 2025

How to Highlight a Link of Side Nav When It Has Multiple Child Links in Angular

๐Ÿ”— How to Highlight a Link When It Has Multiple Child Links in Angular

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.

  1. Step 1: Create a custom directive
    Write a directive that checks the current URL against a list of child links and adds an active class if any match.

Step 1: Directive Code

  1. Step 2: Use it in your template
    On your parent menu link, pass the list of child URLs to the directive.

Step 2: Template Code

✅ 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.

Tuesday, July 1, 2025

Create Search Functionality using 2 steps using pipe in Angular

To Implement Search Functionality without writing code in ts file

Step1: Create a Pipe using below code.

Code Of Search Filter Pipe



Step2: write below code where you want to implement search like in drop down.

Code Snippet



In above code we use just
<input matInput  placeholder="Search Company" #searchInput /><br> 
based on referece variable we took input and pass to pipe | searchByFilter:searchInput.value:'organizationName'"

PWA with Angular and React

  PWA in Simple Words A PWA (Progressive Web App) is a website that behaves more like a mobile app. You can open it in the browser, install...