KallDrexx
KallDrexx

Reputation: 27803

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?

Upvotes: 5

Views: 4770

Answers (1)

Darren Wainwright
Darren Wainwright

Reputation: 30727

It's entirely possible.

A quick google came up with this really good tutorial Managing Your JavaScript Library in ASP.NET

Upvotes: 5

Related Questions