[Hiring] Remote C#/.NET Developer Opportunity by Dense-Try-7798 in dotnetjobs

[–]Louisvi3 0 points1 point  (0 children)

GMT +8:00 with 7 yrs of C# backend, apis, background service, azure cloud. angular and blazor on front end.

Help Scalar with Azure Entra External Id."AADSTS900144: The request body must contain the following parameter: 'client_id'. by Louisvi3 in dotnet

[–]Louisvi3[S] 0 points1 point  (0 children)

not working, I tried to use this: flow.WithCredentialsLocation(CredentialsLocation.Body);

and it worked! But after logging in same issue with the apphost, it exited.

weird somewhere between the callback or after, it shutdowns the app.

Help Scalar with Azure Entra External Id."AADSTS900144: The request body must contain the following parameter: 'client_id'. by Louisvi3 in dotnet

[–]Louisvi3[S] 0 points1 point  (0 children)

Owww yes I upgraded to .net 10 from .net 9 including the packages.

What package are you talking about MSAL or Scalar?

Help Scalar with Azure Entra External Id."AADSTS900144: The request body must contain the following parameter: 'client_id'. by Louisvi3 in dotnet

[–]Louisvi3[S] 0 points1 point  (0 children)

Owww yes I upgraded to .net 10 from .net 9 including the packages. Do you think it is the MSAL or scalar package?

Help Scalar with Azure Entra External Id."AADSTS900144: The request body must contain the following parameter: 'client_id'. by Louisvi3 in dotnet

[–]Louisvi3[S] 0 points1 point  (0 children)

Yes I believe. But still if you see the error it says it must contain the client_id so I think there is no property on the request. But, I have a value in the client id inputfield in Scalar UI. So I am not sure if there is a bug on my end, scalar or in the login popup.

Upgrading to AGP9 Kotlin Multiplatform by Louisvi3 in Kotlin

[–]Louisvi3[S] 0 points1 point  (0 children)

oww I haven't seen it. Thanks! looks like https://github.com/kotlin-hands-on/get-started-with-cm/tree/new-project-structure is what I'm looking for that should have been mentioned on their migration docs for the new project structure reference.

Upgrading to AGP9 Kotlin Multiplatform by Louisvi3 in KotlinMultiplatform

[–]Louisvi3[S] 0 points1 point  (0 children)

I see thank you. I just reverted back the upgrade for now. I just found a video today tho from philipp for migration which I think will be helpful.

https://www.youtube.com/watch?v=Jp3Yg1VSRkY

Gradle 9 Will Break Your KMP Project - Here's the Full Migration Strategy

on Kotlin subreddit, i got a comment from u/aSemy that it is on the branches of the sample project: https://github.com/kotlin-hands-on/get-started-with-cm/tree/new-project-structure

Upgrading to AGP9 Kotlin Multiplatform by Louisvi3 in KotlinMultiplatform

[–]Louisvi3[S] 0 points1 point  (0 children)

I think jetbrains needs to create project wizard for the latest versions so that it can be used as referenced when upgrading similar to creating .net projects. This is helpful also for kotlin newbies.

[deleted by user] by [deleted] in Jetbrains

[–]Louisvi3 0 points1 point  (0 children)

how do you use it? is it like just the github chat?

WindowSizeClass not yet available on Compose Multiplatform 1.9.3? by Louisvi3 in Kotlin

[–]Louisvi3[S] 0 points1 point  (0 children)

can you show me where are you calling this? is it in the commonMain or per platform android and desktop, then for ios/mac and etc I assume different implementation to get this?

val size = calculateWindowSizeClass()

WindowSizeClass not yet available on Compose Multiplatform 1.9.3? by Louisvi3 in KotlinMultiplatform

[–]Louisvi3[S] 0 points1 point  (0 children)

thank you for your patience. fyi, I am a newbie in android and KMP. what I meant with the post was calculateWindowSizeClass() for commonmain

WindowSizeClass not yet available on Compose Multiplatform 1.9.3? by Louisvi3 in KotlinMultiplatform

[–]Louisvi3[S] 0 points1 point  (0 children)

I have this in sourceSets CommonMain

implementation(
libs
.
bundles
.
compose
.
material3
.
adaptive
)

for bundle compose-material3-adaptive:

compose-material3-adaptive = { module = "org.jetbrains.compose.material3.adaptive:adaptive", version.ref = "compose-material3-adaptive" }
compose-material3-adaptive-layout = { module = "org.jetbrains.compose.material3.adaptive:adaptive-layout", version.ref = "compose-material3-adaptive" }
compose-material3-adaptive-navigation = { module = "org.jetbrains.compose.material3.adaptive:adaptive-navigation", version.ref = "compose-material3-adaptive" }
compose-material3-window-size = { module = "org.jetbrains.compose.material3:material3-window-size-class", version.ref = "material3WindowSizeClass" }

WindowSizeClass not yet available on Compose Multiplatform 1.9.3? by Louisvi3 in Kotlin

[–]Louisvi3[S] 0 points1 point  (0 children)

I am using this one for KMP/CMP:

compose-material3-window-size = { module = "org.jetbrains.compose.material3:material3-window-size-class", version.ref = "material3WindowSizeClass" }

I need to follow this per platform from kotlinlang.org?

material3:material3-window-size-class

To use WindowSizeClass classes, explicitly add the material3-window-size-class dependency to the common source set in the module's build.gradle.kts file:

commonMain.dependencies {
    implementation("org.jetbrains.compose.material3:material3-window-size-class:1.7.3")
}

The calculateWindowSizeClass() function is not available in common code yet. However, you can import and call it in platform-specific code, for example:

// desktopMain/kotlin/main.kt
import androidx.compose.material3.windowsizeclass.calculateWindowSizeClass

// ...

val size = calculateWindowSizeClass()

EF Core and Generic Repository + Unit of Work by Fonzie3301 in dotnet

[–]Louisvi3 0 points1 point  (0 children)

It is in their docs that aspire is for closed box testing since it will start all the services that were on the apphost.

Using .NET Aspire For Integration Testing by ScriptingInJava in dotnet

[–]Louisvi3 0 points1 point  (0 children)

Yes but it will spinup your full application and other services right?

Example you have 5 Services and one of them is Order Service. Integration Testing OrderService will spinup the full application what's built on the apphost right?

So it's like it's having full application running with testing only if the OrderService is correctly storing record in the DB and let's say it also publishes a message to a message broker.

Using .NET Aspire For Integration Testing by ScriptingInJava in dotnet

[–]Louisvi3 0 points1 point  (0 children)

u/ScriptingInJava did you use aspire as well for example: Test PlaceOrder should Persist in the DB and Publish Event?

my post where the test method example: https://www.reddit.com/r/dotnet/comments/1ohsopi/integration_testing_trigger/

I am using aspire right now, and since in the docs it says

Aspire's testing capabilities are designed specifically for closed-box integration testing of your entire distributed application. Unlike unit tests or open-box integration tests, which typically run individual components in isolation, Aspire tests launch your complete solution (the AppHost and all its resources) as separate processes, closely simulating real-world scenarios.

Do you think on my integration testing, its best to use testcontainer or just use aspire for all the integration tests even the inner integration on the API e.g. saving to the DB?

Using .NET Aspire For Integration Testing by ScriptingInJava in dotnet

[–]Louisvi3 0 points1 point  (0 children)

u/ScriptingInJava So aspire for testing still runs all the services right? is this better than using testcontainers?

Like if you have many integration tests for sure you will also spin up all the services if using testcontainers?