asp.net-routing Questions
2
I have routes like these:
routes.MapPageRoute("Survey", "Survey", "~/Survey/Survey.aspx")
routes.MapPageRoute("Letters", "About/Letters", "~/Pages/Letters/Letters.aspx")
How can I redirect a url...
Microcosm asked 3/5, 2011 at 22:45
1
Solved
I maybe expecting too much from ASP.NET, but in Apache it's trivial to rewrite urls so requesting something like:
http://mysite/myfolder/mypage/niceurlparameter
actually manages to serve static pag...
Trying asked 27/4, 2012 at 8:43
5
Solved
I'd like to create a dynamic thumbnail resizer so that you can use the following URL to get a resized image:
http://server/images/image.jpg?width=320&height=240
I tried setting up a route li...
Canaanite asked 18/12, 2010 at 1:50
5
Solved
I have some REST services using plain old IHttpHandlers. I'd like to generate cleaner URLs, so that I don't have the .ashx in the path. Is there a way to use ASP.NET routing to create routes that m...
Passenger asked 29/7, 2010 at 5:58
3
Solved
The reason I'm asking is because IIS protects certain ASP.NET folders, like Bin, App_Data, App_Code, etc. Even if the URL does not map to an actual file system folder IIS rejects a URL with a path ...
Pinwheel asked 30/11, 2010 at 20:41
2
Solved
We need to be able to run two versions of one ASP.net web application on the same intranet server and port number, but with one mapped to / and the other mapped to /experimental (not real names, bu...
Estrella asked 17/8, 2011 at 1:51
2
Solved
I have an ASP.NET MVC 3 application that records a user's pedometer entries. A user can view all most recent pedometer entries by visiting /Pedometer and can filter by year, year/month, or year/mon...
Panelist asked 16/8, 2011 at 22:19
1
Solved
I am writing a MVC controller where I need to handle both, data return as well as a long poll "data has changed" like behavior from the SAME (!) url. NothingI can do about this - I am implementing ...
Nunes asked 10/7, 2011 at 18:7
1
Solved
Note: Below is just a small demo sort to simulate what i am looking for:
Below are the urls format on my app that user can see
mydomain.com/cat/1 --display cat with id 1 |controller=Cat, action=D...
Atlantis asked 10/7, 2011 at 9:30
2
Solved
I upgraded my project to ASP.NET 4 RTM with ASP.NET MVC 2.0 RTM today.
I was previously using ASP.NET 3.5 with ASP.NET MVC 2.0 RTM.
Some of my routes don't work suddenly and I don't know why. I'm...
Uphill asked 13/4, 2010 at 3:28
1
Solved
Our shop is integrating ASP.NET MVC into a large web application that utilizes custom & 3rd party HTTP Handlers defined in web.config under system.webServer\handlers. Leveraging HTTP Handlers i...
Pension asked 23/11, 2010 at 14:57
1
Solved
I have a route like so:
routes.MapRoute
(
"Profile",
"profile/{username}",
new { controller = "Profile", action = "Index" },
new { username = @"^(getmoreactivity)" }
);
This works fine for...
Merino asked 10/12, 2010 at 11:2
1
Using IIS7, how do I direct internal private network IP's addresses to my web site while I direct external IP addresses to a "site under maintenance" page?
So far on IIS7 I've found the section in...
Mafia asked 30/6, 2010 at 22:2
4
Solved
I would like to achieve something very similar to this question, with some enhancements.
There is an ASP.NET MVC web application.
I have a tree of entities.
For example, a Page class which has a ...
Krimmer asked 22/5, 2010 at 23:10
1
how to rewrite url string.
in asp.net with c#.net.
Indigo asked 3/3, 2010 at 10:2
1
Solved
One of major hurdles I seem to be having recently is getting my head around some of the more complex routing requirements for some MVC based applications I've been developing.
I'm having problems f...
Popp asked 26/2, 2010 at 11:1
5
Solved
I have created a basic site using ASP.NET routing according to Mike Ormond's example "Using ASP.NET routing Independent of MVC". This works fine on my local machine running the built-in web server....
Atrice asked 1/5, 2009 at 15:28
1
How can I make routing for this?
URL: /category/main/sub/ or /category/main/sub1/subsub/
I want to have /main/sub/ and /main/sub1/subsub/ as parameters in Index action method of CategoryControlle...
Hackman asked 19/10, 2009 at 11:31
2
Solved
How is it that I can create a method in the controller and just put some arguments and it figures it out after I click on a form submit? Under the hood, how does it find the right method and how do...
Ambivalence asked 25/7, 2009 at 3:46
1
I was wondering is there is a way to introduce sub-domains in Asp.net 3.5 routing
All i found as this http://blogs.securancy.com/post/ASPNET-MVC-Subdomain-Routing.aspx
But i was looking for some...
Duplicator asked 19/5, 2009 at 8:26
© 2022 - 2024 — McMap. All rights reserved.