Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit fe3a2f0

Browse files
committed
Remove unused usings in Blazor
1 parent 6ddb9ea commit fe3a2f0

File tree

7 files changed

+3
-16
lines changed

7 files changed

+3
-16
lines changed

samples/Apis/Api.DPoP/EchoController.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using Microsoft.AspNetCore.Mvc;
55
using System;
6-
using System.Globalization;
76
using System.Security.Claims;
87
using Microsoft.AspNetCore.Authorization;
98

samples/Blazor/PerComponent/PerComponent/Components/App.razor

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@using Microsoft.AspNetCore.Components.Authorization
2-
<!DOCTYPE html>
1+
<!DOCTYPE html>
32
<html lang="en">
43

54
<head>

samples/Blazor/PerComponent/PerComponent/Components/Layout/MainLayout.razor

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@using PerComponent.Components
2-
@inherits LayoutComponentBase
1+
@inherits LayoutComponentBase
32

43
<div class="page">
54
<div class="sidebar">
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@using PerComponent.Client.Components
2-
3-
@rendermode InteractiveServer
1+
@rendermode InteractiveServer
42

53
<CallApi Header="InteractiveServer"></CallApi>

samples/Blazor/PerComponent/PerComponent/Program.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
using PerComponent;
22
using PerComponent.Client;
33
using PerComponent.Components;
4-
using Duende.AccessTokenManagement.OpenIdConnect;
54
using Duende.Bff;
65
using Duende.Bff.Blazor;
76
using Duende.Bff.Yarp;
8-
using Microsoft.AspNetCore.Authentication;
9-
using Microsoft.AspNetCore.Components.Authorization;
107

118
var builder = WebApplication.CreateBuilder(args);
129

src/Duende.Bff.Blazor/PersistingAuthenticationStateProvider.cs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using Microsoft.AspNetCore.Components.Authorization;
99
using Microsoft.AspNetCore.Components.Server;
1010
using Microsoft.AspNetCore.Components.Web;
11-
using Microsoft.AspNetCore.Http;
1211
using Microsoft.Extensions.Logging;
1312

1413
// This is based on the PersistingServerAuthenticationStateProvider from ASP.NET

src/Duende.Bff/General/DefaultAccessTokenRetriever.cs

-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
// Copyright (c) Duende Software. All rights reserved.
22
// See LICENSE in the project root for license information.
33

4-
using System;
54
using System.Threading.Tasks;
6-
using Duende.Bff.Logging;
7-
using IdentityModel;
8-
using Microsoft.AspNetCore.Authentication;
95
using Microsoft.Extensions.Logging;
106

117
namespace Duende.Bff;

0 commit comments

Comments
 (0)