SDK (Software Development Kit)
An SDK is a toolkit with which you build software for a platform or a service: libraries, compilers, command-line tools, and documentation in one package. In .NET, the word has three meanings.
An SDK (software development kit) is a collection of libraries, tools, and documentation with which you develop software for a specific platform or a specific service. Whoever works in .NET meets the term in three meanings at once.
Three SDKs, one word
The .NET SDK is the package you install on your computer. According to Microsoft's description, it contains the .NET command line (dotnet), the runtime, and the class libraries. You work with it every day through dotnet new, dotnet build, dotnet test, and dotnet publish. Several versions can be installed side by side.
A project SDK is in every .csproj file. The file is written in XML, and its root element names the SDK:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
</Project>
A project SDK consists of MSBuild targets and tasks that compile, pack, and publish the code. Microsoft.NET.Sdk is the foundation, Microsoft.NET.Sdk.Web adds ASP.NET Core to it, and Microsoft.NET.Sdk.Worker background services. That is why a small project file does not have to list every source file one by one: by default, the SDK includes all .cs files in the folder.
A service SDK is a provider's client library. For Azure, the packages are called Azure.Storage.Blobs, Azure.Messaging.ServiceBus, and so on, and Azure.Identity provides the sign-in. Your code then calls methods instead of building HTTP requests by hand:
using Azure.Identity;
using Azure.Storage.Blobs;
var credential = new DefaultAzureCredential();
var client = new BlobServiceClient(
new Uri("https://myaccount.blob.core.windows.net"), credential);
DefaultAzureCredential tries several ways of signing in one after the other. Locally, it takes, for example, the Azure CLI's sign-in; in Azure, the service's managed identity. The code stays the same, and no key is in the source code.
SDK, library, framework
A library is a piece of code that you include. A framework also sets how your application is built. An SDK is the umbrella term for the package around it: it can contain libraries, tools, and templates. An SDK does not replace an API but makes it convenient to use: the Azure SDK calls Azure's REST interfaces in the background.
An example from the Kladde
The file-based apps of the first web API lesson start with the line #:sdk Microsoft.NET.Sdk.Web. With this one line, a single C# file becomes a web application on ASP.NET Core. When the Kladde is delivered to Azure, the service SDK comes in later, for example for files in Blob Storage, with a managed identity instead of a key.
In the course
You install the .NET SDK in K0 in the lesson Setting up your tools. The project file and its SDK entry are the topic in K1, module 1.1, lesson From a file-based app to a project. You get to know the web SDK in K2, module 2.3, in the lesson The first web API. Signing in without a key with a managed identity follows in K3, module 3.3.