0
huntethan89 created
When trying to use application service from public website gives error-
Cannot read property 'app' of undefined
JS Code-
var _homeService = abp.services.app.home;
_homeService.getData({ pageNumber: 0 })
.done(function (data) {
console.log(data);
});
Is there any way to allow application services to be accessible from public website? Template is Core+jQuery
1 Answer(s)
-
0
You can refer to this document to add JavaScript proxies. https://aspnetboilerplate.com/Pages/Documents/Dynamic-Web-API