diff --git a/.gitignore b/.gitignore
index 76974049c..dfc726d36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -358,3 +358,6 @@ build
/dotnet/src/dotnetcore/GxNetCoreStartup/netcoreapp3.1/GxNetCoreStartup.deps.json
/dotnet/src/dotnetcore/Reor/net5.0/Reor.deps.json
/dotnet/src/dotnetcore/Reor/netcoreapp3.1/Reor.deps.json
+/dotnet/src/dotnetcore/GxDataInitialization/net6.0/GXDataInitialization.deps.json
+/dotnet/src/dotnetcore/GxNetCoreStartup/net6.0/GxNetCoreStartup.deps.json
+/dotnet/src/dotnetcore/Reor/net6.0/Reor.deps.json
diff --git a/dotnet/src/dotnetframework/GxClasses/Data/GXDataCommon.cs b/dotnet/src/dotnetframework/GxClasses/Data/GXDataCommon.cs
index 676bcf8ca..fc61cc0b4 100644
--- a/dotnet/src/dotnetframework/GxClasses/Data/GXDataCommon.cs
+++ b/dotnet/src/dotnetframework/GxClasses/Data/GXDataCommon.cs
@@ -4298,7 +4298,7 @@ public object GetValue(int i)
}
public virtual bool IsDBNull(int i)
{
- return (block.Item(pos, i) == DBNull.Value) || (block.Item(pos, i) is DBNull);
+ return (block.Item(pos, i) == DBNull.Value) || (block.Item(pos, i) is DBNull || block.Item(pos, i) == null);
}
public char GetChar(int i)
{
diff --git a/dotnet/src/dotnetframework/GxClasses/Domain/GXGeolocation.cs b/dotnet/src/dotnetframework/GxClasses/Domain/GXGeolocation.cs
index cf9d9c0cb..6dff7a7de 100644
--- a/dotnet/src/dotnetframework/GxClasses/Domain/GXGeolocation.cs
+++ b/dotnet/src/dotnetframework/GxClasses/Domain/GXGeolocation.cs
@@ -10,7 +10,9 @@
using System.Globalization;
using GeneXus;
using GeneXus.Configuration;
+#if NETCORE
using System.Net.Http;
+#endif
namespace GX
{
diff --git a/dotnet/src/dotnetframework/GxClasses/GxClasses.csproj b/dotnet/src/dotnetframework/GxClasses/GxClasses.csproj
index 9937350ca..781feb10d 100644
--- a/dotnet/src/dotnetframework/GxClasses/GxClasses.csproj
+++ b/dotnet/src/dotnetframework/GxClasses/GxClasses.csproj
@@ -18,6 +18,7 @@
+
False
..\libs\Microsoft.HostIntegration.MsDb2Client.dll
diff --git a/dotnet/src/dotnetframework/GxClasses/Services/Caching/GxCache.cs b/dotnet/src/dotnetframework/GxClasses/Services/Caching/GxCache.cs
index b4293e3c4..f5c80ff12 100644
--- a/dotnet/src/dotnetframework/GxClasses/Services/Caching/GxCache.cs
+++ b/dotnet/src/dotnetframework/GxClasses/Services/Caching/GxCache.cs
@@ -12,6 +12,9 @@
using System.Collections.Generic;
using GeneXus.Services;
using System.Linq;
+using System.Security;
+using System.Text.Json.Serialization;
+using System.Text.Json;
#if NETCORE
using GxClasses.Helpers;
using System.IO;
@@ -37,6 +40,58 @@ public interface ICacheService2 : ICacheService
IDictionary GetAll(string cacheid, IEnumerable keys);
void SetAll(string cacheid, IEnumerable keys, IEnumerable values, int durationMinutes = 0);
}
+ [SecurityCritical]
+ public class DBNullConverter : JsonConverter
+ {
+ [SecurityCritical]
+ public override DBNull Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
+ {
+ throw new NotSupportedException();
+ }
+ [SecurityCritical]
+ public override void Write(Utf8JsonWriter writer, DBNull value, JsonSerializerOptions options)
+ {
+ writer.WriteNullValue();
+ }
+ }
+ [SecurityCritical]
+ public class ObjectToInferredTypesConverter : JsonConverter