views:

38

answers:

1

I'd like to create a class library project where embed resources like js, css and maybe image files. I would compile it and copy the dll into the bin folder of my web site to include the resources into my pages with GetWebResourceUrl.

I tried with an assembly that have no .cs files, but it doesn't seem to work, I can't see the namespace of the assembly in the web project.

Is it possible doing this? Someone could provide a small tutorial?

Thanks

A: 

If you want to reduce the loading time, serve the media files as static content, as example over nginx.

leoluk
Sorry, I would do it like that. Thanks.
opaera