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

Refreshing configuration with IOptionsSnapshot in ASP.NET Core

Using IOptionsSnapshot to refresh configuration in ASP.NET Core gives each request a newly resolved view after the underlying configuration provider reloads. It suits feature flags, partner endpoints, maintenance windows and rate limits that operations teams may change without rebuilding the application. The snapshot does not poll a file or call a remote service itself; it reflects the latest state exposed by the registered IConfiguration providers.

The C# Corner Annual Conference 2020 brought C# and ASP.NET Core developers together with dozens of speakers working across Azure, cloud computing, data, DevOps, AI and automation. Within that three-day, multi-track programme, configuration is more than an application startup concern: it links code, deployment environments and operational ownership. Australian developers can apply the same pattern whether a service runs in Azure, on-premises or across hybrid infrastructure.

Why snapshots suit changing configuration

ASP.NET Core provides several ways to consume configuration. IOptions<T> gives a process-wide instance and does not refresh after its value is created. IOptionsMonitor<T> remains available for the application lifetime and can raise a callback whenever bound options change. IOptionsSnapshot<T> occupies the practical middle ground for web requests, combining live configuration with stable, typed values.

A snapshot is cached for the lifetime of its dependency injection scope. ASP.NET Core normally creates one scope per HTTP request, so the same resolved value is used throughout that request, even if a configuration file changes midway through processing. The next request receives the replacement value once the provider has reloaded. This avoids a weaker form of inconsistency in which two reads of the same key could return different values during one operation.

That behaviour also illustrates why configuration belongs in platform discussions, not only in controller tutorials. Related event material in the IADR 2020 programme provides additional context on how framework choices connect with broader cloud, data and developer tooling trends.

Registering and consuming snapshot options

Start with a focused options class instead of scattering string keys through an application. Strongly typed settings make validation, refactoring and code review clearer, while defaults document the values expected by the business.

public sealed class CheckoutSettings
{
    [Required]
    public string Currency { get; set; } = "AUD";

    [Range(1, 20)]
    public int MaxRetries { get; set; } = 3;

    public bool PricesIncludeGst { get; set; } = true;
}

Bind the section with the options builder. The default JSON providers created by WebApplication.CreateBuilder watch their application settings files for changes. If a separate JSON file supplies dynamic values, add it with reloadOnChange set to true and place it in the intended provider order so environment-specific precedence remains correct.

builder.Services.AddOptions<CheckoutSettings>()
    .Bind(builder.Configuration.GetSection("CheckoutSettings"))
    .ValidateDataAnnotations()
    .ValidateOnStart();

Data annotation validation runs when options are created, including newly created values after a configuration reload. ValidateOnStart also checks the initial configuration during startup, preventing an invalid service from becoming ready for traffic. Keep sensitive values out of these classes and files; an options object should describe behaviour, not become a container for credentials.

Inject the snapshot into a controller, page model or scoped service, and register the containing service with AddScoped. Resolving it inside the request scope gives the operation one coherent view without manual cache-clearing code. Do not inject IOptionsSnapshot<T> into a singleton and expect it to keep changing: that can pin the scoped value in place. A hosted service or other long-lived worker should normally use IOptionsMonitor<T> instead.

public sealed class CheckoutService
{
    private readonly IOptionsSnapshot<CheckoutSettings> _settings;

    public CheckoutService(IOptionsSnapshot<CheckoutSettings> settings)
    {
        _settings = settings;
    }

    public CheckoutSettings Current => _settings.Value;
}

Choosing when and how settings refresh

The trigger for a refresh comes from the configuration provider, not from IOptionsSnapshot. A JSON provider uses file-system notifications, an environment-variable provider is normally fixed for the process lifetime, and a remote provider such as Azure App Configuration uses its own polling or refresh policy. Once a provider publishes a reload, the options system invalidates its cached value and the next appropriate scope can create a new snapshot.

This distinction matters when estimating how quickly a change reaches users. A local file change may be noticed quickly, while a remote configuration service can introduce an interval between an administrator saving a value and the application receiving it. Tests should measure that delay rather than assume it is zero. If the application runs in a container, verify that the deployment mechanism actually produces file-system notifications; some projected-volume updates use link replacement that behaves differently from an ordinary file edit.

For services that must react to a setting immediately, IOptionsMonitor<T> supplies CurrentValue and an OnChange callback. A callback can run while other code is using the previous value, so avoid mutating shared objects in place. Publish an immutable replacement, coordinate any worker restart in a cancellation-aware manner, and remove the callback when its owner is disposed. Most request handlers do not need this machinery because the next request can simply resolve a fresh snapshot.

Designing reloads for Australian deployments

Australian workloads frequently sit in Azure regions such as Australia East in Sydney or Australia Southeast in Melbourne, while Brisbane and Perth also have cloud-connected and on-premises estates. Teams may combine these locations with Key Vault, local databases and third-party services. Configuration should identify which source owns each value and preserve the agreed data-residency path. The Privacy Act 1988 and customer contracts can make that boundary important when a changed endpoint affects personal information.

The Australian market also makes business rules visible in configuration. Prices may need to be displayed in Australian dollars with GST included, excluded or calculated separately, and the chosen treatment can differ between consumer and business channels. An option such as PricesIncludeGst should represent that rule explicitly, while a formatting culture of en-AU controls how dates, numbers and currency are presented. Hard-coding a GST assumption into the display layer makes later policy changes harder and increases the chance of applying the wrong treatment.

Timing and operating windows deserve similar care. Sydney and Melbourne observe AEDT and AEST, South Australia uses ACDT and ACST, and Queensland does not change for daylight saving. Store event times and audit entries in UTC, retain the originating time zone, and convert only for display. For applications serving Australian customers, scheduled configuration reviews should account for state operating hours, public holidays and the difference between an intended change time and the next request scope that observes it.

Operational checklist and pattern comparison

A reliable refresh design depends on the source, the lifetime of the consumer and the tolerance for delay. The following checks separate configuration concerns from code correctness and make production behaviour easier to support.

Deployment readiness

  • Confirm that every dynamic source has an explicit reload or refresh mechanism.
  • Keep secrets in Key Vault and avoid copying credentials into watched JSON files.
  • Validate production-shaped values before rollout and whenever settings are reloaded.
  • Record the active configuration version, source and UTC timestamp in diagnostics.

Runtime behaviour

  • Resolve IOptionsSnapshot<T> only in request-scoped or explicitly scoped services.
  • Treat bound option objects as immutable and replace them rather than mutating them.
  • Use IOptionsMonitor<T> for singleton workers that must react to changes.
  • Test the interval between a source update and the first request that observes it.

The main patterns become easier to choose when their refresh semantics are shown side by side:

Pattern Scope How changes appear Best suited to Main limitation
IOptions<T> Singleton Never refreshed after creation Settings fixed for the process lifetime Can remain stale
IOptionsSnapshot<T> Request scope in web applications A new value reaches the next request after a provider reload Controllers and scoped services Source reload is external; an active scope keeps its value
IOptionsMonitor<T> Singleton CurrentValue plus OnChange notifications Background workers and live reactions Callbacks require concurrency and disposal handling
Direct IConfiguration access Configuration root A key read follows the provider's current state Bootstrap code and isolated lookups No typed validation or stable per-request snapshot

For request-driven ASP.NET Core applications, IOptionsSnapshot<T> is usually the most natural fit when a change should take effect on the next request. It provides stable values within each request, ordinary options validation and a clear boundary between source reload and application behaviour, giving teams in Sydney, Melbourne and other Australian markets predictable deployment semantics without pretending that configuration changes are instantaneous.

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