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

Activities of "BobIngham"

Yep, I agree. Where's the documentation for Twilio?

Hi Aaron, thanks for helping. The value of changeSet.id is 0 at that point.

Hi Aaron, changeSet.Id = null;

Cannot convert to 'long' because it is a non-nullable value type

Thanks, Aaron, sorry I've not got back to you. I will take a closer look at this over the weekend.

Any thoughts, @ismcagdas - this is becoming important for me. I tried removing jquery blockUI but that made things even worse! Here is the answer from Telerik:

In general, the error '$.blockUI is not a function' indicates that this might be related to jQuery library that is not imported as required.

We have previously had this problem with Angular applications. The following steps helped resolving the issue :

  1. Install jQuery with the script : npm install --save jquery

  2. Import jQuery globally for the application : //in app.module.ts import * as $ from 'jquery';

Hopefully, the approach would work also for you.

I believe the Zero implementation iof jquery differs from this and I don't want to run "npm install --save jquery" because i believe we already have it in the system. I have tried the "import * as $ from 'jquery';" in both my app.module and my lazy-loaded, nuagecare.module but the same error persists. This is down at a level where I confess I'm not particularly good with. Any suggestions for me to try next?

Hi @ismcagdas, Yes I do. "node_modules/block-ui/jquery.blockUI.js" What is your thinking here?

any ideas, @aaron?

Hi @maliming. Thanks for all the help. The documentation is a little unclear in that it does not specifically mention that appconfig.json should be changed in angular:

{
  "remoteServiceBaseUrl": "https://{TENANCY_NAME}.projectname.api",
  "appBaseUrl": "https://{TENANCY_NAME}.projectname.ui"
}

and appsettings.production.json in .NET core:

"App": {
        "ServerRootAddress": "https://{TENANCY_NAME}.projectname.api/",
        "ClientRootAddress": "https://{TENANCY_NAME}.projectname.ui/",
        "CorsOrigins": "https://{TENANCY_NAME}.projectname.ui/"
    },

I will leave this here on the off-chance that it may help someone else. Thanks again, @maliming.

@maliming, Brilliant, I feel we're going in the right direction. In Nuagecare.Web.Host\Startup\NuagecareWebHostModule.cs, method PreInitialize() I have:

public override void PreInitialize()
{
    Configuration.Modules.AbpWebCommon().MultiTenancy.DomainFormat = _appConfiguration["App:ServerRootAddress"] ?? "http://localhost:22742/";
    Configuration.Modules.AspNetZero().LicenseCode = _appConfiguration["AbpZeroLicenseCode"];
}

In my appsettings.production.json:

"App": {
    "ServerRootAddress": "https://projectname.api/",
    "ClientRootAddress": "https://projectname.ui/",
    "CorsOrigins": "https://projectname.ui/"
},

I just know I'm going to feel really stupid when you tell me to change these values to:

"App": {
    "ServerRootAddress": "https://{TENANCY_NAME}.projectname.api/",
    "ClientRootAddress": "https://{TENANCY_NAME}.projectname.ui/",
    "CorsOrigins": "https://{TENANCY_NAME}.projectname.ui/"
},

Is that where the problem lies?

@maliming, if my understanding is correct the user navigates to the sub-domain and the first thing the browser does is to request the page from the server. Where in the .net code does it read the url to ascertain the tenant and set the session?

Showing 321 to 330 of 477 entries