Questions tagged single-page-application

Explore the latest questions and answers asked by our top developers.

Azure APIM API security with SPA angular application

I am having an angular application (hosted as a web app) that will consume APIs which are exposed through APIM. my concern is that is subscription key and CORS enough for security? or we have to implement any other security feature? -Rajesh Source: Angular Questions

Is it advisable to build an enterprise application as a web component

I have an architecture dilemma for an enterprise application in the works (at the company I work for). The application has complex business rules with functionality that includes routing, state management across multiple routes, authentication, and access management, etc. The options being proposed are building the application as a standalone SPA (Angular, which is my […]

How can I track each PageView event using Linkedin Pixel configuration?

I am trying to integrate Linkedin Pixel with my Angular site. I have configure like this : Add this code in src/index.html file <script type="text/javascript"> _linkedin_partner_id = "<pixelId>"; window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || []; window._linkedin_data_partner_ids.push(_linkedin_partner_id); </script><script type="text/javascript"> (function(l) { if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])}; window.lintrk.q=[]} var s = document.getElementsByTagName("script")[0]; var b = document.createElement("script"); b.type = "text/javascript";b.async = […]

Http post request are not firing on subscribe() in Angular SPA

I am working with Single page application Angular when I first go to spa route all http request are sent successfully , but when i go to other page and then go back to SPA page http requests are not triggered but when I change the route(go to another page) and comeback again, all the […]

Deploy .NET Core 5 SPA (Angular) app to IIS

I have .NET Core 5 SPA (Angular) app. I installed .NET Core Windows Server Hosting Bundle. Set Application pool like this, No Managed Code: I published an app using dotnet publish -c Release into "publish" folder. In IIS created new application "Homepage", pointing to that folder. However, when I try to open, I get blank […]

Playwright synchronization issue with Angular application

I’m trying to automate a scenario where in the service queries the DB and renders the data on to the UI. This rendering process takes quiet a lot of time (around 3 mins). Playwright doesn’t wait till the page load complete. I tried using await page.waitForLoadState();, await page.waitForLoadState(‘networkidle’); await page.waitForLoadState(‘domcontentloaded’); and await page.setDefaultNavigationTimeout(150); I’m working […]

Vba Web Scraping From Single Page Web application

Can you please suggest me how to deal with this issue I’ve to do is to put some value in InputBox and then click on Search button According to that InputBox value data is shown in same page without changing its URL. I made a code which puts a value in inputbox but when the […]

Facing issues in deploying angular microfrontend on cloud

I am trying to deploy my angular frontend application to IBM cloud. I have a container application which loads other angular applications into it. { "imports": { "login": "https://login-app.dal1a.ciocloud.ibm.com/main-es2015.js", "nav-bar": "https://navbar.dal1a.ciocloud.ibm.com/main-es2015.js", "att-app": "https://att-app.dal1a.ciocloud.ibm.com/main-es2015.js", "single-spa": "https://cdnjs.cloudflare.com/ajax/libs/single-spa/5.5.0/system/single-spa.min.js" } } Navbar app it the first one that loads. but it is giving the below error now. Cross-Origin Request […]

Angular http "referer" header did not respect current activated route

Lets say we are doing a POST request to API from component under some route. And the backend code at server is php code. On http post request need to tell to php the correct referer (currently activated route). Does Angular allow this? Or this is known problem for single page applications? Source: Angular Questions

CORB Error from Angular when redirect to Keycloak

I have an SPA application deployed on Apache side as the static files. I use the apache module mod_auth_openidc as RP to authenticate the users. I use Spring boot as backend API. And I use Keycloak as IDP. During the first authentication the redirection to Keycloak is done correctly and the API calls from the […]

1 2 3 11

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq