????
Your IP : 18.222.197.93
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\inetpub\vhost\binhdinhf1.gdtsolutions.vn\api
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (88ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (43ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [MigrationId], [ProductVersion]
FROM [__EFMigrationsHistory]
ORDER BY [MigrationId];
info: Microsoft.EntityFrameworkCore.Migrations[20405]
No migrations were applied. The database is already up to date.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT CASE
WHEN EXISTS (
SELECT 1
FROM [identity].[AspNetRoles] AS [a]) THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT CASE
WHEN EXISTS (
SELECT 1
FROM [identity].[AspNetUsers] AS [a]) THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (36ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
FROM [identity].[AspNetUsers] AS [a]
WHERE [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
FROM [identity].[AspNetUserClaims] AS [a]
WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
SELECT [a0].[Name]
FROM [identity].[AspNetUserRoles] AS [a]
INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (8ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
FROM [identity].[AspNetRoles] AS [a]
WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (4ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
SELECT [a].[ClaimType], [a].[ClaimValue]
FROM [identity].[AspNetRoleClaims] AS [a]
WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
FROM [identity].[AspNetUserClaims] AS [a]
WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
SELECT [a0].[Name]
FROM [identity].[AspNetUserRoles] AS [a]
INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
FROM [identity].[AspNetRoles] AS [a]
WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
SELECT [a].[ClaimType], [a].[ClaimValue]
FROM [identity].[AspNetRoleClaims] AS [a]
WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
FROM [identity].[AspNetUsers] AS [a]
WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (8ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
FROM (
SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
FROM [Articles] AS [a]
ORDER BY [a].[Id]
OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
) AS [t]
ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (4ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT [a].[Id], [a].[Content], [a].[CreatedBy], [a].[CreatedOn], [a].[FeaturedImage], [a].[IsPinned], [a].[Keywords], [a].[Language], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[PublishDate], [a].[Summary], [a].[Title]
FROM [Articles] AS [a]
WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
FROM (
SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
FROM [Articles] AS [a]
ORDER BY [a].[Id]
OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
) AS [t]
ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (13ms) [Parameters=[@__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT [c].[Name], [c].[Id], [t1].[Id], [t1].[Name], [t1].[CountryId], [t1].[Manager], [t1].[DebutYear], [t1].[Description], CASE
WHEN [c].[Id] IS NULL THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END
FROM (
SELECT TOP(@__TypedProperty_4) [t0].[Id], [t0].[CountryId], [t0].[DebutYear], [t0].[Description], [t0].[Manager], [t0].[Name]
FROM (
SELECT [t].[Id], [t].[CountryId], [t].[DebutYear], [t].[Description], [t].[Manager], [t].[Name]
FROM [Teams] AS [t]
ORDER BY [t].[Id]
OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
) AS [t0]
ORDER BY [t0].[Id]
) AS [t1]
LEFT JOIN [Countries] AS [c] ON [t1].[CountryId] = [c].[Id]
ORDER BY [t1].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Teams] AS [t]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (5ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT TOP(1) [t].[Id], [t].[CountryId], [t].[CreatedBy], [t].[CreatedOn], [t].[DebutYear], [t].[Description], [t].[Manager], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Name], [t].[PhotoUrl]
FROM [Teams] AS [t]
WHERE [t].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (11ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SET IMPLICIT_TRANSACTIONS OFF;
SET NOCOUNT ON;
DELETE FROM [Teams]
OUTPUT 1
WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[@__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT [c].[Name], [c].[Id], [t1].[Id], [t1].[Name], [t1].[CountryId], [t1].[Manager], [t1].[DebutYear], [t1].[Description], CASE
WHEN [c].[Id] IS NULL THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END
FROM (
SELECT TOP(@__TypedProperty_4) [t0].[Id], [t0].[CountryId], [t0].[DebutYear], [t0].[Description], [t0].[Manager], [t0].[Name]
FROM (
SELECT [t].[Id], [t].[CountryId], [t].[DebutYear], [t].[Description], [t].[Manager], [t].[Name]
FROM [Teams] AS [t]
ORDER BY [t].[Id]
OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
) AS [t0]
ORDER BY [t0].[Id]
) AS [t1]
LEFT JOIN [Countries] AS [c] ON [t1].[CountryId] = [c].[Id]
ORDER BY [t1].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Teams] AS [t]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT TOP(1) [t].[Id], [t].[CountryId], [t].[CreatedBy], [t].[CreatedOn], [t].[DebutYear], [t].[Description], [t].[Manager], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Name], [t].[PhotoUrl]
FROM [Teams] AS [t]
WHERE [t].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (135ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SET IMPLICIT_TRANSACTIONS OFF;
SET NOCOUNT ON;
DELETE FROM [Teams]
OUTPUT 1
WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[@__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT [c].[Name], [c].[Id], [t1].[Id], [t1].[Name], [t1].[CountryId], [t1].[Manager], [t1].[DebutYear], [t1].[Description], CASE
WHEN [c].[Id] IS NULL THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END
FROM (
SELECT TOP(@__TypedProperty_4) [t0].[Id], [t0].[CountryId], [t0].[DebutYear], [t0].[Description], [t0].[Manager], [t0].[Name]
FROM (
SELECT [t].[Id], [t].[CountryId], [t].[DebutYear], [t].[Description], [t].[Manager], [t].[Name]
FROM [Teams] AS [t]
ORDER BY [t].[Id]
OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
) AS [t0]
ORDER BY [t0].[Id]
) AS [t1]
LEFT JOIN [Countries] AS [c] ON [t1].[CountryId] = [c].[Id]
ORDER BY [t1].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Teams] AS [t]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (9ms) [Parameters=[@__TypedProperty_6='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_5='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT [t1].[Name], [t1].[Id], [c].[Name], [c].[Id], CASE
WHEN [c].[Id] IS NULL THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END, [c0].[Name], [c0].[Id], CASE
WHEN [c0].[Id] IS NULL THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END, [t0].[Id], [t0].[FullName], [t0].[TeamId], [t0].[CountryId], [t0].[CountryOfResidence], [t0].[PlaceOfBirth], [t0].[DebutYear], [t0].[Hull], [t0].[Height], [t0].[Weight], [t0].[CountryOfLicenseId], CAST(0 AS bit)
FROM (
SELECT TOP(@__TypedProperty_6) [t].[Id], [t].[CountryId], [t].[CountryOfLicenseId], [t].[CountryOfResidence], [t].[DebutYear], [t].[FullName], [t].[Height], [t].[Hull], [t].[PlaceOfBirth], [t].[TeamId], [t].[Weight]
FROM (
SELECT [d].[Id], [d].[CountryId], [d].[CountryOfLicenseId], [d].[CountryOfResidence], [d].[DebutYear], [d].[FullName], [d].[Height], [d].[Hull], [d].[PlaceOfBirth], [d].[TeamId], [d].[Weight]
FROM [Drivers] AS [d]
ORDER BY [d].[Id]
OFFSET @__TypedProperty_4 ROWS FETCH NEXT @__TypedProperty_5 ROWS ONLY
) AS [t]
ORDER BY [t].[Id]
) AS [t0]
INNER JOIN [Teams] AS [t1] ON [t0].[TeamId] = [t1].[Id]
LEFT JOIN [Countries] AS [c] ON [t0].[CountryId] = [c].[Id]
LEFT JOIN [Countries] AS [c0] ON [t0].[CountryOfLicenseId] = [c0].[Id]
ORDER BY [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Drivers] AS [d]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[FeaturedImage], [t].[Title], [t].[Summary], [t].[Keywords], [t].[PublishDate]
FROM (
SELECT [a].[Id], [a].[FeaturedImage], [a].[Keywords], [a].[PublishDate], [a].[Summary], [a].[Title]
FROM [Articles] AS [a]
ORDER BY [a].[Id]
OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
) AS [t]
ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Articles] AS [a]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (8ms) [Parameters=[@__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
SELECT [a].[Title], [a].[Id], [t0].[Id], [t0].[ImageLink], [t0].[ArticleId], [t0].[CreatedOn], CAST(0 AS bit)
FROM (
SELECT TOP(@__TypedProperty_4) [t].[Id], [t].[ArticleId], [t].[CreatedOn], [t].[ImageLink]
FROM (
SELECT [s].[Id], [s].[ArticleId], [s].[CreatedOn], [s].[ImageLink]
FROM [Slides] AS [s]
ORDER BY [s].[Id]
OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
) AS [t]
ORDER BY [t].[Id]
) AS [t0]
INNER JOIN [Articles] AS [a] ON [t0].[ArticleId] = [a].[Id]
ORDER BY [t0].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT COUNT_BIG(*)
FROM [Slides] AS [s]
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...