All fields

“NuGet” in Information Technology

34 questions across 4 technologies.

Information Technology

34 questions in 4 technologies

#QuestionTechnologyTopicLevel
1What is NuGet, and what problem does it solve for .NET developers? .NET › Assemblies & NuGet.NETAssemblies & NuGetBeginner
2How does NuGet resolve version conflicts when two packages depend on different versions of the same transitive dependency? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
3How does semantic versioning apply to NuGet packages, and what do version range operators like [1.0,2.0) mean? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
4How do you audit a .NET project's dependencies for known security vulnerabilities using NuGet tooling? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
5How do you create and publish your own NuGet package from a class library project? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
6What is the difference between a NuGet package's dependency group targeting different frameworks, and why do multi-targeted packages need this? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
7What is a NuGet lock file (packages.lock.json), and what problem does it solve for reproducible builds? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
8What are NuGet package sources, and how do you configure a project to pull packages from a private/internal feed alongside NuGet.org? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
9What is Central Package Management (CPM) in NuGet, and how does Directory.Packages.props centralize version control? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
10How do you add a NuGet package to a MAUI project? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesBeginner
11How do you add a NuGet package to a MAUI project? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesBeginner
12How do you add, remove, and list NuGet package references using the dotnet CLI? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Intermediate
13How do 'extension method ambiguity' conflicts arise when two different NuGet packages or namespaces define extension methods with the identical signature, and how do you resolve them? C# › Extension MethodsC#Extension MethodsAdvanced
14What is strong naming of assemblies, and why is it much less commonly required in modern .NET? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
15What is package source mapping, and how does it protect against dependency confusion attacks? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
16What is an assembly in .NET, and what does it contain? .NET › Assemblies & NuGet.NETAssemblies & NuGetBeginner
17What is the Global Assembly Cache (GAC), and is it still relevant in modern .NET? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
18What is assembly loading context, and how does AssemblyLoadContext enable plugin isolation in modern .NET? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
19How does reflection allow inspecting an assembly's types and metadata at runtime, and what are common uses? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
20What is the dotnet CLI, and what are some of its most commonly used commands? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Beginner
21What is an assembly's manifest, and what identity information does it contain? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
22What is the difference between managed and unmanaged code in .NET, and when would you need to work with the latter? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
23What is the structure and purpose of a .csproj file in a modern SDK-style .NET project? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Intermediate
24What is a .sln (solution) file, and how does it relate to .csproj project files? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Intermediate
25How does target framework moniker (TFM) selection, like net8.0 or net8.0-windows, affect what a project can do? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Intermediate
26What is .NET Standard, and why is it less relevant now compared to a few years ago? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkIntermediate
27How does packages.config differ from PackageReference, and which is used in Framework versus modern .NET projects? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkIntermediate
28What is the AppDomain concept in .NET Framework, and why was it removed from modern .NET? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
29What is protobuf field numbering, and why must you never reuse or renumber a field once a message definition has shipped to production? .NET › gRPC Services.NETgRPC ServicesIntermediate
30What are MSBuild properties and items, and how do they control the build process? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Advanced
31What is Directory.Build.props, and how does it help manage shared MSBuild settings across multiple projects in a repository? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Advanced
32How do project references (<ProjectReference>) differ from package references, and how do they affect build order? .NET › .NET CLI, SDK & Project Structure (csproj).NET.NET CLI, SDK & Project Structure (csproj)Advanced
33What major APIs or features exist in .NET Framework but are unavailable or different in modern .NET? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkAdvanced
34What tools does Microsoft provide to help analyze and migrate a .NET Framework project to modern .NET? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkAdvanced