0
eggersa created
Since aspnetboilerplate automatically creates some of the javascript like Web API proxies, I was wondering if I can somehow inject my own javascript builder to create some javascript version of my C# enums to use on clientside?
1 Answer(s)
-
0
Hi,
You can do it similar to we do it for script generation. We do it here: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Api/WebApi/Controllers/Dynamic/Scripting/AbpServiceProxiesController.cs#L43">https://github.com/aspnetboilerplate/as ... ler.cs#L43</a>
Just a web api action which dynamically generates string and returns it as application/x-javascript