اشتراکها
NET Core 2.2.4. منتشر شد
نظرات مطالب
نوشتن TagHelperهای سفارشی برای ASP.NET Core
با سلام،
همانطور که میدانید helper@ در حال حاضر در asp.net core 2 پشتیبانی نمیشود.
من میخواهم قطعه کد ذیل را که در asp.net mvc 5 نوشته شده را مطابق با asp.net core 2 بازنویسی کنم.
چگونه میتوانم آن را انجام دهم؟
//MyHelpers.cshtml: //Recursive function for rendering child nodes for the specified node @helper CreateNavigation(int parentId, int depthNavigation, int currentPageId) { @MyHelpers.Navigation(parentId, depthNavigation, currentPageId); } @helper Navigation(int parentId, int depthNavigation, int currentPageId) { if () { if () { <ul style=""> @foreach () { if () { <li class=""> @Navigation(child.Id, depthNavigation, currentPageId) </li> } } </ul> } } }
//I call the method in _Menu.cshtml: @MyHelpers.CreateNavigation(rootNode.Id, 2,currentPageId);
اشتراکها
خبرنامه ماهیانهی NET Foundation.
Fixed In This Release of Visual Studio 2019 version 16.5
- Team Explorer not loading after update to mandatory latest visual studio version for Visual studio 2019
- Find Highlighting Fails when Matching with Match Case Disabled and Regex Option Enabled
Security Advisory Notice
CVE-2020-1108 .NET Core Denial of Service Vulnerability
A remote unauthenticated attacker could exploit this vulnerability by issuing specially crafted requests to the .NET Core application. The security update addresses the vulnerability by correcting how the .NET Core web application handles web requests.
CVE-2020-1161 .NET Core Denial of Service Vulnerability
A remote unauthenticated attacker could exploit this vulnerability by issuing specially crafted requests to the ASP.NET Core application. The security update addresses the vulnerability by correcting how the ASP.NET Core web application handles web requests.
Implement ASP.NET Core OpenID Connect OAuth PAR client with Keycloak using .NET Aspire
This post shows how to implement an ASP.NET Core application which uses OpenID Connect and OAuth PAR for authentication. The client application uses Keycloak as the identity provider. The Keycloak application is hosted in a docker container. The applications are run locally using .NET Aspire. This makes it really easy to develop using containers.
اشتراکها
مقایسهای بین Node.js و .NET Core
اشتراکها