route (2,065)

c# - Developing for ASP.NET-MVC without Visual Studio
Instead of writing my ASP.NET C# applications in Visual Studio, I used my favorite text editor UltraEdit32. Is there anyway I can implement MVC without the use of VS?…
Use the routing engine for form submissions in ASP.NET MVC Preview 4
I'm using ASP.NET MVC Preview 4 and would like to know how to use the routing engine for form submissions. For example, I have a route like this: routes.MapRoute( "TestController-TestActi…
“using” namespace equivalent in ASP.NET markup
When I'm working with DataBound controls in ASP.NET 2.0 such as a Repeater, I know the fastest way to retrieve a property of a bound object(instead of using Reflection with the Eval() function) is t…
Asp.Net Routing: How do I ignore multiple wildcard routes?
I'd like to ignore multiple wildcard routes. With asp.net mvc preview 4, they ship with: RouteTable.Routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); I'd also like to add something like: RouteTable.…
Asp.Net MVC: How do I enable dashes in my urls?
I'd like to have dashes separate words in my URLs. So instead of:/MyController/MyAction I'd like:/My-Controller/My-Action Is this possible?…
c# - Response.Redirect using ~ Path
I have a method that where I want to redirect the user back to a login page located at the root of my web application. I'm using the following code: Response.Redirect("~/Login.aspx?ReturnPath="+Req…
What is the best way to calculate Age using Flex?
What is the best way to calculate Age using Flex?…
I'm looking for some examples or samples of routing for the following sort of scenario: The general example of doing things is:{controller}/{action}/{id} So in the scenario of doing a product search…
How do you implement resource “edit” forms in a RESTful way?
We are trying to implement a REST API for an application we have now. We want to expose read/write capabilities for various resources using the REST API. How do we implement the "form" part of this?…
Unit testing ASP.NET MVC redirection
How do I Unit Test a MVC redirection? public ActionResult Create(Product product){_productTask.Save(product); return RedirectToAction("Success");}public ActionResult Success(){…