I place using namespace in a view code behind but i can't call any class of this name space in aspx.
In codebehind:
using MVCTest.Controller;
Add the import statement If you are using the ASP.NET (C#) engine:
<%@ Import Namespace="My.Namespace.Path" %>
<html goes here>
...
</html>
OR
Add the using statement to your view if you are using the Razor engine:
@using My.Namespace.Path
@{
ViewBag.Title = "My Page";
...
}
<html goes here>
...
</html goes here>