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

Activities of "antonis"

Answer

Thanks for your reply. I change it in app.js but I still see that app.min.js is not updated.

Answer

Hi,

I want to change the loader when the app first loads. Take a look at the screenshot to view the loader I need to change [https://1drv.ms/f/s!AmYM9tmN3sk9a0Kz6KVZLdNufhc])

I have tried it but still the same error

Question

I am trying to change the app loader (when the app loads) but I cant find the code. Does anyone know how to do it?

This is the appsettings.json of the Web.Host

"App": {
    "ServerRootAddress": "http://api.mydomain.com/",
    "ClientRootAddress": "http://app.mydomain.com",
    "CorsOrigins": "http://app.mydomain.com"
},

and the appconfig.json in angular 2 { "remoteServiceBaseUrl": "http://api.mydomain.com", "appBaseUrl": "http://app.mydomain.com" }

OPTIONS <a class="postlink" href="http://api.myserver.com/AbpUserConfiguration/GetAll">http://api.myserver.com/AbpUserConfiguration/GetAll</a> 502 (Bad Gateway) e @ polyfills.2b2feaf….bundle.js:36 t.scheduleTask @ polyfills.2b2feaf….bundle.js:43 onScheduleTask @ polyfills.2b2feaf….bundle.js:43 t.scheduleTask @ polyfills.2b2feaf….bundle.js:43 n.scheduleTask @ polyfills.2b2feaf….bundle.js:43 n.scheduleMacroTask @ polyfills.2b2feaf….bundle.js:43 (anonymous) @ polyfills.2b2feaf….bundle.js:36 send @ VM1782:3 send @ VM1785:4 ajax @ VM1785:4 a.ajax @ VM1786:2 (anonymous) @ VM1815:20 a.Deferred @ VM1786:2 abp.ajax @ VM1815:19 t.getUserConfiguration @ main.7700ca7….bundle.js:1 (anonymous) @ main.7700ca7….bundle.js:1 (anonymous) @ main.7700ca7….bundle.js:1 i @ VM1785:2 fireWith @ VM1785:2 f.(anonymous function) @ VM1785:2 (anonymous) @ VM1815:25 i @ VM1785:2 fireWith @ VM1785:2 A @ VM1785:4 (anonymous) @ VM1785:4 u @ polyfills.2b2feaf….bundle.js:8 t.invokeTask @ polyfills.2b2feaf….bundle.js:43 onInvokeTask @ vendor.8fd772e….bundle.js:371 t.invokeTask @ polyfills.2b2feaf….bundle.js:43 n.runTask @ polyfills.2b2feaf….bundle.js:43 invoke @ polyfills.2b2feaf….bundle.js:43

client.myserver.com/:1 XMLHttpRequest cannot load <a class="postlink" href="http://api.myserver.com/AbpUserConfiguration/GetAll">http://api.myserver.com/AbpUserConfiguration/GetAll</a>. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://client.myserver.com' is therefore not allowed access. The response had HTTP status code 502.

I did. Still the same problem. Sometimes I restart Visual Studio and it works sometime it doesn't

Removing npm-shrinkwrap.json will have any effects? I mean what is the actual reason you added this file

Thanks

Hi,

In package.json I write:

"primeng": "4.0.0"

and then fireup npm install

Hi,

After upgrading to v.4.0 Asp.net core with angular 2 any packages that I add to package.json are not installed. An example is primeng: "4.0.0". The only packages that are installed are the ones that come with aspnetzero. Any other package that I add afterwards is not being installed

Thanks

Showing 181 to 190 of 202 entries