diff --git a/src/WebRazorPages/Interfaces/IBasketViewModelService.cs b/src/WebRazorPages/Interfaces/IBasketViewModelService.cs
index 975478a..c1dbbe1 100644
--- a/src/WebRazorPages/Interfaces/IBasketViewModelService.cs
+++ b/src/WebRazorPages/Interfaces/IBasketViewModelService.cs
@@ -1,5 +1,4 @@
using Microsoft.eShopWeb.RazorPages.ViewModels;
-using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.RazorPages.Interfaces
diff --git a/src/WebRazorPages/Pages/Account/Signin.cshtml b/src/WebRazorPages/Pages/Account/Signin.cshtml
index e5f4407..e594ae5 100644
--- a/src/WebRazorPages/Pages/Account/Signin.cshtml
+++ b/src/WebRazorPages/Pages/Account/Signin.cshtml
@@ -1,7 +1,4 @@
@page
-@using System.Collections.Generic
-@using Microsoft.AspNetCore.Http
-@using Microsoft.AspNetCore.Http.Authentication
@model SigninModel
@{
ViewData["Title"] = "Log in";
diff --git a/src/WebRazorPages/Pages/Index.cshtml.cs b/src/WebRazorPages/Pages/Index.cshtml.cs
index 74fce01..68af9ab 100644
--- a/src/WebRazorPages/Pages/Index.cshtml.cs
+++ b/src/WebRazorPages/Pages/Index.cshtml.cs
@@ -1,5 +1,4 @@
using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.eShopWeb.RazorPages.ViewModels;
using Microsoft.eShopWeb.RazorPages.Interfaces;
diff --git a/src/WebRazorPages/Pages/Order/Index.cshtml b/src/WebRazorPages/Pages/Order/Index.cshtml
index 312bcfb..130e9c6 100644
--- a/src/WebRazorPages/Pages/Order/Index.cshtml
+++ b/src/WebRazorPages/Pages/Order/Index.cshtml
@@ -1,5 +1,4 @@
@page
-@using System.Linq;
@model IndexModel
@{
ViewData["Title"] = "My Order History";
diff --git a/src/WebRazorPages/Pages/Shared/_LoginPartial.cshtml b/src/WebRazorPages/Pages/Shared/_LoginPartial.cshtml
index 708fb14..38886cc 100644
--- a/src/WebRazorPages/Pages/Shared/_LoginPartial.cshtml
+++ b/src/WebRazorPages/Pages/Shared/_LoginPartial.cshtml
@@ -1,6 +1,4 @@
-@using Microsoft.AspNetCore.Identity
-
- @if (Context.User.Identity.IsAuthenticated)
+@if (Context.User.Identity.IsAuthenticated)
{
diff --git a/src/WebRazorPages/ViewComponents/Basket.cs b/src/WebRazorPages/ViewComponents/Basket.cs
index a9b8ee7..11fd674 100644
--- a/src/WebRazorPages/ViewComponents/Basket.cs
+++ b/src/WebRazorPages/ViewComponents/Basket.cs
@@ -1,6 +1,5 @@
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.eShopWeb.Infrastructure.Identity;
-using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
diff --git a/tests/FunctionalTests/Web/Controllers/ApiCatalogControllerList.cs b/tests/FunctionalTests/Web/Controllers/ApiCatalogControllerList.cs
index d9a5f69..e3e675b 100644
--- a/tests/FunctionalTests/Web/Controllers/ApiCatalogControllerList.cs
+++ b/tests/FunctionalTests/Web/Controllers/ApiCatalogControllerList.cs
@@ -1,5 +1,4 @@
-using Microsoft.AspNetCore.Mvc.Testing;
-using Microsoft.eShopWeb.Web;
+using Microsoft.eShopWeb.Web;
using Microsoft.eShopWeb.Web.ViewModels;
using Newtonsoft.Json;
using System.Linq;
diff --git a/tests/FunctionalTests/Web/Controllers/CatalogControllerIndex.cs b/tests/FunctionalTests/Web/Controllers/CatalogControllerIndex.cs
index 3f75870..8fec0cc 100644
--- a/tests/FunctionalTests/Web/Controllers/CatalogControllerIndex.cs
+++ b/tests/FunctionalTests/Web/Controllers/CatalogControllerIndex.cs
@@ -1,5 +1,4 @@
-using Microsoft.AspNetCore.Mvc.Testing;
-using Microsoft.eShopWeb.Web;
+using Microsoft.eShopWeb.Web;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
diff --git a/tests/UnitTests/ApplicationCore/Entities/BasketTests/AddItem.cs b/tests/UnitTests/ApplicationCore/Entities/BasketTests/AddItem.cs
index ad8d0ab..3849ec1 100644
--- a/tests/UnitTests/ApplicationCore/Entities/BasketTests/AddItem.cs
+++ b/tests/UnitTests/ApplicationCore/Entities/BasketTests/AddItem.cs
@@ -1,5 +1,4 @@
-using Microsoft.eShopWeb.ApplicationCore.Entities;
-using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
+using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
using System.Linq;
using Xunit;
diff --git a/tests/UnitTests/ApplicationCore/Services/BasketServiceTests/SetQuantities.cs b/tests/UnitTests/ApplicationCore/Services/BasketServiceTests/SetQuantities.cs
index 184b3ff..9c5f11d 100644
--- a/tests/UnitTests/ApplicationCore/Services/BasketServiceTests/SetQuantities.cs
+++ b/tests/UnitTests/ApplicationCore/Services/BasketServiceTests/SetQuantities.cs
@@ -1,7 +1,6 @@
using Microsoft.eShopWeb.ApplicationCore.Exceptions;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.eShopWeb.ApplicationCore.Services;
-using Microsoft.eShopWeb.ApplicationCore.Entities;
using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
using Moq;
using System;
diff --git a/tests/UnitTests/ApplicationCore/Specifications/BasketWithItemsSpecification.cs b/tests/UnitTests/ApplicationCore/Specifications/BasketWithItemsSpecification.cs
index b42e75e..ee55a9d 100644
--- a/tests/UnitTests/ApplicationCore/Specifications/BasketWithItemsSpecification.cs
+++ b/tests/UnitTests/ApplicationCore/Specifications/BasketWithItemsSpecification.cs
@@ -1,5 +1,4 @@
using Microsoft.eShopWeb.ApplicationCore.Specifications;
-using Microsoft.eShopWeb.ApplicationCore.Entities;
using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
using System.Collections.Generic;
using System.Linq;