© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
❔ Convert relative URI string to route - C#
C
C#
•
4y ago
•
3 replies
Pokey
❔ Convert relative URI string to route
Is it possible to take a relative URI string
, for example
/Api/RetrieveById/1?search=hello
/Api/RetrieveById/1?search=hello
and split it into
:
Controller
: Api
Action
: RetrieveById
RouteValues
: id
= 1
, Search
=
"hello
"
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ Convert Enum to string
C
C# / help
4y ago
✅ Convert from string to Type?
C
C# / help
3y ago
❔ Convert JSON string to struct
C
C# / help
4y ago