how to create a URL at server.....for webhook
How to create URL
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
how to create a URL at server.....for webhook
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vahid FarahmandianRank #961 · 2.1K reputationPosted Jul 21, 2023, 7:14 AM EDT
You can use UriBuilder class. Like this:
var builder = new UriBuilder("myserver.com"); //you can set the full url in above constructor and ignore the following two lines builder.Port = 11000; builder.Scheme = "https"; var result = builder.Uri;