APP_CODE 写的类 在同一WEB项目的代码中使用不需要额外引用。 namespace N { public Class XXX{} } 在default.cs中只需要 N.XXX x=new N.XXX 即可。