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?
在我为asp.net构建的库中,是否可以将javascript文件作为嵌入式资源嵌入,并且仍然可以通过URL调用和/或脚本标记检索它,而无需创建辅助ashx来加载javascript ?
1 个解决方案
#1
5
It's entirely possible.
这完全有可能。
A quick google came up with this really good tutorial Managing Your JavaScript Library in ASP.NET
一个快速的谷歌想出了这个非常好的教程在ASP.NET中管理你的JavaScript库
#1
5
It's entirely possible.
这完全有可能。
A quick google came up with this really good tutorial Managing Your JavaScript Library in ASP.NET
一个快速的谷歌想出了这个非常好的教程在ASP.NET中管理你的JavaScript库