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
Registration & Breakfast
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
Managing Cloud Storage Accounts using Logic Apps
Viknaraj Manogararajah
Data visualization using Python
Sekhar Srinivasan
Going Cross platform with AR Foundation
Vivek Sharma
Keynote
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
Lunch
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
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
Tea Break
Introduction to PowerBI
Aakash Maurya
Build Advanced SPFx solutions with React and Graph API
Siddharth Vaghasia
Build Business Intelligence Analyst (BIA) Skills
Sundaram Subramanian
Deep dive of Power Platform – AI BUILDER
Prasham Sabadra
Panel 1
What's new in SharePoint development
Vipul Jain
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
Deploying serverless API's with .Net core 3.0 on AWS & Azure
Amey Vartak
Panel 3
Blockchain with .NET Core (Ark)
Anshu Kumari
Closing Note & Prize Distribution
Dev Track
Cloud Track
Architecture Track
Emerging Tech Track
Registration & Breakfast
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
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
Keynote
.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
Lunch
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
Speed up your .Net Core Website
Sourabh Somani
Azure
Magnus Mårtensson
Demystifying Open Distro for Elasticsearch
Suman Debnath
Future of Data
Shivam Ahuja
Tea Break
gRPC with C# and .Net Core
Mangesh Gaherwar
Panel 1
Essentials of Cloud security
Parveen Malik
Power platform and Dynamics 365
Deepesh Somani
Microservices - the gRPC Way
Viswanatha Swamy
Panel 2
Reserved
Reserved
Closing Note & Prize Distribution
Versioning ASP.NET Core Web APIs with Microsoft.AspNetCore.Mvc.Versioning
Software teams building public-facing services eventually run into an awkward realisation: every useful API breaks someone, eventually. A field gets renamed, a payload shrinks, a long-standing date format suddenly needs to support ISO 8601 with offsets for European partners. The C# Corner Annual Conference 2020 has tracked this pattern across stacks for years, and several sessions are dedicated to the unglamorous craft of evolving interfaces without forcing every consumer to redeploy on the same afternoon.
For Australian developers specifically, the pressure to version well has intensified since the Consumer Data Right began mandating open banking endpoints at CBA, NAB, ANZ, and Westpac. Banks and fintechs in Sydney and Melbourne now publish versioned APIs the way postal services publish postcodes: predictably, visibly, and with a public deprecation calendar. The Microsoft.AspNetCore.Mvc.Versioning library has become the default .NET choice for this work, and what follows is a practical walkthrough of building a clean, production-grade implementation.
Why every public endpoint needs a versioning strategy
An API without versions is, in practice, an API that cannot change. The first release always feels permanent: contracts ship, mobile clients cache responses, partner integrations move through change boards, and Slack threads document implied commitments that nobody ever wrote down. Once a single breaking change becomes impossible, the codebase starts paying interest in workarounds, optional fields, and ad-hoc parsing rules that quietly rot the codebase.
Versioning resets that clock. By tagging routes with explicit version numbers, teams can introduce breaking changes behind a new segment while keeping legacy consumers running unchanged. This is the approach the Australian Prudential Regulation Authority expects from regulated entities under CPS 234, since every security improvement is technically a contract change and deserves its own release line.
The library, maintained by Chris Martinez and a small set of contributors, plugs into the standard ASP.NET Core middleware pipeline without requiring a custom serializer or a particular architectural style. It plays cleanly with the dependency injection container that ships in-box, which keeps the upgrade path short when teams migrate from .NET Core 3.1 to later .NET versions.
Setting up the library in a fresh project
Installation is a single package reference. From the Package Manager Console in Visual Studio, or directly in a CI pipeline running dotnet add package Microsoft.AspNetCore.Mvc.Versioning, the package resolves against .NET Core 3.1 and the newer .NET versions that sit on most Australian build servers. There are no native dependencies that require platform-specific tooling, which simplifies container builds targeting ap-southeast-2 or the newer Azure Australia regions.
Once referenced, registration happens in Startup.ConfigureServices. Calling AddApiVersioning returns a builder that exposes the four options that matter most: DefaultApiVersion, AssumeDefaultVersionWhenUnspecified, ReportApiVersions, and ApiVersionReader. The first sets the version returned when a caller forgets to ask. The second decides whether the framework honours that default or returns a 400. The third controls whether response headers advertise supported versions, which is critical for clients that discover capability at runtime. The fourth selects where the version string is read from on each request.
A minimal but reasonable configuration resembles:
services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(2, 0);
options.AssumeDefaultVersionWhenUnspecified = true;
options.ReportApiVersions = true;
});
Controllers then opt in by decorating themselves with [ApiVersion] attributes, and the framework matches incoming requests against those declarations. Pairing this with AddVersionedApiExplorer() on the IMvcBuilder wires up the metadata needed for tooling like Swagger.
Choosing where versions live in the request
The version reader choice is partly stylistic and partly architectural. A header-driven strategy keeps URLs clean, which suits microservices behind an API gateway running in AWS Sydney. A URL-segment strategy, by contrast, makes versioned endpoints visible to anyone reading logs in Kibana, which is often what incident responders in Brisbane prefer at 2 a.m. AEST when something is on fire. The library supports four readers and they can be combined.
Query string, URL segment, header, and media type parameters can all be configured independently, and ApiVersionReader.Combine allows multiple readers to coexist. This matters for organisations that inherit older partners using query strings while onboarding new partners onto header-based discovery. The trade-offs between approaches are captured in the comparison below.
| Strategy | Typical Format | Discoverability | Cache Friendliness | Best Suited For |
|---|---|---|---|---|
| URL segment | /api/v2/customers |
High in logs and docs | Excellent with CDN rules | Public APIs, mobile clients |
| Query string | /api/customers?api-version=2 |
Low in shared URLs | Limited, varies by CDN | Internal tools, legacy partners |
| HTTP header | X-Version: 2 |
Hidden from URLs | Depends on header propagation | Service-to-service calls |
| Media type | Accept: application/json; v=2 |
High through content negotiation | Strong | Standards-driven APIs |
The combination approach tends to be what CDR-compliant banks settle on. Public endpoints use URL segments for human readability, while machine-to-machine flows rely on headers for tighter coupling with gateway policies. Picking a single reader is fine for a single product; combining two readers becomes essential once you have a mixed audience with different integration patterns.
Decorating controllers, surfacing deprecation, and documenting with Swagger
Real applications rarely have exactly two versions of exactly one controller. Some endpoints stay frozen forever, others carry parallel minor versions, and a few are explicitly retired but still reachable for a grace window. The library handles all of these through attribute composition on the controller class.
Applying [ApiVersion("1.0")] to a controller marks the entire surface as version 1.0. Adding a second attribute, [ApiVersion("2.0")], signals that the same controller also responds to that version, which lets older code migrate gradually without breaking in flight. For endpoints that are genuinely the same regardless of version, [ApiVersionNeutral] excludes them from the matching logic entirely; health checks and metadata endpoints usually take this path.
Deprecation deserves explicit handling. [Obsolete] on the .NET type is one signal, but the library ships its own [Deprecated] marker that propagates into response headers. The Sunset policy attaches a date the team can publish on their developer portal so partners see the retirement timeline months ahead. Australian teams working with myGov or ATO integrations often rely on this header to align their own maintenance windows with the ATO's quarterly release calendar.
When a single controller action needs to behave differently between versions, MapToApiVersion keeps the change local. Other overloads of the same action remain bound to their declared versions, which keeps the diff in code review readable and limits the blast radius of any review mistake. Documentation is the other half of the contract. Pairing the library with Swashbuckle.AspNetCore and injecting IApiVersionDescriptionProvider produces one OpenAPI document per version.
Regional considerations for Australian deployments
Cloud deployment choices influence versioning architecture more than they appear to. Azure Australia East and Australia Central 2 sit within Australian geographic boundaries, which is the expectation under the Privacy Act for any data touching citizens. Behind those regions, the versioned API surface is often fronted by Azure API Management, which understands versioning natively and can route /v1/ and /v2/ to different backend revisions without touching application code.
Time zone windows matter as well. Production deployments in Melbourne and Sydney tend to be scheduled for Sunday afternoon AEDT, partly because that aligns with low consumer traffic and partly because on-call rotations cycle Monday morning. Versioned APIs make those windows safer: the new version can sit behind a feature flag while the previous one continues serving real traffic, then get promoted once health metrics confirm stability over a few hours.
Compliance shapes the structure too. CDR-mandated data holders must publish public versions of their data sharing APIs with explicit deprecation timelines, and APRA-regulated entities track every change as a contract event under CPS 234. The Microsoft.AspNetCore.Mvc.Versioning library gives those teams the metadata they need, both in response headers and in generated OpenAPI descriptions, which keeps audit trails clean when assessors come knocking.
Practical recommendations for rolling out versioned APIs
- Adopt URL segments as the primary version reader and add a header reader as a secondary channel for service-to-service callers.
- Set
ReportApiVersions = trueon every public deployment soapi-supported-versionsandapi-deprecated-versionsheaders are always emitted on responses. - Reserve
[ApiVersionNeutral]for health, metrics, and discovery endpoints that should never break clients during a migration. - Use
MapToApiVersionsparingly, preferring new controllers or partial class files for distinctly shaped versions to keep code review diffs clean. - Generate one OpenAPI document per version and expose a version selector in Swagger UI so partners can switch context without leaving the page.
- Publish a deprecation calendar alongside the API reference, with sunset dates aligned to your maintenance window (a Sunday arvo AEDT slot works well for AU teams).
- Keep version numbers formatted as
Major.Minorand avoid patch-style suffixes, since patch implies backwards-compatible behaviour that explicit versioning is designed to relax deliberately.
1, CBD, Maharaj Surajmal Road, Near Yamuna Sports Complex, Delhi, 110032
GENERAL QUERIES
Manish Tewatia
manish@csharpcon.com
+91-9718-431-042
TICKET QUERIES
Atul Gupta
conference@csharpcon.com
+91-9910-125-804