Like this:
routes.MapRoute("Name", "tag/{*tags}", new { controller = ..., action = ... });
ActionResult MyAction(string tags) {
foreach(string tag in tags.Split("https://stackoverflow.com/")) {
...
}
}
More Related Contents:
- Injecting content into specific sections from a partial view ASP.NET MVC 3 with Razor View Engine
- include antiforgerytoken in ajax post ASP.NET MVC
- Routing for custom ASP.NET MVC 404 Error page
- How to render a DateTime in a specific format in ASP.NET MVC 3?
- ASP.Net MVC Handling Segments with Route
- Is it possible to access MVC Views located in another project?
- mvc uppercase Model vs lowercase model
- Get DisplayName Attribute without using LabelFor Helper in asp.net MVC
- double escape sequence inside a url : The request filtering module is configured to deny a request that contains a double escape sequence
- Adding sub-directory to “View/Shared” folder in ASP.Net MVC and calling the view
- ASP.net MVC4 WebApi route with file-name in it
- ViewModel’s list is null in action
- ASP.NET MVC3 Role and Permission Management -> With Runtime Permission Assignment
- IValidatableObject Validate method firing when DataAnnotations fails
- Advantage of creating a generic repository vs. specific repository for each object?
- Asp.Net Forms Authentication when using iPhone UIWebView
- Why does the CheckBoxFor render an additional input tag, and how can I get the value using the FormCollection?
- How to add validation to my POCO(template) classes
- ASP.NET MVC Url Route supporting (dot)
- Is it a good practice to avoid using Session State in ASP.NET MVC? If yes, why and how?
- How ViewBag in ASP.NET MVC works
- What is the claims in ASP .NET Identity
- What are the Web.Debug.config and Web.Release.Config files for?
- asp mvc routing with two optional parameters
- Creating a URL in the controller .NET MVC
- Paging & Sorting grids with ASP.Net MVC
- Web Config Transform not working
- How to get the current view name in asp.net MVC 3?
- What do the TargetFramework settings mean in web.config in ASP .NET MVC?
- How does Html.Raw MVC helper work?