New to site?


Lost password? (X)

Already have an account?


(X)

Presents

#CSHARPCON20

The C# Corner Annual Conference 2020 is a three-day annual event for software professionals and developers.

3
DAYS
72
SPEAKERS
65
SESSIONS

Magnus Mårtensson
Microsoft Regional Director, Azure MVP, CEO Loftysoft

Avirag Jain
Director & CTO R Systems

Mahesh Chand
Founder C# Corner, CEO Mindcracker

Chris Gali
CEO & Co-Founder Graphite

Subinder Khurana
Chief Architect StoryProcess, Founder NASSCOM DeepTech Club

Bryan Rishforth
Investor, Chairman Graphite

Bryn Everson
Director Biz Dev Graphite

Raj Tiwari
Digital Transformation Leader, Futurist and Visionary

Joseph Guadagno
Microsoft MVP, Lead Quicken Loans

Nikita Sachdev
Entrepreneur, Blockchain Enthusiast & Advisor, Social Media Influencer

Doug Wagner
COO & Founder Adapt Technical Group

Ritesh Modi
Architect, Senior Evangelist, Cloud Architect

Crystal Wenrick
Director Communications Mindcracker

Allen O’Neill
Microsoft MVP, Consulting Engineer/Architect

Praveen Kumar
CEO MCN Solutions

Chris Love
Founder Love2Dev, Microsoft MVP, Author

Sanjay Vyas
Microsoft Regional Director, Microsoft MVP, Founder & CEO SkillLabs Technologies

Veena Sarda
Deep Learning Consultant, Author

Sekhar Srinivasan
C# Corner MVP, Microsoft Certified Trainer, Pluralsight Author

Lalit Bansal
Founder & CEO - EIY SYS

Navdeep Garg
CEO Revinfotech

Prakash Tripathi
Tech Manager/Leader, Microsoft MVP, Blogger

Bhavna Jain
Breakthrough Consultant

Naveen Sharma
Enterprise Architect, Leadership Coach, Author

Vidya Vrat Agarwal
Principal Architect, Microsoft MVP, Author

Sheetal Agarwal
Founder Clownselors, Medical Clown, Trainer

Abhishek Kant
Founder GTM Catalyst

Vishnu Saran
Founder & CEO VoiceQube

Sandeep Soni
Founder & CEO Deccansoft, Microsoft Certified Trainer

Parveen Malik
AVP InfoSec & Vulnerability Management, Information Security Expert

Nitin Pandit
Microsoft MVP, Developer Evangelist, Author

Niloshima Srivastava
C# Corner MVP, Tech Architect, Trainer, Blogger

Bala Chirtsabesan
Senior Software Engineer at Microsoft, Author

Manoj Mittal
Sr. Technical Architect, C# Corner MVP, Author

Chandni Di
Co-Founder Voice of Slum

Vithal Wadje
Technical Lead, Microsoft MVP, Author

Shivam Ahuja
Founder SkillCircle, Business Mentor

Chervine Bhiwoo
Solution Architect, Microsoft MVP, Author

Saurabh Jain
Vice President Paytm, Founder Fun2Do Labs, Author

Vinay Solanki
Head IoT at Lenovo, Founder IoT-NCR

Anshu kumari
Founder Blockchainkids, Inventor, Trainer

Amit Singal
CEO Startup Buddy

Dev Pratap
Co-Founder & CEO Voice of Slum

Amey Vartak
Technology Consultant, Full Stack Developer, C# Corner MVP, Author

Viswanatha Swamy
Principal Software Engineer, C# Corner MVP, Author

Sanket Verma
Research Engineer @ Ballistics (Forensics) and Chair, PyData Delhi

Sourabh Somani
Lead Developer, Microsoft MVP, Author

Abhishek Mishra
Software Architect, C# Corner MVP, Author

Siddharth Vaghasia
Technical Consultant, C# Corner MVP, Blogger

Bassam Alugili
Senior Software Specialist, Database Expert

S Ravi Kumar
Solution Architect, C# Corner MVP, Author

Sundaram Subramanian
Full Stack Developer, C# Corner MVP, Speaker

Deepesh Somani
Solution Architect, Microsoft MVP, Author

Debasis Saha
Technical Project Manager, C# Corner MVP, Blogger, Author

Vipul Jain
Software Architect, C# Corner MVP, Author

Akshay Patel
Technical Architect, Microsoft Certified Trainer, C# Corner MVP, Author

Stephen Simon
RPA Developer, Evangelist, Author

Vivek Sharma
Founder Kingster636, AR/VR Specialist

Jeetendra Gund
Technical Lead, C# Corner MVP, Author

Sujal Beniwal
AI Enthusiast, Student

M Viknaraj
Microsoft MVP, Azure Architect, Author

Prasham Sabadra
Software Architect, C# Corner MVP, Trainer, Author

Aakash Maurya
Senior Developer, C# Corner MVP, Speaker

Ankit Sharma
Senior Software Engineer, C# Corner MVP, Author

Mangesh Gaherwar
Team Lead, C# Corner MVP, Author

Viral Jain
Technical Consultant, C# Corner MVP, Author

Bhasker Das
Solution Architect, Evangelist

Manish Dwivedi
Associate Project Manager

Ck Nitin
Programmer, Author

Rohit Gupta
Technical Trainer, Author

Manish Tewatia
Full-stack Marketer, UX Designer

Bhavya Gaur
Technical Illustrator

Rohit Tomar
SEO/SMO Expert

Web Track

Cloud & Data Track

Dev Track

8am-9am

Registration & Breakfast

9am-10am

Future of Desktop Apps with JS (ElectronJs)

Nitin Pandit

Building Serverless Microservices Using Microsoft Azure

Vithal Wadje

Innovating RPA: A Robot for Every Person

Stephen Simon

10am-11am

Managing Cloud Storage Accounts using Logic Apps

Viknaraj Manogararajah

Data visualization using Python

Sekhar Srinivasan

Going Cross platform with AR Foundation

Vivek Sharma

11am-12pm

Keynote

12pm-1pm

Managing your Azure dependencies in ASP.NET Core apps using VS

Bala Chirtsabesan

Securing Applications on Intelligent Azure

Abhishek Mishra

Getting started with Blazor the Framework of Future

S Ravi Kumar

1pm-2pm

Lunch

2pm-2:45pm

Build Progressive Web Apps using Angular 9

Debasis Saha

Build and deploy to any platform using Azure DevOps

Chervine Bhiwoo

Deep Dive in Azure Service Bus

Akshay Patel

2:45pm-3:45pm

Build a Native Mobile Application using React Native and JavaScript

Joseph Guadagno

Making sense of Web Job, Web Job SDK and Functions in Azure

Prakash Tripathi

CloudFront Distribution in AWS

Viral Jain

3:45pm-4pm

Tea Break

4pm-4:30pm

Introduction to PowerBI

Aakash Maurya

Build Advanced SPFx solutions with React and Graph API

Siddharth Vaghasia

Build Business Intelligence Analyst (BIA) Skills

Sundaram Subramanian

4:30pm-5pm

Deep dive of Power Platform – AI BUILDER

Prasham Sabadra

Panel 1

What's new in SharePoint development

Vipul Jain

5pm-5:30pm

Build a SSO (Single Sign On) based Native JavaScript application with Microsoft Identity within 10 minutes

Manoj Mittal

Panel 2

Applications and working of AI

Veena Sarda

5:30pm-6pm

Deploying serverless API's with .Net core 3.0 on AWS & Azure

Amey Vartak

Panel 3

Blockchain with .NET Core (Ark)

Anshu Kumari

6pm-6:30pm

Closing Note & Prize Distribution

Dev Track

Cloud Track

Architecture Track

Emerging Tech Track

8am-9am

Registration & Breakfast

9am-10am

Creating Full-Stack Web Apps Using Server-Side Blazor

Ankit Sharma

Real time face recognition with MS Cognitive Services

Niloshima Srivastava

Building Scalable APIs with GraphQL

Jeetendra Gund

Future of development with AI and Blockchain

Navdeep Garg

10am-11am

Debugging Tips and Tricks with Visual Studio 2019

Joseph Guadagno

Azure Containers

Abhishek Kant

Enterprise Architecture

Naveen Sharma

Bot Framework - learn it fast and look like a boss!

Allen O’Neill

11am-12:30pm

Keynote

12:30pm-1:30pm

.Net Core & C# 8 Performance

David McCarter

Working with Azure kubernetes services

Ritesh Modi

Becoming an Architect

Vidyavrat Agarwal

Why Techies Need to Learn Product Management

Saurabh Jain

1:30pm-2:30pm

Lunch

2:30pm-3:30pm

Build a rules engine in .Net Core

Sanjay Vyas

Building CI and CD Pipeline using Azure DevOps

Sandeep Soni

Entity Framework Core - Tips and Tricks, Performance Optimization, and Tuning

Bassam Alugili

Hacking your way into Data Science

Sanket Verma

3:30-4:15pm

Speed up your .Net Core Website

Sourabh Somani

Azure

Magnus Mårtensson

Demystifying Open Distro for Elasticsearch

Suman Debnath

Future of Data

Shivam Ahuja

4:15pm-4:30pm

Tea Break

4:30pm-5:15pm

gRPC with C# and .Net Core

Mangesh Gaherwar

Panel 1

Essentials of Cloud security

Parveen Malik

Power platform and Dynamics 365

Deepesh Somani

5:15pm-6pm

Microservices - the gRPC Way

Viswanatha Swamy

Panel 2

Reserved

Reserved

6pm-6:30pm

Closing Note & Prize Distribution

Building Real-Time Notifications With SignalR Groups and Roles

A notification system becomes far more useful when it reaches the right people at the right moment. In a web application, that might mean telling a support team that a customer has replied, alerting administrators to a failed background job, or showing a project member that a deployment has finished. SignalR gives C# and ASP.NET Core developers a practical way to deliver those updates over a persistent connection instead of asking browsers to poll repeatedly.

Creating a Notification System with SignalR Groups and Roles involves more than broadcasting a message from a hub. The design needs clear audience rules, secure role checks, sensible group membership, reliable event delivery, and a client interface that behaves well when users disconnect. These concerns matter to Australian organisations handling customer data across Sydney, Melbourne, Brisbane, Perth, and regional offices with varying network conditions.

Why Real-Time Notifications Matter

Traditional polling asks the browser to check for new data at fixed intervals. A short interval creates unnecessary traffic and database load, while a long interval makes the interface feel stale. SignalR maintains a live connection through WebSockets where available and falls back to other transports when necessary. The server can then push an event as soon as something changes.

A notification should carry enough information for the client to act without exposing unnecessary data. A typical payload might include an event identifier, category, message, timestamp, priority, and a link to the relevant record. For example, a warehouse application could publish “Shipment 4821 requires review” to a logistics team while sending a separate compliance alert to authorised managers.

Australian teams often need to account for users working across AEST, ACST, and AWST. Store event times in UTC and convert them in the browser or application layer. A user in Perth should not receive an alert that appears several hours late simply because a server in Sydney formatted the timestamp locally. Clear wording such as “just now” or “15 minutes ago” can also make alerts easier to scan during a busy arvo.

Designing Groups And Roles

SignalR groups are named collections of connections. A user can belong to several groups at once, such as tenant:acme, team:support, and project:4821. Groups are useful for targeting messages, but they are not a replacement for authentication or authorisation. A client must never be trusted to choose a privileged group name and then receive confidential events.

Roles describe what a person is allowed to do, while groups describe where notifications should be delivered. An administrator might have the OperationsManager role and belong to the site:melbourne group. A support agent could belong to team:support and queue:priority. Separating these concepts makes future changes easier, especially when a company reorganises teams or adds contractors.

Membership should be derived from trusted claims, database records, or a policy service. After a connection is established, the server can inspect the authenticated user and add the connection to approved groups. A robust naming convention prevents collisions between tenants:

var tenantGroup = $"tenant:{tenantId}";
var roleGroup = $"role:{roleName.ToLowerInvariant()}";

Do not place raw email addresses or sensitive identifiers in group names. Use stable internal IDs, and validate that the current user is allowed to access the tenant, project, or branch associated with the group.

Building The Hub Securely

A hub is the real-time endpoint through which clients connect and receive events. In ASP.NET Core, apply authentication and authorisation at the hub level, then add more restrictive policies to sensitive methods. Role checks should happen on the server, never in JavaScript alone.

[Authorize]
public class NotificationHub : Hub
{
    public override async Task OnConnectedAsync()
    {
        var tenantId = Context.User?.FindFirst("tenant_id")?.Value;

        if (!string.IsNullOrWhiteSpace(tenantId))
        {
            await Groups.AddToGroupAsync(
                Context.ConnectionId,
                $"tenant:{tenantId}");
        }

        await base.OnConnectedAsync();
    }

    [Authorize(Roles = "OperationsManager")]
    public Task SubscribeToIncidents(string incidentGroup)
    {
        return Groups.AddToGroupAsync(Context.ConnectionId, incidentGroup);
    }
}

The example is intentionally small. In production, SubscribeToIncidents should validate that the requested incident group belongs to the user’s tenant and that the user has permission to view it. A method that accepts any group string could allow an authenticated but ordinary user to subscribe to confidential alerts.

For a conference or learning resource covering C#, Azure, cloud services, and related development practices, the C# Corner conference provides useful context around the broader technology ecosystem. The same security principles apply whether the application runs on a developer laptop, an Azure App Service, or a distributed production platform.

Publishing Notifications Reliably

Application code should publish notifications when a meaningful domain event occurs, rather than scattering notification calls throughout controllers. For instance, when a payment changes to “failed”, the payment service can raise a PaymentFailed event. A notification handler can then decide which groups receive the message and construct a safe payload.

public record AlertMessage(
    string Id,
    string Type,
    string Text,
    DateTimeOffset CreatedAt,
    string? ActionUrl);

public class AlertPublisher
{
    private readonly IHubContext<NotificationHub> _hub;

    public AlertPublisher(IHubContext<NotificationHub> hub)
    {
        _hub = hub;
    }

    public Task PublishPaymentFailure(
        string tenantId, string paymentId)
    {
        var alert = new AlertMessage(
            Guid.NewGuid().ToString(),
            "payment-failed",
            $"Payment {paymentId} requires attention",
            DateTimeOffset.UtcNow,
            $"/payments/{paymentId}");

        return _hub.Clients
            .Group($"tenant:{tenantId}")
            .SendAsync("notificationReceived", alert);
    }
}

A live message should not be the only record of an important event. Save notifications in a database or durable queue when users must be able to review missed alerts. SignalR is excellent for immediate delivery, but a browser can close, a laptop can sleep, or a mobile connection can disappear. On reconnection, the client can request unread notifications from an API.

For larger systems, Azure SignalR Service can handle connection management and scale-out across multiple application instances. If several Australian offices use the same platform, avoid assuming that a connection is attached to one server. A backplane or managed SignalR service ensures that an event published by an instance in one region can reach clients connected elsewhere.

Handling Clients And Disconnections

The JavaScript client should register handlers before starting the connection, display notifications consistently, and reconnect with a controlled delay. Reconnection is especially important for workers using Wi-Fi in busy offices, trains, hospitals, or regional locations where connectivity can fluctuate.

const connection = new signalR.HubConnectionBuilder()
    .withUrl("/hubs/notifications")
    .withAutomaticReconnect([0, 2000, 10000, 30000])
    .build();

connection.on("notificationReceived", alert => {
    showToast(alert.Text);
    addToNotificationCentre(alert);
});

connection.onreconnected(async () => {
    await refreshUnreadNotifications();
});

await connection.start();

The server should treat every connection as temporary. Group membership usually belongs to the connection, so a reconnecting browser may need to be added again. If users can open several tabs, each connection should be handled independently. A shared notification centre can then deduplicate messages by their event ID.

Accessibility deserves attention. A toast should not steal focus from a form, and urgent messages can use an appropriate ARIA live region. Give users control over low-priority categories, while preserving mandatory security, compliance, or service-status alerts. In Australian public-facing services, plain language is particularly valuable for people using mobile devices or assistive technology.

Privacy also affects the client. Avoid putting personal details, account numbers, or internal notes in a broadcast payload. An alert can say that a record needs review and link to a protected page, where the server performs a fresh authorisation check. This approach reduces the impact of a browser extension, shared workstation, or accidentally logged message.

Operating The System In Production

Observability should cover connection counts, failed connection attempts, reconnect frequency, message delivery errors, and processing latency. Add a correlation ID to the domain event and notification record so developers can trace a user-visible alert back to the business operation that generated it. Monitor group growth as well; an incorrectly generated group name can create thousands of unused groups and complicate diagnosis.

Rate limiting helps when an import, monitoring rule, or integration produces a burst of events. Consider aggregating repetitive alerts into a summary such as “37 invoices failed validation” rather than sending 37 separate pop-ups. Give high-priority events a different visual treatment and preserve them in the notification centre even after the live toast disappears.

Australian organisations should also review the Privacy Act 1988, the Australian Privacy Principles, sector-specific retention rules, and contractual data residency requirements. A notification can reveal sensitive information even when it contains only a short sentence. Check where connection data, logs, message history, and backups are stored, particularly when using a managed cloud service with workloads serving customers in Australia.

Practical Delivery Recommendations

A disciplined rollout keeps the real-time feature manageable and makes failures easier to isolate:

  • Define an event catalogue with ownership, priority, payload fields, retention, and recipient rules.
  • Use claims and server-side policies to derive groups; never accept privileged membership from the browser.
  • Store important alerts durably and provide an unread or missed-notifications API.
  • Test reconnects, duplicate tabs, expired tokens, tenant boundaries, and burst traffic.
  • Measure delivery latency and review logs without recording confidential notification content.

Begin with one high-value workflow, such as incident alerts for an operations team, then expand to project updates and customer activity. This approach gives developers a clear way to validate role rules, group naming, client behaviour, and operational metrics before the notification platform becomes a dependency for every part of the application.

The Leela Ambience Convention Hotel

1, CBD, Maharaj Surajmal Road, Near Yamuna Sports Complex, Delhi, 110032

KNOW MORE

GENERAL QUERIES


Manish Tewatia

+91-9718-431-042

TICKET QUERIES


Atul Gupta

+91-9910-125-804