Base solution for your next web application
Open Closed

GetComputerName() in auditing throwing System.ArgumentNullException #11115


User avatar
1
slamj1 created

Prerequisites

  • ASPNETZERO 11.2
  • Angular
  • NET6.0

If issue related with ABP Framework

  • Abp.AspNetZero 4.1.0.0 Nuget Package

Greetings;

Judging from the commit here -> https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/Mvc/Auditing/HttpContextClientInfoProvider.cs I see that you were already aware that GetComputerName() is currently throwing an exception because of a null Address being passed to Dns.GetHostEntry().

For now, I've patched the code for myself. Any word on when the official NuGet will be updated?

Cheers, Sam.


2 Answer(s)
  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @slamj1

    We will release 7.3 version today, so you can upgrade your solution.

  • User Avatar
    0
    slamj1 created

    @ismcagdas, good stuff, cheers!