diff --git a/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj b/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj
index 278fafd..9f63488 100644
--- a/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj
+++ b/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj
@@ -8,20 +8,15 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -35,5 +30,10 @@
Always
+
+
+
+
+
diff --git a/sample/MongoIdentitySample.Mvc/Startup.cs b/sample/MongoIdentitySample.Mvc/Startup.cs
index cbf26a8..aaa36a5 100644
--- a/sample/MongoIdentitySample.Mvc/Startup.cs
+++ b/sample/MongoIdentitySample.Mvc/Startup.cs
@@ -1,15 +1,15 @@
-using AspNetCore.Identity.MongoDbCore.Infrastructure;
+using System;
+using AspNetCore.Identity.MongoDbCore.Infrastructure;
using AspNetCore.Identity.MongoDbCore.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
-using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.Hosting;
+using Microsoft.Extensions.Logging;
using MongoIdentitySample.Mvc.Models;
using MongoIdentitySample.Mvc.Services;
-using Microsoft.Extensions.Logging;
-using System;
namespace MongoIdentitySample.Mvc
{
@@ -24,7 +24,7 @@ namespace MongoIdentitySample.Mvc
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
//per user config that is not committed to repo, use this to override settings (e.g. connection string) based on your local environment.
- .AddJsonFile($"appsettings.local.json", optional: true);
+ .AddJsonFile($"appsettings.local.json", optional: true);
builder.AddEnvironmentVariables();
Configuration = builder.Build();
@@ -48,16 +48,15 @@ namespace MongoIdentitySample.Mvc
var builder = services.AddRazorPages();
-
- #if DEBUG
- if(_env.IsDevelopment())
- {
- builder.AddRazorRuntimeCompilation();
- }
- #endif
+
+#if DEBUG
+ if (_env.IsDevelopment())
+ {
+ builder.AddRazorRuntimeCompilation();
+ }
+#endif
services.AddMvc();
-
services.AddApplicationInsightsTelemetry();
// Add application services.
@@ -71,7 +70,6 @@ namespace MongoIdentitySample.Mvc
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
- app.UseBrowserLink();
}
else
{
diff --git a/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/Specification/IdentitySpecificationTestBase.cs b/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/Specification/IdentitySpecificationTestBase.cs
index 60479ce..6f15f0b 100644
--- a/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/Specification/IdentitySpecificationTestBase.cs
+++ b/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/Specification/IdentitySpecificationTestBase.cs
@@ -67,11 +67,13 @@ namespace Microsoft.AspNetCore.Identity.Test
services.AddSingleton();
if (concurrentSetup)
{
- services.ConfigureMongoDbIdentity(Container.MongoDbIdentityConfiguration, Container.MongoRepositoryConcurrent.Context).AddDefaultTokenProviders();
+ services.ConfigureMongoDbIdentity(Container.MongoDbIdentityConfiguration, Container.MongoRepositoryConcurrent.Context)
+ .AddDefaultTokenProviders();
}
else
{
- services.ConfigureMongoDbIdentity(Container.MongoDbIdentityConfiguration, Container.MongoRepository.Context).AddDefaultTokenProviders();
+ services.ConfigureMongoDbIdentity(Container.MongoDbIdentityConfiguration, Container.MongoRepository.Context)
+ .AddDefaultTokenProviders();
}
services.AddLogging();