-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I upgraded to MVC2 RTM with VS2010 RC and some of my ViewUserControl and Page controls don't show intellisense for simple things like <%= Html..... % or <%= Model... %
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all,
I have installed VWD 2010 Express and love MVC2. I have an existing ASP.NET 3.5 website that I'd like to redevelop with ASP.NET MVC2 under VWD 2008 with the 3.5 framework (the host only supports .Net 3.5, and Express 2010 doesn't support targeting of .Net framework versions)
I am however…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
source code...
Thing is, if i specify required metadata using fluent modelmetadata provider like this=
public class Foo
{
public string Bar { get; set; }
}
public class FooModelMetadataConfiguration : ModelMetadataConfiguration<Foo>
{
public FooModelMetadataConfiguration()
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am a big fan of optional parameters in C#4 but am having an issue with MVC when I use them in my controller constructors. For example, if I have a single constructor:
public TestController(sting a = "") { /* blah */ }
MVC has a fit saying that there are no parameterless constructors for TestController…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i migrate my mvc1 project to mvc2.
my jquery json result function does not work anymore. have any idea ?
aspx
$.getJSON('Customer/GetWarningList/0', function(jsonResult) {
$.each(jsonResult, function(i, val) {
$('#LastUpdates').prepend(jsonResult[i]…
>>> More