Sean's Blog

My Development Blog

  Home  |   Contact  |   Syndication    |   Login
  11 Posts | 0 Stories | 44 Comments | 0 Trackbacks

News

Twitter












Archives

.NET Development

Thursday, August 21, 2008 #

This next post might be rather obvious to most of you, but I figured I wasn't the only one that didn't know how to do this.  I was recently working with a new ASP.NET MVC project and got tired of typing out the fully qualified class names.  This seems like something that would be rather common, but a quick Google search didn't turn up anything useful.  I figured that there had to be a way to import a namespace, so intellisense to the rescue, I noticed that there was an <%Import %> directive.  Sure enough, that did the trick.

<%@ Import Namespace="SubSonic" %>