Here is previous issue at github :https://github.com/abpframework/abp/issues/857#issuecomment-663996864
How to host XXXX.HttpApi.Host(WebApi) and Angular at same website port:80 ?
In previous version(v3.x) , I install Microsoft.AspNetCore.SpaServices.Extensions and copy angular app( oAuthConfig responseType:password) to wwwroot/app folder can be solved.
But in v4.0 ,AccountModule has been removed and oAuthConfig responseType must be code
, Is there have any suggestion ?
When version at 4.2.0,I can get sourcecode of Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial
by cli.
But after upgrade to new version(4.2.1),Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial
package is gone.
Could you let it back if this package is still working
HI:
I have a question:
When I use FileManagement
module,
for execute DownloadAsync
method in FileDescriptorAppService
it need FileManagement.FileDescriptor
permission,
but I want to let it can be executed without any permission,everyone can use it to download file,
I had already read doc about overriding-a-permission-by-a-custom-policy
but i don't know how to ignore exist policy for a appservice.
Can you tell me how to do? thank you.
aspnet-core\etc\build
and run build-images-locally.ps1
aspnet-core\etc\docker
and fix docker-compose.yml
typo fs-authserver
to identity-server
run-docker.ps1
https://localhost:44353/
and try to login with admin
1q2w3E*
will get error:
log
:2022-11-22 12:23:23 [04:23:23 ERR] An unhandled exception has occurred while executing the request.
2022-11-22 12:23:23 System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'http://fs-identity-server/.well-known/openid-configuration'.
2022-11-22 12:23:23 at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
2022-11-22 12:23:23 at FS.Web.Pages.IndexModel.OnPostLoginAsync() in C:\Works\11111\FS7\aspnet-core\src\FS.Web\Pages\Index.cshtml.cs:line 15
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.NonGenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResourceFilter()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
2022-11-22 12:23:23 at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23 at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2022-11-22 12:23:23 at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2022-11-22 12:23:23 at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23 at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2022-11-22 12:23:23 at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
2022-11-22 12:23:23 at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23 at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
ABP Framework version: v7.3.2
Template Type: Application Template
UI Type: Angular
Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
Tiered (for MVC) or Auth Server Separated (for Angular): yes
Exception message and full stack trace: backgroud svg is missing in production mode
Steps to reproduce the issue: 1.create application though abp suite
2.modify launchSettings.json
in AuthServer project
3.Press F5
to run AuthServer project ,background image is missing
Step 2.Add Abp document
, It's works fine
Step3. Add new Project
(It's private repository
in GitHub), markdown file can pull successfully but image can't display
I'm sure that i already upload img(in github website can see those image) to github and repository is pravite( i can't make my project to be public) here is my image link like below:
![further-remote](../images/further-remote.png)
PS: I know i can host another static web to accese image,but it's seem to be duplicate