很多ASP.NET server控件都需要另外的外部资源来实现某些功能,WebResource.axd就是将一些js,jpg,bmp等封装或叫植入到类库里面. 使用WebResource.axd需要注意几点 1.在类库中注册js脚本资源 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.UI; [assembly: WebResource("
https://stackoverflow.com/questions/3318092/what-is-webresource-axd WebResource.axd provides access to embedded resources within a project. It's a handler that enables control and page developers to download resources that are embedded in an assembly