After some search, found it:
@inject IJsonHelper Json;
@Json.Serialize(...)
More Related Contents:
- Encrypted configuration in ASP.NET Core
- ASP.NET Core MVC: setting expiration of identity cookie
- Pass Model To Controller using Jquery/Ajax
- How to simulate Server.Transfer in ASP.NET MVC?
- Where should I do Injection with Ninject 2+ (and how do I arrange my Modules?)
- What is an MVC child action?
- Including an anchor tag in an ASP.NET MVC Html.ActionLink
- Asp.net MVC4: Authorize on both controller and action
- Combine ASP.Net MVC with WebForms
- Purpose of ActionName
- How to fix: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
- How to set ViewBag properties for all Views without using a base class for Controllers?
- ‘Microsoft.SqlServer.Types’ version 10 or higher could not be found on Azure
- Redirect / show view after generated file is dowloaded
- How to remove ASP.Net MVC Default HTTP Headers?
- Html helper for
- Can I pass an anonymous type to my ASP.NET MVC view?
- How to create file and return it via FileResult in ASP.NET MVC?
- ASP.NET Core v2 (2015) MVC : How to get raw JSON bound to a string without a type?
- How do I prevent multiple form submission in .NET MVC without using Javascript?
- Must ASP.NET MVC Controller Methods Return ActionResult?
- Is it possible to create a Logon System with ASP.NET MVC but not use the MembershipProvider?
- CS0234: Mvc does not exist in the System.Web namespace
- How to use a DI / IoC container with the model binder in ASP.NET MVC 2+?
- ASP.NET MVC posted file model binding when parameter is Model
- Strongly-Typed ASP.NET MVC with ADO.NET Entity Framework [closed]
- Razor Nested WebGrid
- Steve Sanderson’s BeginCollectionItem helper won’t bind correctly
- Best practice for ASP.NET MVC resource files
- Include all files in a folder in a single bundle