question

wavemaster avatar image
0 Votes"
wavemaster asked AgaveJoe commented

Stripe / Twilio listeners in a Blazor Server or Wasm app - reuse existing code

I am modernizing an app that was built using WebMatrix (Web Pages) which was the Microsoft flavor of the day about 10 years ago.

This app has integrations with Stripe and Twilio by means of webhooks and I am receiving POST requests102505-image-2021-06-04-090757.png

The listeners are all .cshtml files.


The new apps are based on Blazor (Server and Wasm). I am hoping that I can copy these to wwwroot folder.


Looking to get confirmation on this approach and if I need to make other changes so this works.


dotnet-aspnet-core-blazor
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

wwwroot is for static files like JavaScript and styles not cshtml files that contain code. Use Web API to handle the web hooks.

0 Votes 0 ·

0 Answers