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

Activities of "admin@SYNTAQ"

Hi,

Am getting :22742/AbpUserConfiguration/GetAll?d=1592719246547:1 Failed to load resource: net::ERR_CONNECTION_REFUSED on going to localhost:4200 when starting up.

The back end is running at http://localhost:55314/ and I can navigate swagger etc

If I change the url to http://localhost:55314/AbpUserConfiguration/GetAll?d=1592767829512 I get a response. So I guess the question is why is the port being changed to 22742? I cannot find this in any configuration file anywhere.

I am running Angular .Net core. Below is the dev console stack.

scheduleTask	@	zone.js:3324

push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:407 onScheduleTask @ zone.js:294 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:400 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:231 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMacroTask @ zone.js:254 scheduleMacroTaskWithCurrentZone @ zone.js:1183 (anonymous) @ zone.js:3357 proto.<computed> @ zone.js:1501 push../src/shared/helpers/XmlHttpRequestHelper.ts.XmlHttpRequestHelper.ajax @ XmlHttpRequestHelper.ts:29 push../src/AppPreBootstrap.ts.AppPreBootstrap.getUserConfiguration @ AppPreBootstrap.ts:146 (anonymous) @ AppPreBootstrap.ts:36 (anonymous) @ AppPreBootstrap.ts:69 xhr.onreadystatechange @ XmlHttpRequestHelper.ts:9 wrapFn @ zone.js:1270 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:421 onInvokeTask @ core.js:26247 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:420 push../node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:188 push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask @ zone.js:503 invokeTask @ zone.js:1671 globalZoneAwareCallback @ zone.js:1697 XMLHttpRequest.send (async) scheduleTask @ zone.js:3324 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:407 onScheduleTask @ zone.js:294 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:400 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:231 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMacroTask @ zone.js:254 scheduleMacroTaskWithCurrentZone @ zone.js:1183 (anonymous) @ zone.js:3357 proto.<computed> @ zone.js:1501 push../src/shared/helpers/XmlHttpRequestHelper.ts.XmlHttpRequestHelper.ajax @ XmlHttpRequestHelper.ts:29 push../src/AppPreBootstrap.ts.AppPreBootstrap.getApplicationConfig @ AppPreBootstrap.ts:53 push../src/AppPreBootstrap.ts.AppPreBootstrap.run @ AppPreBootstrap.ts:17 (anonymous) @ root.module.ts:48 ZoneAwarePromise @ zone.js:913 (anonymous) @ root.module.ts:44 push../node_modules/@angular/core/fesm5/core.js.ApplicationInitStatus.runInitializers @ core.js:25548 (anonymous) @ core.js:26762 _callAndReportToErrorHandler @ core.js:26855 (anonymous) @ core.js:26760 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:386 onInvoke @ core.js:26256 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:385 push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:143 push../node_modules/@angular/core/fesm5/core.js.NgZone.run @ core.js:26170 push../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModuleFactory @ core.js:26746 (anonymous) @ core.js:26791 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:386 push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:143 (anonymous) @ zone.js:891 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:421 push../node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:188 drainMicroTaskQueue @ zone.js:601 Promise.then (async) scheduleMicroTask @ zone.js:584 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:410 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:231 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:251 scheduleResolveOrReject @ zone.js:881 ZoneAwarePromise.then @ zone.js:1027 setDriver @ localforage.js:2734 LocalForage @ localforage.js:2523 4.3 @ localforage.js:2796 s @ localforage.js:7 e @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:7 ./node_modules/localforage/dist/localforage.js @ localforage.js:7 webpack_require @ bootstrap:83 ./src/root.module.ts @ root.component.ts:7 webpack_require @ bootstrap:83 ./src/main.ts @ hmr.ts:15 webpack_require @ bootstrap:83 0 @ password-complexity-…tor.directive.ts:10 webpack_require @ bootstrap:83 checkDeferredModules @ bootstrap:44 webpackJsonpCallback @ bootstrap:31 (anonymous) @ main.js:1

We have recently upgraded to 8.8 (MVC .net core 3.3 Jquery). The app will not run. Below are links to the Error messages. Can you help? we have been at this for a couple of days and are not sure where to go.

We had no previous problems running 7.1 .net core in the same environment.

Error Logs

Thanks

Question

Hi,

Do you have any guides on incorporating javascript libraries into the angular version of aspnetzero?

Cheers

Hi,

We have successfully configured OpenId Connect using Azure B2C. Wehad the same issues as described in this post https://support.aspnetzero.com/QA/Questions/7422.

The question I have is how to make this work in the multi tenanted environment. Each tenant will have their own B2C directory. Can you provide direction on this?

Cheers

Question

hi,

Any pointers on the steps to implement KTWizard in the Angular Version. I have found the wizard.js in the assets but am unclear on the next steps.

Cheers

Hi,

I have added custom authorization policies to the startup.cs. They work for the MVC controllers but not the API controllers. Where SHould I configure these so that they work for both?

Ver 8.1 Angular .Net Core

        services.AddAuthorization(options =>
        {
            options.AddPolicy("ViewById", policy => policy.Requirements.Add(new SyntaqAuthorizationRequirement("View", "Id")));
            options.AddPolicy("EditById", policy => policy.Requirements.Add(new SyntaqAuthorizationRequirement("Edit", "Id")));
            options.AddPolicy("DeleteById", policy => policy.Requirements.Add(new SyntaqAuthorizationRequirement("Delete", "Id")));

            options.AddPolicy("ViewByOriginalId", policy => policy.Requirements.Add(new SyntaqAuthorizationRequirement("View", "IdOriginal")));
            options.AddPolicy("EditByOriginalId", policy => policy.Requirements.Add(new SyntaqAuthorizationRequirement("Edit", "IdOriginal")));
            options.AddPolicy("DeleteByOriginalId", policy => policy.Requirements.Add(new SyntaqAuthorizationRequirement("Delete", "IdOriginal")));

        });

Thanks

Cheers

Can you provide any guidance on integration with Azure Active Directory B2C https://docs.microsoft.com/en-us/azure/active-directory-b2c/overview and AspNetZero.

I understand you will not havea solution out of the bag but some pointers could save many hours.

Thanks

https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Mvc-Core-Social-Logins

Do you have more information or guides on setting up Azure AD.

Namely the

"Authority": "", "ClientId": "", "ClientSecret": "",

Hi,

On reading you documentation I understand that the AD integration is intended for single tenancy model. However one of our tenants requires AD integration, in our model we do not have the option of deploying a dedicated single tenant implementaion just for this client.

There is an existing artcle on your support site that mentions "By default, you can use LDAP is single tenant mode but it is possible to use it multi-tenant mode if you would like to by changing a few lines of code." Article

Can you provide some information on what these lines of code are. And in general how to approach our use case?

Thanks,

Is there an existing library in ASPNETZero for viewing filetypes such as Pdfs or word Documents in browser, or can you recommend a library that might do this?

Also, is there a library to view images in a gallery or similar?

Thanks

Showing 21 to 30 of 31 entries