Reputation: 11735
I am trying to include<% @using System.Web.Script.Serialization%>
but it is giving me error message: The server block is not well formed.
Upvotes: 0
Views: 415
Reputation: 102793
If you're using Razor syntax, it's like this:
@using System.Web.Script.Serialization
ASP.net syntax is like this:
<%@ Import Namespace="System.Web.Script.Serialization" %>
Upvotes: 4