#Liege-webhooks

1 messages ยท Page 1 of 1 (latest)

weak crystal
muted rivet
#

I have not, Ill take a look.

weak crystal
#

Sure! So you'd create a webhook which would receive those events and then you can action them

muted rivet
steady mantle
#

Hi ๐Ÿ‘‹ I'm not as familiar with the .NET flows, but it is a possibility.

muted rivet
#

I tried using a previous version of the package but that didn't seem to work.

#

Im looking for solutions online.

steady mantle
#

I'm still seeing functions like UseRouting() being used in new articles (within the last week) in Mircrosoft's docs.

muted rivet
#

Could you send a link so I can see the usings?

steady mantle
#

And like I said, I'm not as familiar with this framework so please let me know if I seem to be overlooking details.

muted rivet
#

What the heck

#

I can't figure this out

steady mantle
#

What's the warning/error that corresponds with the red underlines? Is it that the functions are missing?

muted rivet
steady mantle
#

What version of .NET core are you using?

muted rivet
#

6

steady mantle
#

Hm, I don't think version is the concern then.

muted rivet
#

I can't figure out the issue. Are there any staff members that are familiar with C#?

vapid meadow
#

๐Ÿ‘‹ I'm not a C# expert, but from some quick searching it sounds like you may be on an older version of .NET core (since UseEndpoints wasn't added until 3.0)

#

Let me see if I can find a sample that may work fo ryou

muted rivet
#

Im on .NET 6

#

I just spun up a new project and tried again, I got the same errors.

vapid meadow
#

Let me see what I can find

muted rivet
#

Appriciate it

vapid meadow
#

how are you trying to run this? Are you downloading the sample code and following the README instructions?

muted rivet
#

I copied the Server.cs file and Im following the instructions

vapid meadow
#

Can you try clicking the "Download full app" button and running it from there? My guess is that you're missing something in your csproj file, which is included when you download the full sample

muted rivet
#

Ah!

#

Microsoft.AspNetCore.Mvc.NewtonsoftJson

#

I just had Microsoft.AspNetCore and Microsoft.AspNetCore.Mvc

#

smh

#

Thank you so much lol

#

I really had no clue

vapid meadow
#

So glad that you could get it working! ๐Ÿ™‚