Skip to content

Commit

Permalink
web server referencing web client
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Mar 29, 2024
1 parent 7228d1f commit c3dd259
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public ExceptionHandler(ILogger<ExceptionHandler> logger)
this.logger = logger;
exceptionHandlers = new Dictionary<Type, Func<Exception, Task<ActionResult>>>
{
[typeof(NotFoundException)] = HandleNotFoundException,
[typeof(UnauthorizedException)] = HandleUnauthorizedException
//[typeof(NotFoundException)] = HandleNotFoundException,
//[typeof(UnauthorizedException)] = HandleUnauthorizedException
};
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.Extensions.DependencyInjection;

namespace Web.Server.BuildingBlocks.RateLimiting
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Web/Server/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="lds-grid"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
</div>
<div>
<component type="typeof(Client.App)" render-mode="WebAssembly"/>
<component type="typeof(App)" render-mode="WebAssembly"/>
</div>
<script src="_framework/blazor.webassembly.js"></script>
<script src="_content/Blazored.Modal/blazored.modal.js"></script>
Expand Down
1 change: 1 addition & 0 deletions Source/Web/Server/Pages/_ViewImports.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
@using Microsoft.AspNetCore.Authentication
@using Microsoft.AspNetCore.Authorization
@using WebServer.Pages
@using Web.Client
@namespace Server.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

0 comments on commit c3dd259

Please sign in to comment.