Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Static Javascript Proxies #11293


User avatar
0
johnmalone created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? CORE

I am using VUE JS with ASP.NET Zero. I am having an issue with making AJAX calls from VUE before the dynamic proxies are downloaded, therefore getting undefined object errors.

Can I create static javascript proxies? If so, how?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @johnmalone

    We are using that in AspNet Zero's Angular verison using NSWAG, see https://github.com/RicoSuter/NSwag. But, we created a custom Angular HttpInterceptor to include access token in every request.