Calling an Epicor Function via C# in an external program

I haven’t caught up to the whole thread but may I suggest you give a look at the EpicorRest NUGET we’ve written which handles all Epicor endpoints including certificate validation and is available for
.NET 4.8
.NET 6
and .NET Standard

It is fully documented and well understood and used in hundreds of projects. It may make your life much easier.

1 Like

Look at @josecgomez pluggin’ his warez, so proud :rofl:

Proud The Karate Kid GIF

But yes, he makes good stuff :slight_smile:

Thanks for chiming in, @josecgomez ! I have my target framework as .NET 7.0, is that considered .NET Standard?

Hey I’m just giving myself more work by having to support it #FreeAsInBeer

1 Like

No that’s the .NET regular version if you change your target to 4.8 you can use it otherwise there are older version available in nuget

Like I said I didn’t read the whole thread so if you are already wel on your way then you do you. But if you are still struggling this may softend the load though I would recommend upgrading to the latest version .NET 4.8

At this point, we’re so deep in, me MUST know!

I agree, I think I went to .NET 7.0 for something else I’m using in the project. I’d rather not rip everything up at this point. BTW, is there some guide as to what the version history is for .NET?

Ok I misunderstood NET 7 as NET 4.7… My brain insn’t working

You can use this one

Targets .NET 6 and would work in NET 7

schroeder dancing GIF
IT WORKS!!! :rofl: :smiling_face_with_tear: :heartbeat: :100:
You guys ARE THE BEST!!!

Which one?

wait which one works? the library? or the other stuff you were half 18/23rds way through troubleshooting lol

I was hoping we were 99%.

Bored Cabin Fever GIF

Everyone else:

Happy Hour Drinking GIF by Saturday Night LiveSeth Meyers Lol GIF by Late Night with Seth Meyers

Kevin’s solution worked! Apparently all I needed was the correct hash value, which was SHA512… @klincecum, THANK YOU for sticking with me and helping me with this project! I COULD NOT HAVE DONE IT without you!

@josecgomez, you’re ALWAYS as TERRIFIC help to me whether addressing a direct issue with me or just your brilliant answers to other questions. I owe BOTH of you a CASE of YOUR FAVORITE BEER!

If either of you are close to the SE Wisconsin area, I would LOVE to meet you guys! How can I buy you that beer?

1 Like

Just pour one out for my homies.

Austin Pour One Out GIF by Pixel Bandits

Now that we know, maybe look into @josecgomez 's program. It can simplify a few things.

He’s in Kenosha. Ask for Spotted Cow. It’s only available in Wisconsin.

When you move to Production (or spin up a new Pilot), will someone remember to update the remoteCertificateHash in the program?

Of course, we know where we can get hash(es) for cheap.

money dealing GIF by Videoland

If I’m coming to Wisconsin, I want cheese instead.

Girl Why Dont We Have Both GIF