0
Plasseraud created
i want create my own ScriptProxyManager because the orignial is too slow ( 8 sec. ).
how implement this ?
5 Answer(s)
-
0
Hi @Plasseraud,
Do you mean
AbpScripts/GetScripts
request ? -
0
Hi, No for the AbpServiceProxies.
I have created a new controller and inject ScriptProxyManager in my controller.
but this line var script = _scriptProxyManager.GetAllScript(type); return empyt string
Thanks
-
0
Hi,
- Do you use MVC 5.x ?
- You can create a copy of https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Api/WebApi/Controllers/Dynamic/Scripting/ScriptProxyManager.cs and use it in your case. So, you can degub and see where is the problem.
-
0
I use .net core I have created a copy of ScriptProxyManager in the Porject application but _dynamicApiControllerManager.GetAll() return empty list
-
0
Hi,
That's because it is defined for ASP.NET MVC 5.x.