工具--->选项-->文本编辑器|文件扩展名, 添加后缀名为ashx的文件即可
[VS工具]如何让#region...#endregion在ashx文件页面上折叠
原文:http://www.cnblogs.com/beeone/p/7093655.html