将原来的.net framework 寻找 替代 方案,改写成.net core 程序
This commit is contained in:
tianshuanbao
2025-12-15 14:34:52 +08:00
parent fe7f5313bc
commit 59f2a2905e
84 changed files with 74877 additions and 52 deletions

View File

@@ -0,0 +1,32 @@
using BLWWebServices.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace BLWWebServices.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
public HomeController(ILogger<HomeController> logger)
{
_logger = logger;
}
public IActionResult Index()
{
return View();
}
public IActionResult Privacy()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}
}