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:278432
More Search Options
RSS Available
Matching Posts
Re: Route to a single controller action
You just need to use a parameter name with your catch-all: routes.MapRoute( "Sections" , "Sections/{*path}" , new { controller = "Section" , action = "Index" });
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 10/1/2009
Re: How to create the graph using AJAX?
I wrote an article on this topic earlier this year for MSDN Magazine: Charting with ASP.NET and LINQ . The charts are loaded asynchronously using AJAX and use the free ASP.NET Chart controls provided by Microsoft.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
bitmask
on 8/4/2009
Re: IgnoreRoute
I apologize if I misunderstood the question. IE only checks for favicon.ico in the root of the website, so you don't need to use a fancy ignore route. If you don't have a favicon.ico file in the root of the site a "file not found" error would be the expected behavior - a 404 error in the language of HTTP. Every unhandled error in ASP.NET will raise the Application_Error event, even the simple "file not found" errors that come when a user mistypes a URL. Now that I've
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 7/14/2009
Re: IgnoreRoute
Hi Paul: You could use: routes.IgnoreRoute( "favicon.ico" ); Then the routing engine will ignore the request. You'll still get a hit in Application_Error since the file won't be found, but it will be a different message ("File does not exist" instead of "Controller for path not found"). It's safe to ignore these errors unless you wanted IE to use a custom icon for your site.
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 7/13/2009
Re: IIS and VS2008 different results
Make sure you are adding the configuration to the <handlers> section of <system.webServer>. IIS 7.0's integrated pipeline uses <system.webServer> instead of <system.web> for handler and module configuration. That means maintaining the setting in both system.web/htttpHandlers and system.webServer/handlers if you want to switch between IIS 7 and the WebDev server that comes with VStudio.
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 7/10/2009
Re: how to host a page in IIS (in MVC)
Make sure you are creating a new application in IIS, not just a virtual directory that points to your MVC app's location. I have a 12 minute video where I deploy an MVC application into IIS in a couple different ways and explain these concepts. The video is here: http://www.pluralsight.com/main/screencasts/screencast.aspx?id=iis-aspnetdev Hope that helps,
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 7/10/2009
Re: Object reference not set to an instance of an object. ModelState.SetModelValue - BUG ??
The ValueProvider represents a collection of name/value pairs that are present somewhere in the request. It puts together all the name/value pairs from posted form values, the query string, and routing data (plus, adds some relavent culture information to each). If you don't have an id_author selected, then you won't have an id_author in the Request.Form collection, and it won't be in the ValueProvider either (unless you have it in the query string or in the routing data). Your code is
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 7/3/2009
Re: ValidateRequest="false" appears to fail ???
Hi Kiran: The web.config approach doesn't work for MVC views. By the time the "page" executes all the input processing is finished.
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 7/1/2009
Re: ValidateRequest="false" appears to fail ???
The error message is a little misleading because it comes from ASP.NET code that was released before ASP.NET MVC existed. In MVC, we don't know what .aspx will be used for the view until the controller executes, and by the time the controller executes it is too late to stop a potentially dangerous request. Thus, in the MVC pipeline the check for dangerous input is done before the action is invoked (by the action invoker, and it validates input by default). You can only turn off the validation
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 7/1/2009
Re: Drop Down List and SelectListItem
A little bit of LINQ can make this easy: List < Brand > brands = // ... var selectList = from b in brands select new SelectListItem { Text = b.Name, Value = b.ID.ToString() }; // ...
Posted to
ASP.NET MVC
(Forum)
by
bitmask
on 6/28/2009
Page 1 of 122 (1217 items) 1
2
3
4
5
Next >
...
Last »
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
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
ASP.NET:
T4MVC now has a real home and a dedicated forum!
TechNet Edge:
Windows Server 2008 R2 : New Power Management Features
ASP.NET:
Web Deployment Painkillers: VS 2010 & MS Deploy
WindowsClient:
Application Accessibility Testing
WindowsClient:
Prism & WCF RIA Services
Channel 9:
Sharepoint 2010 and Claims-Based Identity
WindowsClient:
IRhetoric Ported To BlogEngine.NET
WindowsClient:
PDC Recap and More
Channel 9:
Reactive Extensions API in depth: Primitives
WindowsClient:
New WPF Features: MultiTouch
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online