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

Activities of "fguo"

Sudenly, I got an exception as following for my verion 6 (both of 6.1.0 and 6.2.1). It was running good yesterday.

Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException HResult=0x80131500 Message=IDX10223: Lifetime validation failed. The token is expired. ValidTo: '[PII is hidden by default. Set the 'ShowPII' flag in IdentityModelEventSource.cs to true to reveal it.]', Current time: '[PII is hidden by default. Set the 'ShowPII' flag in IdentityModelEventSource.cs to true to reveal it.]'. Source=Microsoft.IdentityModel.Tokens StackTrace: at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable1 notBefore, Nullable1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable1 notBefore, Nullable1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at SNet.Web.Authentication.JwtBearer.SNetJwtSecurityTokenHandler.ValidateToken(String securityToken, TokenValidationParameters validationParameters, SecurityToken& validatedToken) in C:\dev\SNet\aspnet-core\src\SNet.Web.Core\Authentication\JwtBearer\SNetJwtSecurityTokenHandler.cs:line 36 at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.<HandleAuthenticateAsync>d__6.MoveNext()

Please advise.

I am trying v6.2.1. After "yarn" on angular folder, while running "npm start", I got error:

91% additional asset processing scripts-webpack-plugin× 「wdm」: Error: ENOENT: no such file or directory, open '...\angular\src\assets\metronic\assets\vendors\base\vendors.bundle.js'

Is it a bug?

Thanks,

Question

I tried to search something on old Forum site, but got message of "Forum locked". I reach this site by "Support" link on the new home site.

I realized some old advanced features are not available here. For now, I need to search with a forum number (e.g. #27521), but it returns nothing. It was very helpful on the old Forum site, when I met a similar issues and tried to recall the solutions.

Is it possible to get that back on the new "support" screen?

Thanks,

I updated to “ASP.NET Core & Angular” v6.1.0, and trying it on development envirement. The core and Angular parts work fine, but the Public site seems something wrong.

I set both "web.Host" and "web.public" as startup projects. When I start the solution with chrome, the public site screen is ugly, looks like some themes or style sheets are not loaded. I click the "Login" on screen. it redirect me to localhost:4200. After I login with my own credential, it redirects me back to localhost:45776 showing my username on screen, which is correct, but the screen is frozed there.

I tried to start with microsoft edge. The public site screen is still ugly, This time I can't login with my own credential. I tried to use the built-in (admin/123qwe), it then asked me to change password.

Is it something wrong in your code, or on my side? Please advise.

Thanks,

I noticed new 5.6 version released. Where do I get the detail instruction(code snip, configuration options, and so on) about the new features? Especially for OpenId, which I like to test it now.

Thanks,

I am using Angular+Core v5. I need to provide an API which is called from other program (instead of real person). For caller authentication, I need to provide a static "Authorization Token" which is never expired. I wonder what is the best way to do it in ASPNETZero. Can you give me an example?

Thanks,

I need to transfer hundreds user info from another application to AbpUsers table to avoid manually enter them in admin interface. I am going to map the columns, such as:

insert into AbpUsers (AccessFailedCount, CreationTime, EmailAddress, UserName) select 0, getdate(), email, login from TableOnAnotherApp

Is it possible? What is the best practice in this scenario?

I am concerning the column "Password", which is "not null" and must be a token. Can I just make up it as a plan string?

For the ConcurrencyStamp and SecurityStamp columns, can I just leave it as null?

Thanks,

I am using Core+Angular version. While I deploy the Angular part onto IIS server, I find its folder permission must be assigned to the local user (e.g. MyServer\users). Otherwise, it returns 401 unauthorized error. I've tried to add same permissions to group of IIS_IUSRS and IIS APPPOOL group, but no help.

I don't want any local user to access that folder. That is why I need to remove MyServer\users group from the permission list. This way works on my other applications on same IIS.

Do you have any idea why AspNetZero Angular site needs a local users permissions on IIS?

Thanks,

I am using Core+Angla v5.0.4. Just now, after updating my VS2017 to version 15.6.6 and reopen VS, many projects disappeared, and many build-errors pupup. Most errors like:

Error NU1105 Unable to find project information for 'C:\MyPrj\aspnet-core\src\MyPrj.Web.Core\MyPrj.Web.Core.csproj'. The project file may be invalid or missing targets required for restore. MyPrj.Web.Host C:\MyPrj\aspnet-core\src\MyPrj.Web.Host\MyPrj.Web.Host.csproj

and

Error CS0012 The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.2.5.0, Culture=neutral, PublicKeyToken=null'. SNet.Web.Host C:\MyPrj\aspnet-core\srcMyPrj.Web.Host\Controllers\AntiForgeryController.cs

Do you have any idea about restoring?

Thanks,

I am trying Core+Angular v5.2.0. While running in public mode (Web.Host and Web.Public start together), I can't change Tenant for login. After I enter the tenant name "Default" on the "Change Tenant" window, it cannot be saved and the popup window cannot be closed. The only way to close this window is clicking the Cancel button or leaving blank on the tenant name box.

Is it a bug or did I miss some thing?

Thanks,

Showing 21 to 30 of 76 entries