UPDATE PREVIEW RELEASED http://www.bleevo.com/2009/08/aspnet-mvc-strongroutes-appairweb-preview-release/
Just a little preview of something I am working on that will be available soon.
public static class SubmissionRoutes
{
[RouteOrder(1)]
public static readonly StrongRoute Create
= StrongRoute.Map<SubmissionController>("submission/create", c => c.CreateSubmission(null));
}
Usage:
<%=Html.LinkTo("Create", SubmissionRoutes.Create)%>
Trying to get File uploads to work in ASP.NET MVC but Request.Files is always empty?
There a few things you might have done wrong!
The form tag must have enctype=”multipart/form-data” and your file input tag must have a name not just an id like below.
<% using(Html.BeginRouteForm("submission_create_path", FormMethod.Post,
new { enctype = "multipart/form-data" })) { %>
<input id="sourceCode" name="sourceCode" type="file" />
<input type="submit" value="Upload" />
<% } %>
If you get this error using VMWare ESX 4.0 it is because either your CPU does not meet the minimum hardware requirements for 64bit guest operating systems or you have not properly configured the host hardware.
The following knowledge base article describes the settings required to be enabled in the bios for both AMD and Intel CPU architectures.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1901