mirror of
https://github.com/PacktPublishing/Web-Development-with-Blazor-Second-Edition.git
synced 2025-12-06 05:32:03 +01:00
Minor corrections
This commit is contained in:
parent
e95110f33d
commit
accf488f9c
|
|
@ -1,7 +1,6 @@
|
|||
using Data.Models.Interfaces;
|
||||
using Microsoft.AspNetCore.ResponseCompression;
|
||||
using Data;
|
||||
using Data.Models.Interfaces;
|
||||
using BlazorWebAssembly.Server.Endpoints;
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
|
|
|
|||
|
|
@ -5,3 +5,6 @@ public class Tag
|
|||
[Required]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
CustomCssClassProvider
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
@page "/admin/blogposts/new"
|
||||
@page "/admin/blogposts/{Id}"
|
||||
@attribute [Authorize]
|
||||
@inject IBlogApi _api
|
||||
@inject NavigationManager _manager
|
||||
@using Components.RazorComponents
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@page "/admin/blogposts/new"
|
||||
@page "/admin/blogposts/{Id}"
|
||||
@attribute [Authorize]
|
||||
@inject IBlogApi _api
|
||||
@inject NavigationManager _manager
|
||||
@using Components.RazorComponents
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@page "/admin/blogposts/new"
|
||||
@page "/admin/blogposts/{Id}"
|
||||
@attribute [Authorize]
|
||||
@inject IBlogApi _api
|
||||
@inject NavigationManager _manager
|
||||
@using Components.RazorComponents
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@page "/admin/blogposts/new"
|
||||
@page "/admin/blogposts/{Id}"
|
||||
@attribute [Authorize]
|
||||
@inject IBlogApi _api
|
||||
@inject NavigationManager _manager
|
||||
@inject Components.Interfaces.IBrowserStorage _storage
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@page "/admin/blogposts/new"
|
||||
@page "/admin/blogposts/{Id}"
|
||||
@attribute [Authorize]
|
||||
@inject IBlogApi _api
|
||||
@inject NavigationManager _manager
|
||||
@inject Components.Interfaces.IBrowserStorage _storage
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@page "/admin/blogposts/new"
|
||||
@page "/admin/blogposts/{Id}"
|
||||
@attribute [Authorize]
|
||||
@inject IBlogApi _api
|
||||
@inject NavigationManager _manager
|
||||
@inject Components.Interfaces.IBrowserStorage _storage
|
||||
|
|
|
|||
|
|
@ -12,3 +12,5 @@
|
|||
</BlazorWebView>
|
||||
|
||||
</ContentPage>
|
||||
|
||||
.NET MAUI Blazor App
|
||||
Loading…
Reference in a new issue