πR
πR
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
nvm I found the error. It was because I tried to access JWT Key from appsettings and not env in a sevice.
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
No description
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
alright I will have a look. thanks
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
?
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
but I mean on the github workflow
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
yeah if I run the test locally
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
currently only locally. When I push to github and make a pull requests the github action gets executed.
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
Also is there a way to access this logging file after the github workflow failed?
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
oh I see. Okay then I will just integrate propper logging with a log file. If I configure this in my programm.cs, it should also apply for the test rigth?
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
Probably now what I thought. I mean I work with the terminal everyday, and I thought logging to console would simply print to the terminal where it gets executed...
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
so logging to console is simply not possible in a webapi? I will need to add a log file? and how would I be able to see this log file within the github workflow, when it fails?
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
I just started with this project. I will add logging to a file later. For now I just wanted to find out why this test fail with the github workflow, but work locally. This is why I thought logging to the console would show me the error
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
I mean it was only for testing to find the error with the gh actions. but it still doesn't log anything. How would I do it correctly?
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
No description
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
yeah they are all the same for each of the tests.
32 replies
CC#
Created by πR on 3/2/2025 in #help
Dotnet webapi test failing on GitHub Workflow
The one in the screenshot? Its that the assertion failed, because the endpoint does return 500 InternalServerError, instead of for example 200 OK
32 replies
CC#
Created by πR on 9/28/2024 in #help
Markdown editor without separate preview
Whut? No way
12 replies
CC#
Created by πR on 9/28/2024 in #help
Markdown editor without separate preview
No, thanks that was helpful. I was feeling kinda skeptical bout the project when I noticed that the handling may get quite complex. But I guess it's gonna be okay. Regarding the separation of view and "backend": this is my very first time working with MVVM, but I've worked with MVC pattern before, so this shouldn't be new.
12 replies
CC#
Created by πR on 9/27/2024 in #help
ObeservableProperty onChange is called twice?
Using this, which basically does the same es keyup with a check for enter:
<TextBox Text="{Binding BottomEditorContent, Mode=TwoWay}"
TextWrapping="Wrap"
Background="Chartreuse">
<TextBox.KeyBindings>
<KeyBinding Command="{Binding HandleBottomEditorEnterCommand}" Gesture="Enter" />
</TextBox.KeyBindings>
</TextBox>
<TextBox Text="{Binding BottomEditorContent, Mode=TwoWay}"
TextWrapping="Wrap"
Background="Chartreuse">
<TextBox.KeyBindings>
<KeyBinding Command="{Binding HandleBottomEditorEnterCommand}" Gesture="Enter" />
</TextBox.KeyBindings>
</TextBox>
it now works.
6 replies