title: What is the alternate of [AllowHtml] in ASP.Net Core 2.0
body: <p>I want to integrate CKEditor in my MVC Core 2.0 Application, in previous version I used it by adding [AllowHTML] data annotation to my string property. But in ASP.Net Core I could not find the right way to insert HTML into string input.</p>
  
  <p>My code in in ASP.Net MVC 5</p>
  
  <pre><code>[AllowHtml]
  [DataType(DataType.MultilineText)]
  public string Profile { get; set; }
  </code></pre>
  
  <p>but in ASP.Net Core 2.0 [AllowHtml] is not working. I searched in google but could not find right solution except this link <a href="https://docs.microsoft.com/en-us/aspnet/core/security/cross-site-scripting" rel="noreferrer">https://docs.microsoft.com/en-us/aspnet/core/security/cross-site-scripting</a></p>
  
  <pre><code>[DataType(DataType.MultilineText)]
  public string Profile { get; set; }
  </code></pre>
  
  <p>I am really stuck with this issue and need help from .Net experts, Thanks.</p>