Using embedded WebResources throughout Webresource.axd
问题 The question's simple: how could one use embedded resources in asp.net applications? What are the steps to include a resource in the assembly, and how to reference it? What are the gotchas that could be encountered? 回答1: Edit: For a version without referencing Page and ClientScript, see What is the right way to handle Embedded Resources on a Razor View? After spending a half of a day I've learned these: to embed a resource one needs to set it's Build Action to Embedded Resource (in VS