Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:808467
More Search Options
RSS Available
Matching Posts
Re: Basic routing question
Maybe, this is where james was going with his comment, but you should also put ALL destructive actions such as delete behind a post. You don't want a web crawler following links and deleting data out of your system.
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 10/30/2009
Re: Basic routing question
Additionally, you probably want to restrict that route to the controller and action that you are adding the featureCode parameter: routes.MapRoute( "DeleteRoute", // Route name "Signoff/Delete/{featureCode}", // URL with parameters new { featureCode= "" } // Parameter defaults ); And remember that the order in which you register the routes matters.
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 10/30/2009
Re: Basic routing question
The default route only takes a parameter called "id". You need to add a route that takes the parameter called "featureCode": routes.MapRoute( "DeleteRoute", // Route name "{controller}/{action}/{featureCode}", // URL with parameters new { controller = "Home", action = "index", featureCode= "" } // Parameter defaults );
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 10/30/2009
Re: routes works locally but not on productionserver
What version of IIS are you deploying to? There is some extra configuration required to run on IIS 6. http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 10/16/2009
Re: How do I work with partial views?
I'd recommend having your partial views be strongly typed to an interface. Then any view model that is going to use that partial view can implement the interface. If you need an example or more thorough explanation, let me know.
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 10/12/2009
Re: Custom ModelBinder and Release Candidate
levib, Thanks for the information. I understand there are cases when the extra functionality is needed, but I'd like to see a simpler overload for when I don't need it. Also, why do I have to set the culture for every single input? I can't think of a situation where I would have 1 form with different cultures for different inputs. I certainly wouldn't think it the most common scenario.
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 2/1/2009
Re: Custom ModelBinder and Release Candidate
bjn, I believe the overloaded AddModelError method that you suggested existed pre-beta (or at least in some of the previews). I never really understood why they changed it. I totally agree about the ValueProviderResult, it seems like more work and more confusing and I don't understand what benefits it provides.
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 2/1/2009
Re: Continuous Integration and Compiling MVC Views
I was able to answer my own question once I looked at the project file. You just put the <MvcBuildViews> element in the corresponding PropertyGroup. The instructions were just overly specific and a bit vauge by saying "putting it in the topmost PropertyGroup".
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 1/30/2009
Continuous Integration and Compiling MVC Views
In the release notes it discusses making changes to the project file to compile the MVC views. I have read that you can tie this to a specific configuration so that when the developers are doing debug builds it doesn't slow them down but when continuous integration does a release build, the views are compiled. So how do I tie this setting to a particular configuration?
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 1/30/2009
Re: Strongly typed partial views
and you need to make the changes specified in the release to the web.config file in whatever folder your partial views are in. I had my partial views in a seperate folder from my views and this tripped me up for awhile.
Posted to
ASP.NET MVC
(Forum)
by
bradleylandis
on 1/29/2009
Page 1 of 10 (97 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN – Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online