c# - i have a project where i need to make special routing how i can make my own rule? -


in own site need thing page known #topic.

it's need

mywebsite.com#google [are possible need pass google parameter] or mywebsite.com/#google [if first can not done how can use it]

how can apply thing in website. thing need done

if open site mywebsite.com#google content genrate dynamically through [passing google parameter]

can show how can make routing

you can't use routing this. value follows # sign in url never sent server client browser. example if request http://example.com/someaction#google server can never fetch value google because browser never sends it. way use javascript (window.location.hash) , maybe send ajax request server rewriting url : http://example.com/someaction?param=google


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -