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

Build GraphQL subscriptions with HotChocolate and WebSockets

GraphQL subscriptions add a persistent stream to the usual query-and-mutation model. Once a client subscribes, the server can push a new value whenever a relevant event occurs, which suits dashboards, alerts and collaborative tools. For a C# Corner Annual Conference 2020 session, a compact live countdown gives developers something they can inspect without hiding the underlying protocol.

ASP.NET Core handles the WebSocket upgrade and keeps the connection open for two-way traffic. HotChocolate maps a subscription field to a resolver that yields values, so application code can focus on domain events rather than frames, message queues or reconnect logic. The browser and server exchange GraphQL operations over the same endpoint used for queries.

The useful design goal is not simply to make a stream appear in a demo. It is to control cancellation, authorisation, backpressure and failure recovery while preserving a clear schema. Those concerns matter when an Australian deployment serves teams in Sydney, Melbourne, Brisbane and Perth across different operating hours and network conditions.

Why a subscription fits real-time .NET applications

A query returns the state at a moment, while a subscription reports changes over time. This distinction prevents clients from repeatedly asking for unchanged data, reduces unnecessary polling and gives consumers a predictable event shape. A subscription is a good fit for order status, stock levels, device readings, background jobs and collaborative presence.

HotChocolate runs the subscription operation through the same schema, dependency injection and authorisation model as other GraphQL fields. The resolver can consume an application event source, a database change stream or an IAsyncEnumerable<T> sequence. Each connected client receives only the events produced by its resolver, while shared producers remain independent from the HTTP request that initiated the subscription.

Compare the real-time transport options

WebSockets, server-sent events and polling solve different constraints. The decision should reflect whether clients need to receive only server updates or must also send commands on the same long-lived connection.

Approach Traffic direction Typical latency Connection handling Best suited to
WebSocket Bidirectional Low One persistent, upgraded HTTP connection Frequent events and client-to-server messages
Server-sent events Server to client Low Long-lived HTTP response Read-only notifications
Polling Client to server Usually higher Repeated requests Simple clients and restricted networks

A WebSocket is the strongest default when updates are frequent and the client benefits from a single duplex connection. Server-sent events remain attractive for simple one-way notifications because they work over ordinary HTTP, while polling is easier to diagnose behind restrictive proxies. HotChocolate can expose subscriptions over WebSockets, and a service may add an HTTP or event-stream fallback when its clients cannot maintain one.

Configure HotChocolate for WebSocket connections

Start with an ASP.NET Core project and the HotChocolate.AspNetCore package. Pin the package to a version compatible with the application’s .NET target, then register the query, mutation and subscription roots so HotChocolate can construct the schema. A minimal registration looks like this:

builder.Services
    .AddGraphQLServer()
    .AddQueryType<Query>()
    .AddMutationType<Mutation>()
    .AddSubscriptionType<Subscription>();

UseWebSockets must run before GraphQL requests are handled. Authentication middleware should follow the normal ASP.NET Core order, and the GraphQL endpoint should be mapped after routing. In production, expose the endpoint over HTTPS so browsers use wss:// rather than sending an authentication handshake over plaintext.

var app = builder.Build();

app.UseWebSockets();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();

app.MapGraphQL();
app.Run();

Reverse proxies must permit the HTTP upgrade, preserve the Upgrade and Connection headers, and allow long-lived responses. Keep the GraphQL route stable, commonly /graphql, because changing it also changes the WebSocket URL used by every client. Health checks and ordinary queries should continue to work even when subscription traffic is active.

Implement a resilient subscription resolver

The resolver returns an asynchronous sequence, and HotChocolate sends each yielded item as a GraphQL response event. A short countdown keeps the example deterministic:

using System.Runtime.CompilerServices;
using HotChocolate;

public sealed class Subscription
{
    public async IAsyncEnumerable<int> Countdown(
        int from,
        [Service] CancellationToken cancellationToken)
    {
        for (var value = from; value >= 0; value--)
        {
            cancellationToken.ThrowIfCancellationRequested();
            yield return value;

            await Task.Delay(
                TimeSpan.FromSeconds(1),
                cancellationToken);
        }
    }
}

The [Service] attribute asks HotChocolate to resolve the operation’s cancellation token through dependency injection rather than treating it as a GraphQL argument. Cancellation stops the delay and terminates the sequence when a client disconnects or the application shuts down. The client sees a completed stream rather than a long-running request that remains stuck.

For production events, keep the producer separate from the resolver. A bounded Channel<T> can bridge a background service to subscribers, while a broker such as Azure Service Bus or Event Grid can distribute events across application instances. Give each resolver a filtered projection, and never let one slow consumer force unrelated subscribers to wait. End a stream deliberately when its source is exhausted, and report domain errors as GraphQL errors without leaking connection or infrastructure details.

Test subscriptions with GraphQL clients

After starting the application, run this operation against the GraphQL endpoint:

subscription Countdown {
  countdown(from: 3)
}

The response sequence should contain 3, 2, 1 and 0, followed by completion. Browser developer tools can expose the handshake, negotiated WebSocket subprotocol and individual GraphQL messages. This makes it easier to distinguish a failed upgrade from a resolver, authentication or subscription-operation problem.

Test in layers: first verify the schema with a query, then the WebSocket upgrade and connection_init exchange, then the subscription payload and cancellation. Confirm that the selected HotChocolate release and client library negotiate the same subprotocol; graphql-transport-ws and the legacy graphql-ws protocol are not interchangeable. Automated integration tests should also close the socket unexpectedly and confirm that server work stops. Load tests should measure connection count, event delay, memory per stream and recovery time. A reconnecting client must not process the same event twice unless the schema explicitly promises at-least-once delivery.

Secure data and control connection costs

Authenticate the WebSocket connection before releasing events. In protocols that support connection parameters, send a short-lived access token during the initial handshake; avoid putting bearer tokens in query strings because URLs often appear in logs and telemetry. Use HotChocolate’s authorisation middleware for field access, then enforce ownership and resource checks inside the resolver since an authenticated user may still lack access to a particular order, device or account.

Australian privacy obligations need an explicit data-minimisation check. Where the Privacy Act 1988 applies, the Australian Privacy Principles govern collection, use, disclosure and storage, and eligible data breaches must be assessed under the Notifiable Data Breaches scheme. A live feed can reveal more than a one-off query, so include only necessary fields, define retention periods, and restrict personal or operational information according to its purpose. Cloud deployment does not transfer accountability to the hosting provider.

Control abuse with connection and event rate limits, maximum query depth, payload-size limits and validated arguments. Restrict allowed origins, patch the server and client dependencies, and keep security events in a protected log without recording full subscription payloads. A reconnect storm after an outage can otherwise become a denial-of-service event even when every individual request is valid.

Deploy and scale the subscription service

Australian geography creates a practical test for real-time architecture. Teams in Sydney, Melbourne, Brisbane and Perth may share an application while operating in different UTC offsets, and field teams in mining, agriculture and logistics can work on regional links with variable latency. Moving from a home connection in Melbourne to an NBN service in Brisbane can reveal reconnect and heartbeat issues that a local demo never exposes. The same applies to a commuter checking live transport or delivery updates on a train in Sydney, where connectivity can vary between network coverage zones.

For Australian organisations already using Microsoft Azure, deploy the service to a region that meets the organisation’s latency and data-residency requirements. Verify WebSocket support on the selected hosting tier and every proxy in the path. Use autoscaling for connection processing, monitor active sockets, send rate, dropped connections and resolver latency, and size instances from measured load. Sticky sessions are not automatically required for a stateless GraphQL endpoint, but they may become relevant when a subscription depends on in-process state or a local channel.

Production clients should reconnect with exponential backoff and jitter, send heartbeats where the protocol supports them, and re-establish their subscription after a new session is ready. Keep a small deduplication key when side effects can result from replay. A public progress display such as the Lake Powell Challenge illustrates the appeal of immediate updates, while an operational dashboard needs the same delivery guarantees beneath the polished view.

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