Files
SilkierQuartz/Source/Examples/AspNetCore31/Pages/Privacy.cshtml.cs
MysticBoy 8c2231d472 fixe for Endpoint Uixe.Server.Controllers.AccountController.Login (Uixe.Server) contains authorization metadata,
but a middleware was not found that supports authorization.
    Configure your application startup by adding app.UseAuthorization() inside the call to Configure(..) in
    the application startup code. The call to app.UseAuthorization() must appear between app.UseRouting()
    and app.UseEndpoints(...).
2020-01-09 10:53:00 +08:00

25 lines
537 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace AspNetCore31.Pages
{
public class PrivacyModel : PageModel
{
private readonly ILogger<PrivacyModel> _logger;
public PrivacyModel(ILogger<PrivacyModel> logger)
{
_logger = logger;
}
public void OnGet()
{
}
}
}