A
A
AcidBat2016-03-23 12:14:35
IIS
AcidBat, 2016-03-23 12:14:35

How to make parametric rewriting in Web.config?

I decided to make a CNC on the site (I write on pure ASP.NET with IIS 6)
Static pages can be rewritten without problems
But I ran into the problem of rewriting dynamic pages that work with GET requests
How to correctly write a rule in Web.config so that, for example, when request site/page/number was rewritten, for example, to site/page/default.aspx?param=number ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2016-03-23
@dmitryKovalskiy

Excuse me, do you work on WebForms? What did you not like about ASP.NET MVC, which can architecturally CNC out of the box?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question