Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ViewComponent, Partial or other? Anything that can allow for this @helper like syntax?

$
0
0
@using (Html.BeautifulBox("My Box Title"))
{<div class="panel-content-inner">
        Long Content... Generated by Functions, loops ect.. Nice to use for simple DRY containers that wrap content</div>
}


I know helpers don't exist but anything to accomplish passing through big blocks of content like this?

Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>