#pants-cli-windows-error

1 messages · Page 1 of 1 (latest)

empty birchBOT
radiant ivy
#

WebHost.CreateDefaultBuilder(args)
.UseUrls("http://0.0.0.0:4242")
.UseWebRoot("public")
.UseStartup<Startup>()
.Build()
.Run();

reef dagger
radiant ivy
#

yes

#

but i dont know enough about core to get this stripe code working

reef dagger
#

Well I think you would likely need to change the URL to match what the server URL is

radiant ivy
#

i dont think that bit would be the same at all

#

i normal ap just does this

#

var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();

app.MapGet("/", () => "Hello World!");

app.Run();

#

is there anyone who knows .net core?

reef dagger
#

Unfortunately I am not experienced in deploying .NET apps to servers. I can help with the interaction with the Stripe API and our .NET library but this is a more general .NET question that I'm not familiar enough with

#

We are focused on the Stripe integration part on this server

radiant ivy
#

is there anyone else who might know it?

reef dagger
#

Can you be more specific about what isn't working?

radiant ivy
reef dagger
#

What errors are talking about? What are you changing? If I am to help or possibly find someone who could help I would need a lot more details about your integration and the errors you are experiencing.

radiant ivy
#

i dont know .net core musch especially using it for a webhook

#

if you want to share some code on your site for this i think you need to show something that would work in a published state

reef dagger
#

Unfortunately you are not being clear enough for me to even identify what the problem is. I would suggest you review basics of .NET core and provide some specific examples.

radiant ivy
#

i can get a basic .net core app working on the site

#

what i cant get working is your stripe example

#

the error in logs is

#

failed to load coreclr. Exception message:
CLR worker thread exited prematurely

reef dagger