#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" Layout = null; My.Blog.DAL.BlogDAL dal = new My.Blog.DAL.BlogDAL(); #line default #line hidden BeginContext(85, 27, true); WriteLiteral("\r\n<!DOCTYPE html>\r\n<html>\r\n"); EndContext(); BeginContext(112, 493, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "494f52abb6454a959f552e5c3832cad1", async() => { BeginContext(118, 480, true); WriteLiteral(@" <meta charset=""utf-8""> <meta http-equiv=""X-UA-Compatible"" content=""IE=edge""> <title>我的博客</title> <meta name=""viewport"" content=""width=device-width, initial-scale=1, maximum-scale=1""> <link href=""/assets/Hexo/css/style.css"" rel=""stylesheet"" /> <link href=""/assets/Default/styles/font-awesome.css"" rel=""stylesheet"" /> <script src=""/assets/Hexo/js/jquery-1.10.2.min.js""></script> <script src=""/assets/Hexo/js/jquery-1.10.2.min.js""></script> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(605, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(609, 14200, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7619c6a85e614e108eb5e5b4d12e10bd", async() => { BeginContext(615, 3089, true); WriteLiteral(@" <div id=""container""> <div class=""left-col""> <div class=""overlay""></div> <div class=""intrude-less""> <header id=""header"" class=""inner""> <a href=""/"" class=""profilepic""> <img lazy-src=""/images/头像.jpeg"" class=""js-avatar""> </a> <hgroup> <h1 class=""header-author""><a href=""/"">用户名</a></h1> </hgroup> <div> <div class=""layui-input-inline"" style=""width:150px""> <input id=""search_key"" class=""layui-input"" type=""text"" placeholder=""标题关键字"" /> </div> <div class=""layui-input-inline""> <button class=""layui-btn layui-btn-radius layui-btn-small"" type=""button"" onclick=""searchBlog('')""> <i class=""layui-icon""></i>查询 </button>"); WriteLiteral(@" </div> </div> <div class=""switch-btn""> <div class=""icon""> <div class=""icon-ctn""> <div class=""icon-wrap icon-house"" data-idx=""0""> <div class=""birdhouse""></div> <div class=""birdhouse_holes""></div> </div> <div class=""icon-wrap icon-ribbon hide"" data-idx=""1""> <div class=""ribbon""></div> </div> <div class=""icon-wrap icon-link hide"" data-idx=""2""> <div class=""loopback_l""></div> <div class=""loopback_r""></div> </div> <div class=""icon-wrap icon-me hide"" data-idx=""3""> "); WriteLiteral(@" <div class=""user""></div> <div class=""shoulder""></div> </div> </div> </div> <div class=""tips-box hide""> <div class=""tips-arrow""></div> <ul class=""tips-inner""> <li>菜单</li> <li>日历</li> <li><a href=""javascript:$('#frmNewPost').submit();"">发表文章</a></li> <li><a href=""javascript:$('#frmLogout').submit();"">注销</a></li> </ul> </div> </div> <div class=""switch-area""> <div class=""switch-wrap""> <section class=""switch-part switch-part1""> <nav class=""header-menu""> "); WriteLiteral(" <ul>\r\n"); EndContext(); #line 83 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" foreach (My.Blog.Model.Category item in ViewBag.calist) { #line default #line hidden BeginContext(3804, 109, true); WriteLiteral(" <li>\r\n <a href=\"#\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 3913, "\"", 3949, 3); WriteAttributeValue("", 3923, "searchBlog(\'", 3923, 12, true); #line 85 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" WriteAttributeValue("", 3935, item.Number, 3935, 12, false); #line default #line hidden WriteAttributeValue("", 3947, "\')", 3947, 2, true); EndWriteAttribute(); BeginContext(3950, 55, true); WriteLiteral(">\r\n "); EndContext(); BeginContext(4006, 17, false); #line 86 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" Write(item.CategoryName); #line default #line hidden EndContext(); BeginContext(4023, 55, true); WriteLiteral("\r\n ("); EndContext(); BeginContext(4079, 55, false); #line 87 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" Write(dal.GetBlogTotalCount($"categoryNum='{ @item.Number}'")); #line default #line hidden EndContext(); BeginContext(4134, 108, true); WriteLiteral(")\r\n </a>\r\n </li>\r\n"); EndContext(); #line 90 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" } #line default #line hidden BeginContext(4285, 1008, true); WriteLiteral(@" </ul> </nav> <nav class=""header-nav""> <div class=""social""> <a class=""github"" target=""_blank"" href=""https://github.com/xiaotian000"" title=""github"">github</a> <a class=""linkedin"" target=""_blank"" href=""http://www.linkedin.com/in/%E7%A7%8B%E5%AE%9E-%E7%94%B0-146850126"" title=""LinkedIn"">LinkedIn</a> <a class=""mail"" target=""_blank"" href=""mailto:[email protected]"" title=""Email"">Email</a> </div> </nav> </section> <section class=""switch-part switch-part2""> <div class=""widget""> <nav class=""header-menu""> <ul> "); EndContext(); #line 106 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" foreach (string item in ViewBag.datelist) { #line default #line hidden BeginContext(5383, 117, true); WriteLiteral(" <li>\r\n <a href=\"#\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 5500, "\"", 5529, 3); WriteAttributeValue("", 5510, "searchBlog(\'", 5510, 12, true); #line 108 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" WriteAttributeValue("", 5522, item, 5522, 5, false); #line default #line hidden WriteAttributeValue("", 5527, "\')", 5527, 2, true); EndWriteAttribute(); BeginContext(5530, 59, true); WriteLiteral(">\r\n "); EndContext(); BeginContext(5590, 4, false); #line 109 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" Write(item); #line default #line hidden EndContext(); BeginContext(5594, 2, true); WriteLiteral(" ("); EndContext(); BeginContext(5597, 53, false); #line 109 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" Write(dal.GetBlogTotalCount($"createdate like'{ @item }%'")); #line default #line hidden EndContext(); BeginContext(5650, 116, true); WriteLiteral(")\r\n </a>\r\n </li>\r\n"); EndContext(); #line 112 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Index.cshtml" } #line default #line hidden BeginContext(5813, 2254, true); WriteLiteral(@" </ul> </nav> </div> </section> </div> </div> </header> </div> </div> <div class=""mid-col""> <nav id=""mobile-nav""> <div class=""overlay""> <h1 class=""header-author js-mobile-header hide"">用户名</h1> </div> <div class=""intrude-less""> <header id=""header"" class=""inner""> <div class=""profilepic""> <img src=""/images/头像.jpeg"" class=""js-avatar""> </div> <hgroup> <h1 class=""header-author"">站点名称</h1> </hgroup> <p class=""header-subtitle"">站点描述</p> <nav class=""header-menu""> "); WriteLiteral(@" <ul> <li><a href=""/"">主页</a></li> <li><a href=""/catalog/"">分类一 (1)</a></li> <li><a href=""/catalog/"">分类一 (1)</a></li> <li><a href=""/catalog/"">分类一 (1)</a></li> <li><a href=""/catalog/"">分类一 (1)</a></li> <div class=""clearfix""></div> </ul> </nav> <nav class=""header-nav""> <div class=""social""> <a class=""github"" target=""_blank"" href=""https://github.com/xiaotian000"" title=""github"">github</a> <a class=""linkedin"" target=""_blank"" href=""http://www.linkedin.com/in/%E7%A7%8B%E5%AE%9E-%E7%94%B0-146850126"" title=""LinkedIn"">LinkedIn</a> <a class=""mail"" target=""_blank"" href=""mailto:[email protected]"" title=""Emai"); WriteLiteral("l\">Email</a>\r\n </div>\r\n </nav>\r\n </header>\r\n </div>\r\n </nav>\r\n\r\n <div id=\"view\" class=\"body-wrap\">\r\n"); EndContext(); BeginContext(8107, 381, true); WriteLiteral(@" </div> <div class=""article-info article-info-index""> <div> 总共有<span id=""totalCount""></span>篇博客, 当前是第<span id=""pageIndex""></span>页/共<span id=""pageCount""></span>页 </div> <div id=""pages""></div> </div> </div> </div> <div> "); EndContext(); BeginContext(8488, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "113d0251b59c4472b34fb15119a06c63", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(8551, 118, true); WriteLiteral("\r\n <script type=\"text/javascript\" src=\"assets/shared/scripts/jquery.codecomb.fileupload.js\"></script>\r\n "); EndContext(); BeginContext(8669, 53, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a81560ec9b0452ca442e83d0ae014c0", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(8722, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(8732, 45, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bfe42b87ac5740f0917930660c8b0da9", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(8777, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(8787, 48, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2e63b0ba9e0c4e41b52dfeecc1a6d9ab", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(8835, 397, true); WriteLiteral(@" <script> var yiliaConfig = { fancybox: true, mathjax: true, animate: true, isHome: true, isPost: false, isArchive: false, isTag: false, isCategory: false, open_in_new: false } </script> "); EndContext(); BeginContext(9232, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b71fc728e0b94846bdda244065958e9a", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(9286, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(9296, 40, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a63cf2357f574cf59d0e57bc14f8f1d8", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(9336, 5466, true); WriteLiteral(@" <script> //分页显示 var pagesize = 5;//每页数据 layui.use(['laypage', 'layer'], function () { var laypage = layui.laypage, layer = layui.layer, $ = layui.jquery; var url = ""/Admin/Blog/GetBlogTotalCount?t="" + new Date().valueOf(); var postData = getdata(''); $.post(url, postData, function (count) { console.log(""取到的博客总数:"" + count); $('#totalCount').html(count); $('#pageCount').html(Math.ceil(count / pagesize)); //执行一个laypage实例 laypage({ cont: 'pages', pages: Math.ceil(count / pagesize),//js数据除法带小数 jump: function (obj) { var pageindex = obj.curr; //读取后台数据返回json后拼接 load_blog_data(pageindex, postData); } "); WriteLiteral(@" }) }) }); //加载第X页数据,字符串拼接 function load_blog_data(pageindex,postdata) { // console.log(""加载第"" + pageindex + ""页""); layui.use('layer', function () { var $ = layui.jquery, layer = layui.layer; $('#pageIndex').text(pageindex); var url = ""/Blog/GetBlogList?pageIndex="" + pageindex + ""&pagesize="" + pagesize; $.post(url, postdata, function (json) { var html = ''; $.each(json, function (i, blog) { var class_color = ""color"" + (i % 5 + 1); //颜色样式color1-5 html += '<article class=""article article-type-post"" itemscope itemprop=""blogPost"">'; html += ' <div class=""article-meta"">'; html += ' <a href=""/Blog/Show/' + blog.id + '"" class=""article-date"">'; "); WriteLiteral(@" html += ' <time datetime="""" itemprop=""datePublished"">' + blog.createDate + '</time>'; html += ' </a>'; html += ' </div>'; html += ' <div class=""article-inner"">'; html += ' <input type=""hidden"" class=""isFancy"" />'; html += ' <header class=""article-header"">'; html += ' <h1 itemprop=""name"">'; html += ' <a class=""article-title"" href=""/Blog/Show/' + blog.id + '"">' + blog.title + '</a>'; html += ' </h1>'; html += ' </header>'; html += ' <div class=""article-entry"" itemprop=""articleBody"">'; html += blog.body; html += ' </div>'; html += ' "); WriteLiteral(@"<div class=""article-info article-info-index"">'; html += ' <div class=""article-tag tagcloud"">'; html += ' <ul class=""article-tag-list"">'; html += ' <li class=""article-tag-list-item""><a class=""' + class_color + '"">' + blog.categoryName + '</a></li>'; html += ' </ul>'; html += ' </div>'; html += ' <div class=""clearfix""></div>'; html += ' </div>'; html += ' </div>'; html += '</article>'; }) $('#view').html(html); }, 'json'); }) } //拼接条件返回postData function getdata(para) { var key = $(""#search_key"").val(); "); WriteLiteral(@" var para = para; var postData = { key: key, para: para }; return postData; } //按条件查询 function searchBlog(para) { layui.use(['laypage', 'layer'], function () { var laypage = layui.laypage, layer = layui.layer, $ = layui.jquery; var url = ""/Blog/GetBlogTotalCount?t="" + new Date().valueOf(); var postData = getdata(para); $.post(url, postData, function (count) { console.log(""取到的博客总数:"" + count); $('#totalCount').html(count); $('#pageCount').html(Math.ceil(count / pagesize)); //执行一个laypage实例 laypage({ cont: 'pages', pages: Math.ceil(count / pagesize),//js数据除法带小数 jump: functi"); WriteLiteral(@"on (obj) { var pageindex = obj.curr; //读取后台数据返回json后拼接 load_blog_data(pageindex, postData); } }) }) }); } </script> </div> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(14809, 1059, true); WriteLiteral(@" </html> <script> ////加载第x页数据,使用laytpl,但是css无效了 //function load_blog_data(pageindex) { // console.log(""加载第"" + pageindex + ""页""); // var url = ""/Blog/GetBlogList?pageIndex="" + pageindex + ""&pagesize="" + pagesize; // layui.use(['laypage', 'layer'], function () { // var laypage = layui.laypage, layer = layui.layer, $ = layui.jquery; // $('#pageIndex').html(pageindex); // var postData = {}; // $.post(url, postData, function (json) { // //第三步:渲染模版 // var data = { //数据 // ""title"": """" // , ""list"": json // } // var getTpl = demo.innerHTML; // layui.use('laytpl', function () { // var laytpl = layui.laytpl; // laytpl(getTpl).render(data, function (html) { // $('#view').html(html); // }); // }); // }, 'json'); "); WriteLiteral("\n // })\r\n //}\r\n</script>\r\n"); EndContext(); BeginContext(15889, 37, true); WriteLiteral("<script id=\"demo\" type=\"text/html\">\r\n"); EndContext(); BeginContext(15944, 995, true); WriteLiteral(@" {{# layui.each(d.list, function(index, item){ }} <article class=""article article-type-post"" itemscope itemprop=""blogPost""> <div class=""article-meta""> <a href=""/post/"" class=""article-date""> <time datetime="""" itemprop=""datePublished"">{{ item.createDate }}</time> </a> </div> <div class=""article-inner""> <input type=""hidden"" class=""isFancy"" /> <header class=""article-header""> <h1 itemprop=""name""> <a class=""article-title"" href=""/post/{{ item.id }}"">{{ item.title }}</a> </h1> </header> <div class=""article-entry"" itemprop=""articleBody""> {{ item.body }} </div> <div class=""article-info article-info-index""> <div class=""article-tag tagcloud""> <ul class=""article-tag-list""> <li class=""article-tag-list-item"">"); EndContext(); BeginContext(16939, 96, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "25163f850aeb4704b2e41f28d4398a8b", async() => { BeginContext(17028, 3, true); WriteLiteral("123"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-tag", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["tag"] = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(17035, 65, true); WriteLiteral("</li>\r\n <li class=\"article-tag-list-item\">"); EndContext(); BeginContext(17100, 116, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f743e756fbaa4aebbe787d8dc79546aa", async() => { BeginContext(17189, 23, true); WriteLiteral("{{ item.categoryName }}"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-tag", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["tag"] = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(17216, 182, true); WriteLiteral("</li>\r\n </ul>\r\n </div>\r\n <div class=\"clearfix\"></div>\r\n </div>\r\n </div>\r\n </article>\r\n {{# }); }}\r\n</script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" Layout = null; My.Blog.DAL.BlogDAL dal = new My.Blog.DAL.BlogDAL(); #line default #line hidden BeginContext(85, 2621, true); WriteLiteral(@"<div class=""left-col""> <div class=""overlay""></div> <div class=""intrude-less""> <header id=""header"" class=""inner""> <a href=""/"" class=""profilepic""> <img lazy-src=""/images/头像.jpeg"" class=""js-avatar""> </a> <hgroup> <h1 class=""header-author""><a href=""/"">用户名</a></h1> </hgroup> <div> <div class=""layui-input-inline"" style=""width:150px""> <input id=""search_key"" class=""layui-input"" type=""text"" placeholder=""标题关键字"" /> </div> <div class=""layui-input-inline""> <button class=""layui-btn layui-btn-radius layui-btn-small"" type=""button"" onclick=""searchBlog('')""> <i class=""layui-icon""></i>查询 </button> </div> </div> <div class=""switch-btn""> <div class=""icon""> <div class=""icon-ctn""> "); WriteLiteral(@" <div class=""icon-wrap icon-house"" data-idx=""0""> <div class=""birdhouse""></div> <div class=""birdhouse_holes""></div> </div> <div class=""icon-wrap icon-ribbon hide"" data-idx=""1""> <div class=""ribbon""></div> </div> <div class=""icon-wrap icon-link hide"" data-idx=""2""> <div class=""loopback_l""></div> <div class=""loopback_r""></div> </div> <div class=""icon-wrap icon-me hide"" data-idx=""3""> <div class=""user""></div> <div class=""shoulder""></div> </div> </div> </div> <div class=""tips-box hide""> <div class=""tips-arrow""></div> <ul class"); WriteLiteral(@"=""tips-inner""> <li>菜单</li> <li>日历</li> <li><a href=""javascript:$('#frmNewPost').submit();"">发表文章</a></li> <li><a href=""javascript:$('#frmLogout').submit();"">注销</a></li> </ul> </div> </div> <div class=""switch-area""> <div class=""switch-wrap""> <section class=""switch-part switch-part1""> <nav class=""header-menu""> <ul> "); EndContext(); #line 67 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" foreach (My.Blog.Model.Category item in ViewBag.calist) { #line default #line hidden BeginContext(2798, 93, true); WriteLiteral(" <li>\r\n <a href=\"#\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 2891, "\"", 2927, 3); WriteAttributeValue("", 2901, "searchBlog(\'", 2901, 12, true); #line 69 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" WriteAttributeValue("", 2913, item.Number, 2913, 12, false); #line default #line hidden WriteAttributeValue("", 2925, "\')", 2925, 2, true); EndWriteAttribute(); BeginContext(2928, 47, true); WriteLiteral(">\r\n "); EndContext(); BeginContext(2976, 17, false); #line 70 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" Write(item.CategoryName); #line default #line hidden EndContext(); BeginContext(2993, 47, true); WriteLiteral("\r\n ("); EndContext(); BeginContext(3041, 55, false); #line 71 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" Write(dal.GetBlogTotalCount($"categoryNum='{ @item.Number}'")); #line default #line hidden EndContext(); BeginContext(3096, 92, true); WriteLiteral(")\r\n </a>\r\n </li>\r\n"); EndContext(); #line 74 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" } #line default #line hidden BeginContext(3223, 896, true); WriteLiteral(@" </ul> </nav> <nav class=""header-nav""> <div class=""social""> <a class=""github"" target=""_blank"" href=""https://github.com/xiaotian000"" title=""github"">github</a> <a class=""linkedin"" target=""_blank"" href=""http://www.linkedin.com/in/%E7%A7%8B%E5%AE%9E-%E7%94%B0-146850126"" title=""LinkedIn"">LinkedIn</a> <a class=""mail"" target=""_blank"" href=""mailto:[email protected]"" title=""Email"">Email</a> </div> </nav> </section> <section class=""switch-part switch-part2""> <div class=""widget""> <nav class=""header-menu""> <ul> "); EndContext(); #line 90 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" foreach (string item in ViewBag.datelist) { #line default #line hidden BeginContext(4201, 101, true); WriteLiteral(" <li>\r\n <a href=\"#\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 4302, "\"", 4331, 3); WriteAttributeValue("", 4312, "searchBlog(\'", 4312, 12, true); #line 92 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" WriteAttributeValue("", 4324, item, 4324, 5, false); #line default #line hidden WriteAttributeValue("", 4329, "\')", 4329, 2, true); EndWriteAttribute(); BeginContext(4332, 51, true); WriteLiteral(">\r\n "); EndContext(); BeginContext(4384, 4, false); #line 93 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" Write(item); #line default #line hidden EndContext(); BeginContext(4388, 2, true); WriteLiteral(" ("); EndContext(); BeginContext(4391, 53, false); #line 93 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" Write(dal.GetBlogTotalCount($"createdate like'{ @item }%'")); #line default #line hidden EndContext(); BeginContext(4444, 100, true); WriteLiteral(")\r\n </a>\r\n </li>\r\n"); EndContext(); #line 96 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Home\Left.cshtml" } #line default #line hidden BeginContext(4583, 237, true); WriteLiteral(" </ul>\r\n </nav>\r\n </div>\r\n </section>\r\n\r\n\r\n </div>\r\n </div>\r\n </header>\r\n </div>\r\n</div>\r\n<div>\r\n "); EndContext(); BeginContext(4820, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4ee16210bdf64860aff4ad6e529f2de6", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4883, 110, true); WriteLiteral("\r\n <script type=\"text/javascript\" src=\"assets/shared/scripts/jquery.codecomb.fileupload.js\"></script>\r\n "); EndContext(); BeginContext(4993, 53, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e4bc1d409cc8451b8667eb9732147287", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5046, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5052, 45, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "342d014e0e33436583b2e4d79fb3e071", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5097, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5103, 48, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f720330b3784176bbfd058ee1b63e5c", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5151, 337, true); WriteLiteral(@" <script> var yiliaConfig = { fancybox: true, mathjax: true, animate: true, isHome: true, isPost: false, isArchive: false, isTag: false, isCategory: false, open_in_new: false } </script> "); EndContext(); BeginContext(10657, 6, true); WriteLiteral("</div>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" My.Blog.DAL.BlogDAL dal = new My.Blog.DAL.BlogDAL(); #line default #line hidden BeginContext(68, 25, true); WriteLiteral("<!DOCTYPE html>\r\n<html>\r\n"); EndContext(); BeginContext(93, 493, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "da717761bcde4b9eaea468306f6f4f73", async() => { BeginContext(99, 480, true); WriteLiteral(@" <meta charset=""utf-8""> <meta http-equiv=""X-UA-Compatible"" content=""IE=edge""> <title>MY博客</title> <meta name=""viewport"" content=""width=device-width, initial-scale=1, maximum-scale=1""> <link href=""/assets/Hexo/css/style.css"" rel=""stylesheet"" /> <link href=""/assets/Default/styles/font-awesome.css"" rel=""stylesheet"" /> <script src=""/assets/Hexo/js/jquery-1.10.2.min.js""></script> <script src=""/assets/Hexo/js/jquery-1.10.2.min.js""></script> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(586, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(588, 5667, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f397848496bb453b8c26b17d856845a3", async() => { BeginContext(594, 3089, true); WriteLiteral(@" <div id=""container""> <div class=""left-col""> <div class=""overlay""></div> <div class=""intrude-less""> <header id=""header"" class=""inner""> <a href=""/"" class=""profilepic""> <img lazy-src=""/images/头像.jpeg"" class=""js-avatar""> </a> <hgroup> <h1 class=""header-author""><a href=""/"">用户名</a></h1> </hgroup> <div> <div class=""layui-input-inline"" style=""width:150px""> <input id=""search_key"" class=""layui-input"" type=""text"" placeholder=""标题关键字"" /> </div> <div class=""layui-input-inline""> <button class=""layui-btn layui-btn-radius layui-btn-small"" type=""button"" onclick=""searchBlog('')""> <i class=""layui-icon""></i>查询 </button>"); WriteLiteral(@" </div> </div> <div class=""switch-btn""> <div class=""icon""> <div class=""icon-ctn""> <div class=""icon-wrap icon-house"" data-idx=""0""> <div class=""birdhouse""></div> <div class=""birdhouse_holes""></div> </div> <div class=""icon-wrap icon-ribbon hide"" data-idx=""1""> <div class=""ribbon""></div> </div> <div class=""icon-wrap icon-link hide"" data-idx=""2""> <div class=""loopback_l""></div> <div class=""loopback_r""></div> </div> <div class=""icon-wrap icon-me hide"" data-idx=""3""> "); WriteLiteral(@" <div class=""user""></div> <div class=""shoulder""></div> </div> </div> </div> <div class=""tips-box hide""> <div class=""tips-arrow""></div> <ul class=""tips-inner""> <li>菜单</li> <li>日历</li> <li><a href=""javascript:$('#frmNewPost').submit();"">发表文章</a></li> <li><a href=""javascript:$('#frmLogout').submit();"">注销</a></li> </ul> </div> </div> <div class=""switch-area""> <div class=""switch-wrap""> <section class=""switch-part switch-part1""> <nav class=""header-menu""> "); WriteLiteral(" <ul>\r\n"); EndContext(); #line 80 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" foreach (My.Blog.Model.Category item in ViewBag.calist) { #line default #line hidden BeginContext(3783, 109, true); WriteLiteral(" <li>\r\n <a href=\"#\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 3892, "\"", 3928, 3); WriteAttributeValue("", 3902, "searchBlog(\'", 3902, 12, true); #line 82 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" WriteAttributeValue("", 3914, item.Number, 3914, 12, false); #line default #line hidden WriteAttributeValue("", 3926, "\')", 3926, 2, true); EndWriteAttribute(); BeginContext(3929, 55, true); WriteLiteral(">\r\n "); EndContext(); BeginContext(3985, 17, false); #line 83 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" Write(item.CategoryName); #line default #line hidden EndContext(); BeginContext(4002, 55, true); WriteLiteral("\r\n ("); EndContext(); BeginContext(4058, 55, false); #line 84 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" Write(dal.GetBlogTotalCount($"categoryNum='{ @item.Number}'")); #line default #line hidden EndContext(); BeginContext(4113, 108, true); WriteLiteral(")\r\n </a>\r\n </li>\r\n"); EndContext(); #line 87 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" } #line default #line hidden BeginContext(4264, 1008, true); WriteLiteral(@" </ul> </nav> <nav class=""header-nav""> <div class=""social""> <a class=""github"" target=""_blank"" href=""https://github.com/xiaotian000"" title=""github"">github</a> <a class=""linkedin"" target=""_blank"" href=""http://www.linkedin.com/in/%E7%A7%8B%E5%AE%9E-%E7%94%B0-146850126"" title=""LinkedIn"">LinkedIn</a> <a class=""mail"" target=""_blank"" href=""mailto:[email protected]"" title=""Email"">Email</a> </div> </nav> </section> <section class=""switch-part switch-part2""> <div class=""widget""> <nav class=""header-menu""> <ul> "); EndContext(); #line 103 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" foreach (string item in ViewBag.datelist) { #line default #line hidden BeginContext(5362, 117, true); WriteLiteral(" <li>\r\n <a href=\"#\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 5479, "\"", 5508, 3); WriteAttributeValue("", 5489, "searchBlog(\'", 5489, 12, true); #line 105 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" WriteAttributeValue("", 5501, item, 5501, 5, false); #line default #line hidden WriteAttributeValue("", 5506, "\')", 5506, 2, true); EndWriteAttribute(); BeginContext(5509, 59, true); WriteLiteral(">\r\n "); EndContext(); BeginContext(5569, 4, false); #line 106 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" Write(item); #line default #line hidden EndContext(); BeginContext(5573, 2, true); WriteLiteral(" ("); EndContext(); BeginContext(5576, 53, false); #line 106 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" Write(dal.GetBlogTotalCount($"createdate like'{ @item }%'")); #line default #line hidden EndContext(); BeginContext(5629, 116, true); WriteLiteral(")\r\n </a>\r\n </li>\r\n"); EndContext(); #line 109 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" } #line default #line hidden BeginContext(5792, 304, true); WriteLiteral(@" </ul> </nav> </div> </section> </div> </div> </header> </div> </div> "); EndContext(); BeginContext(6097, 12, false); #line 120 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" Write(RenderBody()); #line default #line hidden EndContext(); BeginContext(6109, 95, true); WriteLiteral(";\r\n <footer>\r\n <p>© 2019 - 博客</p>\r\n </footer>\r\n </div>\r\n\r\n "); EndContext(); BeginContext(6205, 41, false); #line 126 "C:\Users\MY\source\repos\MyBlogDemo\My.Blog.Web\Views\Shared\_Layout.cshtml" Write(RenderSection("Scripts", required: false)); #line default #line hidden EndContext(); BeginContext(6246, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6255, 13, true); WriteLiteral("\r\n\r\n</html>\r\n"); EndContext(); }