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
Creating a plugin architecture with MEF or NET Core assembly loading
Plugin architecture gives a .NET application a controlled way to add capabilities without recompiling the host. A host publishes a small contract, discovers implementations supplied by internal teams or partners, and invokes them through that contract. The practical challenge is not simply finding DLLs; it is deciding which code may load together, how dependencies are resolved, and what happens when an extension is absent, incompatible or faulty.
Managed Extensibility Framework (MEF) and .NET Core assembly loading address related but distinct concerns. MEF supplies discovery, metadata and composition. An AssemblyLoadContext controls where an assembly and its dependencies are loaded, including isolation between different dependency versions. Treating them as interchangeable leads to brittle designs, while combining them deliberately can support simple plug-ins and plugins with private dependency graphs.
The need is familiar across Australian software teams. Sydney and Melbourne organisations often operate line-of-business systems for finance, logistics and healthcare, while Brisbane teams support field and office applications used across regional mobile networks and remote sites. A reporting plugin may need to share a host’s print service, whereas another may package a specialised data driver that conflicts with the host version. Good architecture keeps those differences behind explicit boundaries.
Session material from the C# Corner Conference 2020 reflects the breadth of the .NET ecosystem, but plugin design still requires judgement about contracts, trust and operations. The strongest starting point is a narrow host-owned interface, followed by a deliberate choice between composition and assembly isolation. The same design should also explain how a plugin is authenticated, updated and removed.
Choose the extension boundary
Start by describing trust and compatibility, not by selecting a directory scan. A trusted plug-in can run in the host process and share the application’s libraries. It may be suitable for MEF when all plug-ins target one supported runtime and dependency set. MEF then offers convenient exports, imports, metadata-driven discovery and lazy creation without custom reflection infrastructure.
An AssemblyLoadContext is preferable when plug-ins carry their own versions of libraries or need an unloadable lifetime. It separates dependency resolution, but it does not turn plug-in code into a security sandbox. Code in the context can still access files, networks, environment variables and application services permitted to the process. Treat the boundary as compatibility isolation, not a defence against hostile code.
A useful decision rule is to prefer MEF for trusted, tightly coupled extensions and custom assembly loading for independently versioned plug-ins. A third pattern is also practical: expose a common host contract, let the host choose the loading mechanism per plug-in package, and keep all business data in contract-owned request and response types. This accommodates a vendor bringing a mature component without forcing every internal extension into that vendor’s dependency model.
Define a stable plugin contract
The contract assembly is the most important compatibility boundary. Keep it in a separate library with minimal dependencies, and load the same contract assembly into the host and every plug-in. Avoid passing host entities, database contexts or framework-specific objects across the boundary. Plain data contracts, asynchronous methods, cancellation tokens and explicit error results are easier to support across releases.
Version the capability as well as the binary. A manifest can state the plug-in version, minimum host version, supported contract version and required operating-system or runtime features. Semantic version numbers help, but the host should check actual compatibility rules rather than assume that every backward-compatible-looking change is safe. A plug-in that supports only text reports, for example, can advertise that capability through metadata.
A compact contract might look like this:
public interface IReportRenderer
{
string Name { get; }
Task<RenderedReport> RenderAsync(
ReportRequest request,
CancellationToken cancellationToken);
}
public sealed record RenderedReport(
string ContentType,
byte[] Payload);
public sealed record ReportRequest(
string Dataset,
IReadOnlyDictionary<string, string> Parameters);
The implementation should be disposable when it owns resources, and the host should apply timeouts even when the contract includes cancellation. Clear exceptions and structured result codes let callers distinguish a bad request from an unavailable plug-in. This matters for Australian teams that hand over support across cities and time zones, where a failure may be detected and diagnosed in different locations.
Compose extensions with MEF
MEF works well when the host wants declarative composition. Add the composition package to the host, mark implementations with exports, and import them through the contract. Metadata can expose stable names, categories or capabilities without making the host understand concrete plug-in types. This is helpful when one application supports dozens of reporting or data-processing options.
[Export(typeof(IReportRenderer))]
public sealed class CsvReportRenderer : IReportRenderer
{
public string Name => "CSV";
public Task<RenderedReport> RenderAsync(
ReportRequest request,
CancellationToken cancellationToken) =>
Task.FromResult(new RenderedReport(
"text/csv",
Encoding.UTF8.GetBytes(request.Dataset)));
}
var catalog = new AggregateCatalog(
new DirectoryCatalog(pluginDirectory),
new AssemblyCatalog(typeof(IReportRenderer).Assembly));
var container = new CompositionContainer(catalog);
IReadOnlyList<IReportRenderer> renderers =
container.GetExports<IReportRenderer>().ToArray();
MEF also supports lazy imports and metadata queries, which can reduce startup work and let the host select an implementation by capability. Keep composition deterministic: scan a controlled plug-in directory, reject duplicate names and validate required metadata before exposing exports to application code. Directory scanning should not accidentally treat every DLL in a deployment folder as a candidate.
The main limitation is shared-process dependency resolution. MEF does not create a separate security boundary, and plug-ins that drag in conflicting versions of the same library can fail during composition or at runtime. If a plug-in is signed by an unknown party, MEF alone is not an adequate trust mechanism. Use it for trusted components, or place it behind a host-controlled loader that applies package validation before composition.
Load isolated assemblies in .NET Core
In .NET Core, AssemblyLoadContext is the runtime mechanism for controlling assembly identity and dependency resolution. A dedicated context can load a plug-in and resolve its private dependencies from the plug-in folder, while selected shared assemblies fall back to the host context. Each plug-in can therefore use a dependency version different from the one used by another plug-in.
A resolver-based context is a practical base:
public sealed class PluginContext : AssemblyLoadContext
{
private readonly AssemblyDependencyResolver resolver;
public PluginContext(string pluginPath)
: base(isCollectible: true)
{
resolver = new AssemblyDependencyResolver(pluginPath);
}
protected override Assembly? Load(AssemblyName assemblyName)
{
var path = resolver.ResolveAssemblyToPath(assemblyName);
return path is null ? null : LoadFromAssemblyPath(path);
}
}
The host should explicitly share the contract assembly. If the resolver can locate a private copy, the plug-in may load a second contract type, and the resulting cast will fail even though the names look identical. System assemblies and other deliberate host facilities should follow the same documented sharing policy. The resolver also expects the appropriate dependency metadata to sit beside the plug-in assembly.
Loading in a separate context enables collectible contexts in principle, but unloading requires more than calling Unload. The host must release references to plug-in objects, assemblies, events, tasks and static state; background threads and unmanaged resources can keep the context alive. Test unloading under realistic workloads. More importantly, isolation is not a sandbox: a plug-in still executes with the host process’s OS permissions and should not receive unrestricted access to production data merely because it resides in another context.
Package, deploy, and operate plugins
Treat each plug-in as a versioned software product. A package can contain the plug-in DLL, private dependencies, manifest, licence information and dependency metadata. Verify the package’s publisher and hash before loading it, scan it in a controlled build pipeline, and keep an inventory of active versions. Activation should be transactional so a failed plug-in does not prevent the host from starting with its known-good set.
Australian regulatory requirements influence what plug-ins may do as well as how they are deployed. Under the Privacy Act 1988 and the Australian Privacy Principles, personal information must be handled for stated purposes and protected appropriately; an extension should not quietly copy report data to an external service. If a system is covered by the Critical Infrastructure Act 2018, supply-chain controls and change records become especially important. Delegating a task to a plug-in cannot transfer accountability away from the host organisation.
Australian deployments often combine Azure-hosted services with on-premises installations in mines, hospitals or regional offices. A signed plug-in catalogue served from an internal mirror gives those environments a consistent update path without depending on public internet access. Teams can test activation in staging, roll out by tenant or site, and retain the previous package for rollback. Support windows should account for operational hours across Australian cities rather than assuming every customer follows one business day.
Observability must cross the boundary without exposing sensitive payloads. Record plug-in name, version, operation, duration and outcome, but avoid logging customer datasets by default. A timeout or circuit breaker can prevent one extension from exhausting a shared thread pool. Health checks should distinguish “host ready” from “optional plug-in unavailable”, allowing core workflows to continue while an administrator repairs the extension.
Compare MEF and assembly loading
Both approaches can implement the same host contract, but they optimise for different operating conditions. MEF reduces the code needed to discover and compose trusted exports. Assembly loading provides stronger control over dependency versions and can support unloading, provided the host manages object lifetimes carefully.
| Consideration | MEF composition | .NET Core assembly loading |
|---|---|---|
| Discovery | Built-in catalog and export metadata | Host must scan or inspect loaded assemblies |
| Dependency handling | Shares the host process dependency context | Each custom context can resolve private dependencies |
| Isolation | No security sandbox | Context isolation, but no OS-level sandbox |
| Lifetime | Simple for shared in-process components | Collectible contexts require careful reference cleanup |
| Best fit | Trusted plug-ins with compatible dependencies | Independently versioned plug-ins or dependency conflicts |
| Operational cost | Low to moderate | Higher because the host owns loading and diagnostics |
For a new system, start with a small contract and MEF if extensions are first-party, signed and released with the host. Move to a custom AssemblyLoadContext when independent release cadence or conflicting dependencies becomes a demonstrated requirement, while retaining the same contract. Hybrid architectures work best when the host owns policy, package validation and telemetry, and the plug-in owns only its declared capability. That division keeps extensibility useful without making deployment, security or everyday support unpredictable.
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