How to embed JavaScript file in an assembly

Blog comments edit

Developing ASP.NET web controls is always interlocked with creating javascript codes in order to create client side functions. Moreover, a developer always has a tendency to release minimum files, most of the time an assembly (DLL) which includes all requirements for web control, is best case. This post is an attempt to represent how to embed JS file in an assembly.

First of all you have to create an ASP.Net AJAX-Enabled Web Site  named "EmbededJSTest" and add System.Web.Extensions references to project . In order to add this assembly you have to install  [here](http://gkasoq.bay.livefilestore.com/y1pO5bR_q-B4Gz19EwxN2gjcNqm0xRMq64po2ycqOa-zoYFEVBhWwwCf89HGOy1pG6mYpaTfRL5XLM8ZSQUVyJ7DplFAfYtZJII/EmbededJSSource.zip?download&psid=1)

Comments