only you know
only you know
CC#
Created by only you know on 7/24/2024 in #help
how to make authorization for login
https://paste.mod.gg/upnwgeqptjot/0 here are my whole related codes with auth
3 replies
CC#
Created by only you know on 7/24/2024 in #help
how to make authorization for login
ComponentState owningComponentState)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit 'MRaI1ABm-rp1KLVaCe5MPkhKsLRrO5zCAz5FZHLIDjk'.
System.InvalidOperationException: OnStarting cannot be set because the response has already started.
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ThrowResponseAlreadyStartedException(String value)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.OnStarting(Func`2 callback, Object state)
at CustomAuthenticationStateProvider.MarkUserAsAuthenticated(String username, String role) in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Services/CustomAuthenticationProvider.cs:line 34
at ProtaTestTrack2.Components.Pages.Login.LoginUser() in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Components/Pages/Login.razor:line 40
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at MudBlazor.MudBaseButton.OnClickHandler(MouseEventArgs ev)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
ComponentState owningComponentState)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit 'MRaI1ABm-rp1KLVaCe5MPkhKsLRrO5zCAz5FZHLIDjk'.
System.InvalidOperationException: OnStarting cannot be set because the response has already started.
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ThrowResponseAlreadyStartedException(String value)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.OnStarting(Func`2 callback, Object state)
at CustomAuthenticationStateProvider.MarkUserAsAuthenticated(String username, String role) in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Services/CustomAuthenticationProvider.cs:line 34
at ProtaTestTrack2.Components.Pages.Login.LoginUser() in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Components/Pages/Login.razor:line 40
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at MudBlazor.MudBaseButton.OnClickHandler(MouseEventArgs ev)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
3 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
how do I mark as solved
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
thank you for your help
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
now I changed the port as 8080:8080 for avoid confusion for another users
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
that's how I solve the problem
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
that's right so wasm working in the container so I had to make it 8080 when try to communicate with backend
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
inside the containers front end and backend communicates with 8080. I thought I can make them communicate with 8000 as I use to reach backend with 8000
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
solved it
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
oh I found the problem
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
No description
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
No description
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
same here
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
at the top
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
No description
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
No description
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
uuuuuhh I've found why blazor is not working
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
from container app connects db with 27017 but im connecting mongo compass with 27018 in my pc
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
so it works with 27017
201 replies
CC#
Created by only you know on 7/5/2024 in #help
✅ connecting docker container from localhost
oh they're same
201 replies