- ASP.NET MVC 2 Cookbook
- Andrew Siemer, Richard Kimber
- 142字
- 2021-04-09 22:44:27
In this chapter, we will cover:
- Creating a route to support a reporting engine
- Making hackable routes for a product catalog
- Filtering your matches with routing constraints
- Using wildcard parameters to support slug URLs
- Creating a 404 page with routing
- Moving routes out of
Global.asax
- Supporting pagination in your URLs
- Supporting content hierarchies with a custom
RouteHandler
- Creating a blacklist route constraint
In this chapter, we are going to take a look at the very powerful routing engine that first came into being with MVC. With the release of .NET 4.0 though, this chapter now applies to both MVC and web form applications. We will take a look at how to create both, the simple route as well as some more advanced features such as wildcard parameters for slug support and action filters for route translations.
推薦閱讀
- ANSYS19.0實(shí)例詳解
- Cacti 0.8 Beginner's Guide
- 視覺封王:Photoshop CC 2019立體化教程(素材+視頻+教案)
- 中文版CorelDRAW基礎(chǔ)培訓(xùn)教程
- 中文版Photoshop 2020基礎(chǔ)教程
- OpenCart 1.4 Template Design Cookbook
- 陌上花開:古風(fēng)CG插畫繪制技法精解(花卉篇)
- 零基礎(chǔ)學(xué)會聲會影2018(全視頻教學(xué)版)
- 從零開始:Illustrator CC中文版基礎(chǔ)培訓(xùn)教程
- 中文版CINEMA 4D R20 實(shí)用教程
- AutoCAD 2024室內(nèi)設(shè)計(jì)從入門到精通(升級版)
- AI賦能Revit建筑創(chuàng)新設(shè)計(jì)(Revit 2024·視頻教學(xué)版)
- 從零開始:Dreamweaver CS6中文版基礎(chǔ)培訓(xùn)教程
- 工作型PPT該這樣做
- 中文版After Effects 2020基礎(chǔ)教程