Activities of "dmeagor"

  • ABP Framework version: 4.1.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes

Our ABP Angular tiered solution needs to integrate with an older .net framework MVC solution running separately.

This is the old Jwt code we use.

// from owinconfig.cs
public void ConfigureOpenAuth(IAppBuilder app)
{
//
    app.UseJwtBearerAuthentication(
        new JwtBearerAuthenticationOptions
        {
            AuthenticationMode = AuthenticationMode.Active,
            TokenValidationParameters = new TokenValidationParameters()
            {
                ValidAudience = ConfigurationManager.AppSettings["JwtAudience"],
                ValidIssuer = ConfigurationManager.AppSettings["JwtIssuer"],
                IssuerSigningKey = ConfigurationManager.AppSettings["JwtSecurityKey"].ToSymmetricSecurityKey(),
                ValidateLifetime = true,
                ValidateIssuerSigningKey = true
            }
        });
}

//from JwtExtensions.cs
public static class SecurityExtensions
    public static SigningCredentials ToIdentitySigningCredentials(this string jwtSecret)
    {
        var symmetricKey = jwtSecret.ToSymmetricSecurityKey();
        var signingCredentials = new SigningCredentials(symmetricKey, SecurityAlgorithms.HmacSha256);

        return signingCredentials;
    }

    public static SymmetricSecurityKey ToSymmetricSecurityKey(this string jwtSecret)
    {
        return new SymmetricSecurityKey(Encoding.UTF8.GetBytes(jwtSecret));
    }


}

edit: ive figured i need to generate a new rsa cert somehow as its using developer mode which isnt recommended for prod.

from what ive been reading the identityserver4 jwt packages are now incompatible with .net framework.

are you share some example code for processing the Jwt token on .net framework. (currently 4.6.x but can update if needed?). im not interested in the user table stuff, just getting the claims. is there anything in the old abpboilerplate code that might work?

I saw your comment about having different App Services for each endpoint which conserned me slightly as we were planning to have just two containing all of the hosts and load balance between them. I did a quick check and it does seem you can put multiple hosts into one App Service plan.

https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans#should-i-put-an-app-in-a-new-plan-or-an-existing-plan

Not much info about on Identity Service or deploying to Azure.

Answer

@armanozak Thanks, I'll pass that along to the dev.

Answer

@alper

Regarding the suite updating issue above. I'm not entirelly sure what caused it but I can tell you that they were modules not applications. There were two modules, the first updated fine, the second just kept reporting success even though it hadn't done anything. Cli worked ok.

Regarding the Anglar proxy issue, our dev said "It doesn't change the 'apiName' in the generated services. Even though it uses this parameter to generate them". He said it was a minor issue though.

Answer

Issue with hangfire after update from 4.0.2 to 4.1.0

My developer has posted details here also. https://github.com/abpframework/abp/issues/7147

Answer

Multiple errors in the 4.1 suite still.

Updating nuget packages - Suite
  • Upgrading nuget packages from 4.0.2 to 4.1.0 returns a message saying it successfully updated to 4.0.2, which is the old version and nothing gets changed. If I run the abp update from the powershell it works just fine.
New module creation - Suite
  • new modules are added but then because they do not have a "host" section the suite fails to work with them any longer.
  • No way to use crud with new modules
  • source is not added for new modules to parent solution, only the project references so there is no way to run them without manually adding the project source into the solution (since the modules do not have the hosts project.
angular proxy multiple issues reported by my developers.
  • This is just in an early alpha state and needs work.

Looking at your roadmap I think you could do with a period of feature freeze to get things working properly before attempting new features. As far as developing a billing and invoicing system is concerned, you would be absolutely insaine to try and develop something so complex which has to be entirelly bug free since it's dealing with peoples taxes. You can't do a "basic version" as it either compliant or not. That means EU/UK VAT proof of supply regulations, VEIS verification, US sale tax calculations or Taxjar plugins, API sync to accounting software.

Please, slow down!

Answer

Bug: Documentation search (top bar) doesn't return any results for anything.

Answer

Bug 1: abp suite

For modules created inside an application which do not have the host folder, an error appears when opening the module solution

Cannot find the directory C:\Users\xxx\RiderProjects\yyy\Shout\aspnet-core\modules\Shout.Mailer\host

Bug 2:

Abp suite hardcoded to show that modules are installed when they are not (eg blazor identity server UI)

Bug 3: abp commercial module page does not list where blazor is compatable.

Much more testing of the create new module system is needed! Basicially i was trying to find a way to install the Identity Server UI since it appars to be missing for blazor (no warning.) Wondered if I could install the mvc IS UI into a module but got the above errors.

Answer

@yekalkan

Open module .sln file and all the host projects fail to open as they are not created (did you intend to create them.)

They shouldn't exist. But it seems like somehow they are still in solution file. We'll check.

If this is the case then doesn't the module project folders need to be added to the application solution. Otherwise how do you run and test the module? I think they should be added into a "modules" solution folder.

Answer

Another Abp Suite bug.

In Abp Suite, open application. Add new module + check Add to solution

Open module .sln file and all the host projects fail to open as they are not created (did you intend to create them.)

Think I'll wait for 4.1 before I use abp again.

Showing 31 to 40 of 48 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11