Base solution for your next web application

Activities of "optixdev"

** Also its a BLANK screen not black**

This is the error from console:

Access to XMLHttpRequest at 'https://optix-app.azurewebsites.net//AbpUserConfiguration/GetAll?d=1580714316585' from origin 'http://optix-app.azurewebsites.net' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. //AbpUserConfiguration/GetAll?d=1580714316585:1 Failed to load resource: net::ERR_FAILED

Hi christianharo, how did you solve this issue as I am facing the same problem.

Hi I am using the seprate solutions (Angular + Web Host)

On Azure WebHost is working fine I can able to access the Swagger but there is a problem with Angular. I tried to fix the CORS, but now I am getting this error:

main.2ad1e9e0e64faafe47b6.js:1 ERROR SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse ()

at XMLHttpRequest.o.onreadystatechange [as _zone_symbol__ON_PROPERTYreadystatechange] (main.2ad1e9e0e64faafe47b6.js:1) at XMLHttpRequest. (polyfills.ff5db258a5fdbd0d317c.js:1) at t.invokeTask (polyfills.ff5db258a5fdbd0d317c.js:1) at Object.onInvokeTask (main.2ad1e9e0e64faafe47b6.js:1) at t.invokeTask (polyfills.ff5db258a5fdbd0d317c.js:1) at e.runTask (polyfills.ff5db258a5fdbd0d317c.js:1) at e.invokeTask [as invoke] (polyfills.ff5db258a5fdbd0d317c.js:1) at p (polyfills.ff5db258a5fdbd0d317c.js:1) at XMLHttpRequest.h (polyfills.ff5db258a5fdbd0d317c.js:1) Ei @ main.2ad1e9e0e64faafe47b6.js:1 e.handleError @ main.2ad1e9e0e64faafe47b6.js:1 next @ main.2ad1e9e0e64faafe47b6.js:1 o @ main.2ad1e9e0e64faafe47b6.js:1 t.__tryOrUnsub @ main.2ad1e9e0e64faafe47b6.js:1 t.next @ main.2ad1e9e0e64faafe47b6.js:1 t._next @ main.2ad1e9e0e64faafe47b6.js:1 t.next @ main.2ad1e9e0e64faafe47b6.js:1 t.next @ main.2ad1e9e0e64faafe47b6.js:1 t.emit @ main.2ad1e9e0e64faafe47b6.js:1 (anonymous) @ main.2ad1e9e0e64faafe47b6.js:1 t.invoke @ polyfills.ff5db258a5fdbd0d317c.js:1 e.run @ polyfills.ff5db258a5fdbd0d317c.js:1 e.runOutsideAngular @ main.2ad1e9e0e64faafe47b6.js:1 onHandleError @ main.2ad1e9e0e64faafe47b6.js:1 t.handleError @ polyfills.ff5db258a5fdbd0d317c.js:1 e.runTask @ polyfills.ff5db258a5fdbd0d317c.js:1 e.invokeTask @ polyfills.ff5db258a5fdbd0d317c.js:1 p @ polyfills.ff5db258a5fdbd0d317c.js:1 h @ polyfills.ff5db258a5fdbd0d317c.js:1 XMLHttpRequest.send (async) _ @ polyfills.ff5db258a5fdbd0d317c.js:1 t.scheduleTask @ polyfills.ff5db258a5fdbd0d317c.js:1 onScheduleTask @ polyfills.ff5db258a5fdbd0d317c.js:1 t.scheduleTask @ polyfills.ff5db258a5fdbd0d317c.js:1 e.scheduleTask @ polyfills.ff5db258a5fdbd0d317c.js:1 e.scheduleMacroTask @ polyfills.ff5db258a5fdbd0d317c.js:1 f @ polyfills.ff5db258a5fdbd0d317c.js:1 (anonymous) @ polyfills.ff5db258a5fdbd0d317c.js:1 I.i. @ polyfills.ff5db258a5fdbd0d317c.js:1

e.ajax @ main.2ad1e9e0e64faafe47b6.js:1 e.getApplicationConfig @ main.2ad1e9e0e64faafe47b6.js:1 e.run @ main.2ad1e9e0e64faafe47b6.js:1 (anonymous) @ main.2ad1e9e0e64faafe47b6.js:1 t @ polyfills.ff5db258a5fdbd0d317c.js:1 (anonymous) @ main.2ad1e9e0e64faafe47b6.js:1 e.runInitializers @ main.2ad1e9e0e64faafe47b6.js:1 (anonymous) @ main.2ad1e9e0e64faafe47b6.js:1 (anonymous) @ main.2ad1e9e0e64faafe47b6.js:1 t.invoke @ polyfills.ff5db258a5fdbd0d317c.js:1 onInvoke @ main.2ad1e9e0e64faafe47b6.js:1 t.invoke @ polyfills.ff5db258a5fdbd0d317c.js:1 e.run @ polyfills.ff5db258a5fdbd0d317c.js:1 e.run @ main.2ad1e9e0e64faafe47b6.js:1 e.bootstrapModuleFactory @ main.2ad1e9e0e64faafe47b6.js:1 dC @ main.2ad1e9e0e64faafe47b6.js:1 zUnb @ main.2ad1e9e0e64faafe47b6.js:1 r @ runtime.d7b1c525c116f4100b99.js:1 0 @ main.2ad1e9e0e64faafe47b6.js:1 r @ runtime.d7b1c525c116f4100b99.js:1 f @ runtime.d7b1c525c116f4100b99.js:1 c @ runtime.d7b1c525c116f4100b99.js:1 (anonymous) @ main.2ad1e9e0e64faafe47b6.js:1 Show 22 more frames

I think its the same problem, but I dont know the solution - https://support.aspnetzero.com/QA/Questions/8429

Christainharo - Thanks for the reply.

I am still facing the same issue, can you please share/copy the appconfig.json file her?

Thanks ODev

christianharo... Is this server copy or localhost?

Its running fine locally but its not working on Azure

Hi

Its latest version of Aspnetzero core

(its Angular + .Net Core) seperate solution hosted on Azure (Storage) and Azure (Webapp).

NO these are not direct tabs -- Dashboard and Demo UI Components are such menus,

Can you please help me for this -- Also, how menu can works as a single item (tab - on click it should be navigate) because i am having only one item and it showing it as a child item (so I have to click it twice to navigate page).

(Angular + .Net Core) In this picture I just have only one item in Menu (Tenants), but its showing as two item as one child item.

I just want one item i.e number 1 not number 2. On click of number 1 it should navigate the pages.

Thanks

Showing 1 to 10 of 33 entries