Skip to content
MAKOLYTE

MAKOLYTE

Solve real coding problems

  • About
  • Latest
  • C#
    • ASP.NET
    • Event-driven
    • EF Core
    • Visual Studio
    • WinForms
    • Windows Service
  • Java
    • Setup
    • Spring
    • AWS
  • Python
  • SQL
    • SQL Server
    • MySQL
  • Principles and Practice
    • Algorithms
    • Design Patterns
    • Dependency Injection
    • Refactoring
    • Unit Testing

AssemblyConfigurationAttribute

C# – Get list of assemblies currently loaded and output metadata

04/16/2021 by Mak

You can get all of the loaded assemblies and output their metadata like this: This outputs the following information: In the rest of this article, I’ll show how to get custom attributes (such as which build config was used – Debug or Release), how to add your own custom metadata, how to check if it’s … Read more

Categories C# Tags AppDomain.CurrentDomain, Assembly attribute, Assembly metadata, Assembly.GetName(), AssemblyConfigurationAttribute, AssemblyMetadataAttribute, Enumerable.Empty<T>, GetAssemblies(), GetCustomAttribute<T>(), GetCustomAttributes(), GetCustomAttributesData(), JsonSerializer, JsonSerializerOptions, Null-coalescing operator, Null-conditional operator, System assembly, System.Text.Json Leave a comment

Categories

  • C# (322)
    • ASP.NET (41)
    • Console App (10)
    • EF Core (15)
    • Event-driven (12)
    • Visual Studio (26)
    • Windows Service (3)
    • WinForms (22)
  • Git (2)
  • Java (7)
    • AWS (5)
    • Setup (1)
    • Spring (6)
  • JavaScript (3)
  • Notepad++ (1)
  • Postman (4)
  • PowerShell (2)
  • Principles and Practice (82)
    • Algorithms (16)
    • Data Structures (11)
    • Dependency Injection (15)
    • Design Patterns (11)
    • Refactoring (6)
    • Unit Testing (31)
  • Python (3)
  • SQL (50)
    • MySQL (5)
    • SQL Server (43)

Tags

ApiController ASP.NET AsyncAwait Attributes C# ConfigureServices Dapper DateTime Dependency Injection Dictionary EF Core Enum Exception Extension Methods foreach Generics GetAsync hashset HttpClient Install-Package JSON JsonConvert.DeserializeObject JsonConverter JsonSerializer JsonSerializer.Deserialize() JsonSerializerOptions Linq Linq Where mocking Moq Newtonsoft.JSON Nuget Parameterized Unit Test Performance Performance Comparison Refactoring SELECT SQL Server StringBuilder System.Reflection System.Text.Json Threading unit testing Visual Studio WinForms

Privacy Policy

  • Privacy Policy
© 2022 MAKOLYTE • Built with GeneratePress