_LayoutAdmin.cshtml 取得url,调用ViewComponent 视图

浪淘沙1年前后端145
<body id="watermark-parent">
	@{
		var name = Furion.App.HttpContext.Request.Query["fst"].ToString();
	}
	@await Component.InvokeAsync("My", new { name = name })
    @RenderBody()   

</body>

image.png

相关文章

常用查询

 var dt = _db.SqlQueryable<object>("select * from mszs...

asp.net core HttpClient 返回值

  public async Task<IActionResult> OnPostDown()   {  ...

asp.net core razor加载模板文件路径

  var templateContent = "${include(\"" + App.HostE...

Razor 遍历 DataTable

@using System.Data <table class="table table-bordered table-striped&n...

返回月份当天日期

  int daysInMonth = DateTime.DaysInMonth(_yf.Year, _yf.Month);...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。