i would like to refactor this code. Maybe if possible by using a switch? Or is it the same in terms of performance?

```
string rawUrl = context.Request.RawUrl ?? string.Empty;

if (rawUrl.Contains("mypage.aspx"))
{
}

if (rawUrl.Contains("mypage2.aspx"))
{
}

etc..

```