ASP.NET MVC Url Route supporting (dot)

后端 未结 5 1680
野性不改
野性不改 2020-11-27 03:34

I hope that you can help me with the below problem.

I am using ASP.NET MVC 3 on IIS7 and would like my application to support username\'s with dots.

Example:

5条回答
  •  孤城傲影
    2020-11-27 04:16

    For anyone getting an 'Cannot create abstract class' exception when using the UrlRoutingHandler approach, it's likely due to:

    • Using a restricted 'path' (e.g. path="/Files/*") in your web.config declaration, and
    • A folder/path with the same name exists in your project

提交回复
热议问题