-1

i tried like this

[Route("{Name:regex(^([[punc:]))}index")] public void index() {... }

can you Please correct this? and please let me know how to get url starts with '#'

1

1 Answer 1

0

This US not possible because the URL f fragment (the part after #) is not used at all in ASP.net. You won't find it in HttpRequest object either.

Although it would be quite handy, it is simply not available for use on the Server side.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.