<strong>21/08/2026 08:17:19</strong><br/>
     Error al validad la API: System.InvalidOperationException: An attempt was made to use the context instance while it is being configured. A DbContext instance cannot be used inside 'OnConfiguring' since it is still being configured at this point. This can happen if a second operation is started on this context instance before a previous operation completed. Any instance members are not guaranteed to be thread safe.
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_Model()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
   at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
   at UsuariosCore.API.Middleware.ApiKeyMiddleware.InvokeAsync(HttpContext context, UsuariosCoreDbContext dbContext) in C:\DesarrolloJB\UsuariosCore\UsuariosCore\UsuariosCore.API\Middleware\ApiKeyMiddleware.cs:line 33
<br/><br/>
<strong>21/08/2026 08:17:20</strong><br/>
     Error al validad la API: System.ObjectDisposedException: Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
Object name: 'UsuariosCoreDbContext'.
   at Microsoft.EntityFrameworkCore.DbContext.CheckDisposed()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.get_QueryProvider()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CreateEntityQueryable()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.<>c.<get_EntityQueryable>b__12_0(InternalDbSet`1 internalSet)
   at Microsoft.EntityFrameworkCore.Internal.NonCapturingLazyInitializer.EnsureInitialized[TParam,TValue](TValue& target, TParam param, Func`2 valueFactory)
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
   at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
   at UsuariosCore.API.Middleware.ApiKeyMiddleware.InvokeAsync(HttpContext context, UsuariosCoreDbContext dbContext) in C:\DesarrolloJB\UsuariosCore\UsuariosCore\UsuariosCore.API\Middleware\ApiKeyMiddleware.cs:line 33
<br/><br/>
<strong>21/08/2026 09:03:53</strong><br/>
     Error al validad la API: System.InvalidOperationException: An attempt was made to use the context instance while it is being configured. A DbContext instance cannot be used inside 'OnConfiguring' since it is still being configured at this point. This can happen if a second operation is started on this context instance before a previous operation completed. Any instance members are not guaranteed to be thread safe.
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_Model()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
   at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
   at UsuariosCore.API.Middleware.ApiKeyMiddleware.InvokeAsync(HttpContext context, UsuariosCoreDbContext dbContext) in C:\DesarrolloJB\UsuariosCore\UsuariosCore\UsuariosCore.API\Middleware\ApiKeyMiddleware.cs:line 33
<br/><br/>
