- Home
- .NET coding challenges
.NET coding challenges
![Adding services to dependency injection in ASP.NET Core](/media/ucoktqo4/codingchallengediaddservice.png?width=350&height=197&v=1d9d8ebcb88e1c0)
![Using the Route attribute in an ASP.NET Core Web API](/media/dzzmgyf1/codingchallengesroute.png?width=350&height=197&v=1d9efece92c86b0)
Using the Route attribute in an ASP.NET Core Web API
Learn how to use the Route attribute in an ASP.NET Core Web API controller with our C# coding challenge![Dependency injection circular dependency dangers in .NET](/media/ibihunpw/codingchallengedicircular.png?width=350&height=197&v=1d9e4f4f221e100)
Dependency injection circular dependency dangers in .NET
Take our ASP.NET Core coding challenge where we explore the circular dependency dangers with the IoC container in dependency injection.![Using a partial class in C#](/media/khipmssb/codingchallengepartialclass.png?width=350&height=197&v=1d9e4f158500230)
Using a partial class in C#
Take our C# coding challenge where we add the partial keyword so we can add two identical class names without any compile errors.![Configuring an appsettings.json environment](/media/o5hkplfi/codingchallengeappsettingsenvironment.png?width=350&height=197&v=1d9e4eec7aa0ca0)
Configuring an appsettings.json environment
Take our ASP.NET Core coding challenge that will configure an appsettings.json environment variable to Production.![Using the yield statement in C#](/media/rqbnanvy/codingchallengeyield.png?width=350&height=197&v=1d9e3d7dac41e60)
Using the yield statement in C#
This C# coding challenge looks at the yield statement and how to use it in a collection like a list or an array.![Using an interface in C#](/media/rfsmtjfp/codingchallengeinterface.png?width=350&height=197&v=1d9e3d3e6450d70)
Using an interface in C#
This C# coding challenge looks at how an interface works in C# and why an inherited class won't compile.![Using the abstract modifier in C#](/media/w0gnmzqc/codingchallengeabstract.png?width=350&height=197&v=1d9e3d1abc31860)
Using the abstract modifier in C#
This C# coding challenge looks at how the abstract modifier works in C# and why an inherited abstract class won't compile.![Inject services with different lifetimes with .NET](/media/qe3hz5w4/codingchallengedependencyinjection.png?width=350&height=197&v=1d9d72f7a6849b0)
Inject services with different lifetimes with .NET
Take our .NET coding challenge to use ASP.NET Core dependency injection to inject services with different lifetimes.![Add a connection string to appsettings.json](/media/c3hgic45/codingchallengeappsettingsconnectionstring.png?width=350&height=197&v=1d9dd9d3d5c3f80)
Add a connection string to appsettings.json
Take our .NET coding challenge to add a connection string to appsettings.json so an ASP.NET Core app can connect to a SQL Server database.
Watch .NET tutorials
Subscribe to our YouTube channel