Base solution for your next web application

Activities of "gryphon644"

Hi,

I deployed my Web. Host on Azure but trying to work with the AngularUI locally but I'm getting this Cors policy error!

I've commented the Cors service declaration on my Startup.cs and ** // app.UseCors(DefaultCorsPolicyName); //Enable CORS!**

but it's still not allowing me to run the UI locally.

I would appreciate any help. Thanks

Hey guys I'm facing this issue after running a fresh version of aspnetzero angular.

Could you guys help, please

Update:

This is what my logs say

at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, JwtSecurityToken outerToken, TokenValidationParameters validationParameters, SecurityToken& signatureValidatedToken) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at a365.Web.Authentication.JwtBearer.a365AsyncJwtSecurityTokenHandler.ValidateToken(String securityToken, TokenValidationParameters validationParameters) in Web.Core\Authentication\JwtBearer\a365AsyncJwtSecurityTokenHandler.cs:line 42 at a365.Web.Authentication.JwtBearer.a365AsyncJwtBearerHandler.HandleAuthenticateAsync() in Web.Core\Authentication\JwtBearer\a365AsyncJwtBearerHandler.cs:line 141 INFO 2024-04-23 21:51:31,258 [orker] tion.JwtBearer.a365AsyncJwtBearerHandler - Bearer was not authenticated. Failure message: One or more errors occurred. (IDX10225: Lifetime validation failed. The token is missing an Expiration Time. Tokentype: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.) (IDX10225: Lifetime validation failed. The token is missing an Expiration Time. Tokentype: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.)

Question

Hi, I'm facing an issue while integrating Elsa following the blog tutorial https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Core-Mvc-Elsa-Integration Issue : .UseEntityFrameworkPersistence and .UseAutoMapper are not being resolved even though I installed all the needed nuggets.

I've looked around but still can't find the reason.

Would Appreciate any help

Hello there, I'm trying to implement a Dropzone UI but I keep seeing this error on my console about DropZone not being defined Here is my jquery code!

I would appreciate it if anyone could help, please.

$(document).ready(function () { Dropzone.autoDiscover = false; $("#kt_dropzonejs_example_1").dropzone({ url: "/App/Lists/UploadDocument/", uploadMultiple: false, paramName: "file", parallelUploads: 1, maxFiles: 1, headers: { "X-XSRF-TOKEN": abp.security.antiForgery.getToken() }, success: function (file, response) { $('#form').append(''); } }); });

Question

Hi,

When should we expect support for .NET 8?

Hi there, What would be the Consts if I was to switch the UI on my project from Metronic to Velzon (Angular)?

Hi I'm trying to update to update service-proxies.ts by running ./angular/nswag/refresh.bat but this issue shows up

I'm working with the last version of ASP.NET Core Angular.

Can somebody help please?

Hello, i've used the RAD tool to generate a new entity (Group.json)

here is my Json file

{
    "IsRegenerate": false,
    "MenuPosition": "main",
    "RelativeNamespace": "Groups",
    "EntityName": "Group",
    "EntityNamePlural": "Groups",
    "TableName": "Groups",
    "PrimaryKeyType": "int",
    "BaseClass": "Entity",
    "EntityHistory": false,
    "AutoMigration": false,
    "UpdateDatabase": false,
    "CreateUserInterface": true,
    "CreateViewOnly": true,
    "CreateExcelExport": true,
    "PagePermission": {
        "Host": true,
        "Tenant": true
    },
    "Properties": [{
            "Name": "GroupName",
            "Type": "string",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": true,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        },
        {
            "Name": "GroupeType",
            "Type": "grouptype",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": false,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        },
        {
            "Name": "ServicingAgent",
            "Type": "string",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": false,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        },
        {
            "Name": "FedTaxID",
            "Type": "string",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": false,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        }
    ],
    "NavigationProperties": [{
        "Namespace": "A365.Authorization.Users",
        "ForeignEntityName": "User",
        "IdType": "long",
        "IsNullable": true,
        "PropertyName": "UserId",
        "DisplayPropertyName": "Name",
        "DuplicationNumber": 0,
        "RelationType": "single"
    }],
    "EnumDefinitions": [{
        "Name": "grouptype",
        "Namespace": "A365",
        "EnumProperties": [{
                "Name": "Prospect",
                "Value": 1
            },
            {
                "Name": "Client",
                "Value": 2
            },
            {
                "Name": "X-Client",
                "Value": 3
            },
            {
                "Name": "X-Prospect",
                "Value": 4
            },
            {
                "Name": "Agency",
                "Value": 5
            }
        ]
    }]
}

The Generation went well then i tried to run my Web.Host project but VS showed this issue! From what i've seen, the code doesn't see the enum (GroupType) and i wonder why? Can anybody help please?

Hello, I'm using Mac OSX and following this doc https://docs.aspnetzero.com/documents/aspnet-core-angular/latest/Getting-Started-MacOSX to run the application on my mac but facing this issue when i run 'dotnet ef database update'. Can you help me figure out whats really wrong?

Showing 1 to 9 of 9 entries