How do I call a javascript file that's embedded in a dll in my asp.net web application?
问题 In a library I am building for my asp.net, is it possible to embed a javascript file as an embedded resource and still be able to retrieve it via a URL call and/or script tag without creating a secondary ashx just to load the javascript? 回答1: It's entirely possible. A quick google came up with this really good tutorial Managing Your JavaScript Library in ASP.NET 来源: https://stackoverflow.com/questions/13608388/how-do-i-call-a-javascript-file-thats-embedded-in-a-dll-in-my-asp-net-web-appli