.NET, .NET Core, .NET 5 and C# Tutorials

.NET is the umbrella that represents the key pieces of the .NET platform delivered from Microsoft, including the .NET Framework, .NET Core and the recently announced .NET 5, as well as a shared common layer of packages, compilers and runtime.

10
categories
333
tutorials
35 Million
readers
32825 views
Abstract: This tutorial explores the evolution of string interpolation in C# from its inception to the latest enhancements. This guide delves into its features, showcasing its readability, conciseness, and flexibility. Read this article to stay updated with the most beloved feature of C# and enhance your coding experience.
17485 views
Abstract: This tutorial shows two different options for running your .NET code as part of a GitHub Actions workflow using .NET local tools and custom Github actions.

Using GitHub Actions to build .NET projects

Authored by: Damir Arh , on 7/25/2022 in Category C#
86020 views
Abstract: The tutorial explains how a .NET Developer can take advantage of GitHub Actions. It presents two ways to create a GitHub Actions workflow for a .NET solution.

Get the most out of Async/Await in C#

Authored by: Yacoub Massad , on 6/3/2022 in Category C#
102716 views
Abstract: In this article, I try to show how async/await can be used to solve problems in situations where developers may not think about async/await as an immediate solution.

Async streams in C# – Deep Dive

Authored by: Damir Arh , on 2/9/2022 in Category C#
159038 views
Abstract: This article explores C# async streams in detail: from the basics and the reasoning behind them, to real-world examples of using and creating them.

Tic Tac Toe in F# - Part 3

Authored by: Yacoub Massad , on 1/11/2022 in Category C#
74969 views
Abstract: In this part of the article series, I will continue exploring the F# language, a .NET based functional-first programming language, by using the example of the Tic Tac Toe game.

Tic Tac Toe in F# – Part 2

Authored by: Yacoub Massad , on 5/16/2021 in Category C#
242334 views
Abstract: F# is a.NET based functional-first programming language. In the second part of the tutorial series, I will continue exploring the F# language, by using an example of the Tic Tac Toe game.

Nullable Reference types in C# – Best practices

Authored by: Damir Arh , on 4/29/2021 in Category C#
959485 views
Abstract: In this tutorial, I look at the state of the Nullable Reference Types feature in C#, one year after its initial release.

C# 9 - Making your code simpler

Authored by: Damir Arh , on 4/10/2021 in Category C#
577292 views
Abstract: The tutorial introduces a subset of C# 9 features which can make your code shorter and simpler. It concludes with a brief look at what future versions of the language might bring.

F# Language Features - Part 1 (Tic Tac Toe Example)

Authored by: Yacoub Massad , on 2/22/2021 in Category C#
285590 views
Abstract: F# is a .NET based functional-first programming language. In this article series, we will explore the F# language by using the example of the Tic Tac Toe game.
1150222 views
Abstract: This C# tutorial demonstrates how to take advantage of Roslyn to increase the amount of dynamic language features we can use into our programs without compromising on type safety.
1216582 views
Abstract: This article provides a complete overview of .NET 5: what it is, when it was released, what it includes, where to download and how you can use it.
397435 views
Abstract: This tutorial on .NET 5 provides a complete overview of the latest version of .NET - .NET 5 Preview 8. It covers new features, performance, release schedule, it’s current status and how you can download .NET 5 and test the latest preview.
235144 views
Abstract: Microsoft held the 10th edition of Build, its annual developer conference. This article provides an overview of announcements at this year’s Build virtual event that are particularly relevant for developers.
132979 views
Abstract: What were the announcements made at Microsoft Ignite that are of interest to developers? How can developers use these announcements to steer ahead in 2020! Read on!
55669 views
Abstract: Creating and distributing Visual Studio templates is hard. You need to get familiar with custom XML formats, the VSIX project type, and Visual Studio’s occasionally eccentric behavior. Now you don’t waste time with that. Learn how you can instantly extract a ready-to-go template out of your existing solution using solution-snapshotter.

Recommended Asynchronous Pattern in .NET

Authored by: Damir Arh , on 11/24/2019 in Category C#
93739 views
Abstract: The recommended pattern for asynchronous programming in the .NET framework is the task-based asynchronous programming (TAP). This tutorial gives a brief info about this pattern.
59981 views
Abstract: Developers do not need to implement the IEnumerable and IEnumerator interfaces to return an IEnumerable. They can avoid writing all of that code by taking advantage of support for iterators in C#. This tutorial shows how.
52663 views
Abstract: This article is an overview of .NET Core 3.0 covering all the new features and improvements it’s bringing to the .NET ecosystem.
78242 views
Abstract: Microsoft created in a new API in .NET Core some time back which is effectively a recommended option for producer consumer now.This article introduces this new .NET API for implementing asynchronous version of the producer-consumer pattern.
74166 views
Abstract: Although there haven’t been as many new developments in approaches to desktop development as there were in web development, there are still several different frameworks available to .NET developers for creating desktop apps. This article provides an overview of them, compares their features and gives recommendations on what to choose depending on the application requirements.
47772 views
Abstract: The tutorial provides an overview of .NET Core Global tools: how to use them, how to create them and what to expect of them in future versions of .NET Core.

New C# 8 Features in Visual Studio 2019

Authored by: Damir Arh , on 4/2/2019 in Category C#
167329 views
Abstract: This tutorial gives an overview of all the new features in C# 8 which can be tried out using Visual Studio 2019.
67428 views
Abstract: The way LINQ queries are executed depends on the kind of data source being queried. This tutorial talks about how a LINQ query is executed and how this affects performance.
22306 views
Abstract: The Absolutely Awesome Book on C# and .NET has released. Built around concepts, this concise 500 pages eBook is available in PDF, ePub (iPad) and Mobi (Kindle) and will help you build a solid foundation in C# and .NET. This book covers C# 6.0, C# 7.0, .NET Framework and .NET Core, with chapters that cover the latest developments to .NET and C# including .NET Standard and C# 8.0.
22035 views
Abstract: The .NET ecosystem including .NET Core, .NET Standard, C# and Visual Studio 2019 introduced many changes and new features in the year 2018. This article talks about these new feature updates and highlights how it will affect the way we develop applications in the future.

Less commonly used C# operators

Authored by: Damir Arh , on 12/31/2018 in Category C#
21466 views
Abstract: A tutorial on some less commonly used arithmetic, relational, logical, equality operators in C# and how to use them.

Garbage Collection in C# (.NET Framework and .NET Core)

Authored by: Damir Arh , on 12/23/2018 in Category C#
54529 views
Abstract: This C# tutorial explains how Garbage Collection works in .NET Framework and .NET Core, and some best practices to follow.

How to Choose the Right .NET Collection Class?

Authored by: Damir Arh , on 11/25/2018 in Category C#
34935 views
Abstract: The .NET framework Base Class Library contains many collection classes. This can make it difficult to decide when to use which. Grouping them together based on their properties can make the choice for a specific scenario, much easier.

The Evolution of C#

Authored by: Damir Arh , on 10/22/2018 in Category C#
29062 views
Abstract: Since its original release in 2002, C# has been regularly updated with new features. Today, we will look at the most important new features of each major language version and explore how the C# code we have been writing, has evolved through years.
35469 views
Abstract: Blazor leverages a number of technologies in smart ways in order to provide a SPA framework that can run .NET code in the browser. In this tutorial, we will explore what is Blazor and the new possibilities it brings for Developers.

C# Sharding and Multithreading - Deep Dive

Authored by: Jeffrey Rennie , on 8/26/2018 in Category C#
45799 views
Abstract: Can database-style sharding improve the performance of a multi-threaded C# application? This tutorial talks about the performance bottlenecks in sophisticated C# concurrency operations and how sharding can solve these issues.
46985 views
Abstract: Using SqlLocalDB to allow simple automated Integration Testing in both greenfield and brownfield projects.

Interview with the C# Boss - Mads Torgersen

Authored by: Suprotim Agarwal , on 8/10/2018 in Category C#
28402 views
Abstract: The DotNetCurry team had the opportunity to interview Mads Torgersen, C#’s Lead Language Designer, and find out what’s happening in C#, and where does it go from here.
62067 views
Abstract: This tutorial explores how to develop .NET Core applications in Visual Studio Code (VS Code). We will explore some extensions that enhance Visual Studio Code and improves your .NET Core development experience.

Dynamic Binding in C#

Authored by: Damir Arh , on 6/27/2018 in Category C#
90489 views
Abstract: Dynamic binding in C# opens some possibilities which would not be available in a strictly strong typed language. This tutorial explores how C# supports dynamic binding.

C# 8.0 – New Planned Features

Authored by: Damir Arh , on 5/26/2018 in Category C#
96322 views
Abstract: In this C# 8 tutorial, I am going to introduce a selection of currently planned features which will most probably end up in the final release. All of the C# 8 features are still early in development and are likely to change.

C# 7.1, 7.2 and 7.3 - New Features (Updated)

Authored by: Damir Arh , on 5/14/2018 in Category C#
87680 views
Abstract: C# 7 has added a number of new features to the language. This tutorial looks at the new features added to the minor versions of C# i.e. C# 7.1, 7.2 and and 7.3.
54359 views
Abstract: A peek into the major differences between the .NET framework versions and how we can still target older versions of .NET framework even when using the latest development tools.

How Well Do You Know C#?

Authored by: Damir Arh , on 2/5/2018 in Category C#
39799 views
Abstract: Even developers with good C# skills write code that might behave unexpectedly sometimes. This article features several C# code snippets which fall into that category, and explains the reasons behind the surprising behavior.

C#: Favorite Features through the Years

Authored by: David Pine , on 1/15/2018 in Category C#
40487 views
Abstract: Each newer version of C# is packed full of powerful and impactful features. In this tutorial I walk through the various versions of C# and share my favorite features from each release.

C# 7.1, 7.2 and 8 - New and Upcoming Features

Authored by: Damir Arh , on 11/22/2017 in Category C#
76139 views
Abstract: Visual Studio 2017 15.3 update was a big milestone for C#. It was the release vehicle for C# 7.1 – the first minor version of C# 7. This article will take a closer look at its new features and the plans for future versions (C# 8) of the language.

Visual Studio 2017 - What’s New

Authored by: Mahesh Sabnis , on 11/15/2017 in Category Visual Studio
34088 views
Abstract: Visual Studio 2017 (VS 2017) is the latest version of Visual Studio. This article explains some of the most important features of VS 2017 which are useful for boosting developer productivity.
64753 views
Abstract: New Features in Entity Framework Core 2.0. EF Core is a lightweight, extensible, and cross-platform Object/Relational Mapping (O/RM) framework for .NET.

Continuous Testing in .NET

Authored by: Damir Arh , on 10/16/2017 in Category .NET Standard & .NET Core
35821 views
Abstract: Live Unit Testing functionality in Visual Studio 2017 brought more attention to the practice of continuous testing. This article will explain what continuous testing is all about, why you should care and how you can practice it as a .NET developer.
52031 views
Abstract: Microsoft has been recently announcing a slew of new development tools and frameworks for .NET Developers. This post gives a brief overview of what was announced and what is currently available.
37965 views
Abstract: This article takes a peek into the past, present and future of Entity Framework Core. It also explains the good bits and current shortcomings of EF Core, as well as some alternatives to it.

Functional Programming (F#) for C# Developers

Authored by: Damir Arh , on 8/21/2017 in Category C#
75491 views
Abstract: As a C# developer, you might already be writing some functional code without realizing it. This article describes some of the functional approaches you are already using in C#, as well as some improvements in C# 7 that make functional programming in it, easier.
33409 views
Abstract: .NET Standard 2.0 and XAML Standard were announced at Build 2017, which could have a big effect on the future of cross-platform development in .NET. In this article we’ll take a detailed look at what they are and why they might be important.
167564 views
Abstract: Connect to a Bitbucket from Visual Studio 2017 and use Git features to create and clone a repository, commit, create and merge branches and create and use pull requests.

C# 7 - What's New

Authored by: Damir Arh , on 6/7/2017 in Category C#
151686 views
Abstract: C# 7 is the next version of C#. This article provides an overview of the new features in C# 7.0.

DotNetCurry (DNC) .NET Magazine FAQ

Authored by: Suprotim Agarwal , on 5/26/2017 in Category C#
27533 views
Abstract: The DotNetCurry (DNC) Magazine is a Free bi-monthly .NET magazine. This post contains some frequently asked question and answers to enhance your reading experience.

Live Unit Testing in Visual Studio 2017

Authored by: Gouri Sohoni , on 5/3/2017 in Category Visual Studio
39133 views
Abstract: Live Unit Testing in Visual Studio 2017 improves upon traditional unit testing to provide automation testing and helps achieve rapid development.

Understanding HashSet in C# with Examples

Authored by: Mahesh Sabnis , on 4/28/2017 in Category C#
298570 views
Abstract: The HashSet collection type was first introduced in C# v3 and with .NET 3.5. This article will explore features of Hashset and also compare its performance with List.
136124 views
Abstract: Learn approaches to concurrent programming in .NET Core, as well as potential issues to be aware of.

NUnit Testing with Visual Studio 2015

Authored by: Gouri Sohoni , on 3/20/2017 in Category Visual Studio
48536 views
Abstract: Learn NUnit testing starting from TDD to converting it to data driven test and how to incorporate it for Visual Studio 2015.
80330 views
Abstract: This article explains how to use Entity Framework (EF) Core in ASP.NET Core Web API for performing CRUD operations.

Entity Framework Core Tutorial

Authored by: Mahesh Sabnis , on 2/23/2017 in Category Entity Framework
83322 views
Abstract: Entity Framework (EF) Core is a lightweight, extensible, and cross-platform ORM framework. This tutorial will help you get started with EF Core.

Visual Studio Code (VS Code) Condensed

Authored by: Damir Arh , on 2/6/2017 in Category Visual Studio
55634 views
Abstract: This Visual Studio Code (VS Code) article will help you get started, and make you more productive at this increasingly popular text editor.
33454 views
Abstract: This article will discuss best practices for Agile Development from a developer’s perspective and how tools like Visual Studio help implement these Agile best practices.

Authorization call back function in Azure

Authored by: Gouri Sohoni , on 1/11/2017 in Category Visual Studio
16758 views
Abstract: Create and execute call back function from the azure website. We also create an authorization page for the organization.
26012 views
Abstract: This article discusses multiple ways to create an environment using Microsoft Test Manager
24988 views
Abstract: Microsoft recently announced a slew of new development tools and frameworks for developers at Connect(); // 2016. This post gives a brief overview of what was announced.

Code Quality Tools in Visual Studio 2015

Authored by: Gouri Sohoni , on 12/3/2016 in Category Visual Studio
38330 views
Abstract: The Code Quality tools in Visual Studio 2015 can help developers identify potential risks in the code and fix them in order to create quality, maintainable code.
34124 views
Abstract: What is .NET Standard and why should developers care about it. Also get a sneak peek into the upcoming .NET Standard 2.0.
64826 views
Abstract: Learn about .NET Core – a subset of .NET Framework. .NET Core is an attempt to make it more streamlined for specific purposes, structured enough to be lean and mean and robust eventually.
181708 views
Abstract: The async and await keywords in C# makes asynchronous programming simpler, however one can still use them incorrectly. This article highlights some common mistakes, and gives advice on how to avoid these mistakes.
18640 views
Abstract: How a team can use VSTS for developing a cross platform mobile application in Xamarin on the Azure Platform

An Interview with Eric Lippert

Authored by: Suprotim Agarwal , on 7/7/2016 in Category C#
51342 views
Abstract: We are thrilled to have Eric Lippert to talk to us once again in our 4th Anniversary edition of the DNC Magazine.

Querying JSON using LINQ

Authored by: Mahesh Sabnis , on 7/4/2016 in Category C#
94446 views
Abstract: JSON.NET is a great framework for working with JSON data. We will perform JSON Serialization and Deserialization operations and query data using LINQ.
53852 views
Abstract: Microsoft Bot Framework and Cognitive Services are Intelligent API offerings which that allow systems to see, hear, speak, understand and interpret our needs with natural communication

Test Your C# Basics

Authored by: Suprotim Agarwal , on 5/3/2016 in Category C#
42661 views
Abstract: Test your C# Basics around variables, types and operators. Post your answers in the comments section

Serializing JSON Data into Binary Form

Authored by: Mahesh Sabnis , on 4/23/2016 in Category C#
55380 views
Abstract: Using Netwonsoft.Json package to work with JSON Serialization and Deserialization operations
47106 views
Abstract: Roslyn now known as .NET Compiler Platform is the next generation of C# compiler and more. This article gives a general overview and guidance about Roslyn.
44260 views
Abstract: Project template creation for Visual Studio can be another tool in your tool belt. This guide will get you started.
19596 views
Abstract: Execute Code Metrics Utility with the help of PowerShell Script as part of the new Build process in TFS and Visual Studio 2015
15734 views
Abstract: A compilation of our best Visual Studio 2015, Windows Azure with MVC, C#, Software Gardening, Design Patterns, WPF and UWP articles authored in 2015.

Upgrading Existing C# Code to C# 6.0

Authored by: Damir Arh , on 12/15/2015 in Category C#
50393 views
Abstract: C# 6.0 brings many small improvements to the language. However, does it make sense to upgrade your existing C# code base to take advantage of the new C# 6.0 features? Let us find out.

WPF ItemsControl – Advanced

Authored by: Kent Boogaart , on 11/18/2015 in Category WPF
81800 views
Abstract: This article talks about advanced topics in WPF ItemsControl such as grouping and custom layouts.
33293 views
Abstract: Diagnostic analyzers are a great new extensibility feature in Visual Studio 2015 for performing static code analysis. This article will walk you through the process of creating a simple diagnostic analyzer on your own.

Diagnostic Analyzers in Visual Studio 2015

Authored by: Damir Arh , on 10/8/2015 in Category Visual Studio
28066 views
Abstract: Diagnostic analyzers in Visual Studio 2015 will strongly affect the way we will be writing code in future.This article will help you learn everything you need to know about diagnostic analyzers.
79311 views
Abstract: Different Types of Constructors in C# - Default, Parameterized, Copy, Static and Private. C# Interview Question No. 1
51158 views
Abstract: This articles makes use of the Task class in WPF for creating responsive and interactive WPF apps
34651 views
Abstract: The new XAML tools provided in Visual Studio 2015 helps developers to effectively manage and work with XAML based applications for UI Debugging, Performance etc. This article gives you an overview of the new XAML tools.

Code Contracts in C#

Authored by: Pravinkumar Dabade , on 8/27/2015 in Category C#
90308 views
Abstract: Code Contracts API includes classes for static and runtime checks of code and allows you to define preconditions, postconditions, and invariants within a method. The Contracts class is found in the System.Diagnostics namespace.
58787 views
Abstract: This articles demonstrates TransactionScope in an ASP.NET MVC and EntityFramework application to manage transactions across tables of different databases.

WPF ItemsControl Fundamentals - Part 1

Authored by: Kent Boogaart , on 7/30/2015 in Category WPF
72024 views
Abstract: Explore the fundamental concepts of the WPF ItemsControl class.
47843 views
Abstract: WCF and MSMQ can be used to queue messages and also provide secure and reliable transportation of messages.
45813 views
Abstract: The debugging features in Visual Studio 2015 are developer friendly and easy to use. This article demonstrates how developers can use these features for effective debugging management.
105069 views
Abstract: Understanding Resources in WPF including difference between static and dynamic resource
76244 views
Abstract: Walkthrough for using WPF commanding for enabling / disabling Button with Command Property

Smart Unit Tests in Visual Studio 2015

Authored by: Gouri Sohoni , on 3/24/2015 in Category Visual Studio
40750 views
Abstract: Smart Unit Tests in Visual Studio 2015 are used for automated white box testing along with code coverage. This article gives an overview of Smart Unit Tests.
28956 views
Abstract: Entity Framework 6.1 comes with new features like Async support, Connection Resiliency, Logging etc. We will explore these features in an ASP.NET MVC application
46152 views
Abstract: Explore some new IDE features in Visual Studio 2015 which makes developers more productive.
142147 views
Abstract: Using Grunt, Gulp and Bower to build modern web apps in Visual Studio 2013 and 2015
40577 views
Abstract: System.Windows.Interactivity helps us to associate custom commanding for those WPF elements who do not have the Command property exposed. This article demonstrates how to implement custom behavior without making use of a 3rd party framework.
28003 views
Abstract: In this article, we will discuss benefits of Test Plan and Test Suites in Visual Studio 2013 Update 3 as work items, which can now be customized to suit the specific needs of an organization.
26748 views
Abstract: The Debugging enhancements in Visual Studio 2015 Preview is worth checking out. This article provides an overview of the same.
72015 views
Abstract: Code can be hand written in CUIT without the help of any code generator for Coded UI Test. In this article, we will see how to hand code Coded UI Test using Visual Studio 2013.
88056 views
Abstract: This article will guide you through the steps of accessing WCF REST Service using Angular.js in an ASP.NET MVC app
1234
OSZAR »