ASP.
I have been searching for resources on how to declare foreign key relationships and other constraints using code first EF 4.1 …
asp.net-mvc-3 ef-code-first entity-framework-4.1Rookie question. I have a parameter being passed to a create view. I need to set a field name with …
c# asp.net-mvc asp.net-mvc-3I have a simple actionmethod, that returns some json. It runs on ajax.example.com. I need to access this …
json asp.net-mvc-3 cors asp.net-ajaxI know that what I'm trying to do is bad idea, but I have specific constrains for now. I have …
asp.net-mvc-3 razor model-view-controller model setdefaultI have a view with a model of type List<string> and I want to place a drop …
c# asp.net-mvc asp.net-mvc-3 razor html-helperI am doing a web project using visual studio 2010(MVC3 Razor) and Windows 7. My default browser is IE. When I …
visual-studio-2010 asp.net-mvc-3 razor localhostCould any body explain, when to use TempData ViewBag ViewData I have a requirement, where I need to set a …
asp.net-mvc-3Using the data annotation Required like so: [Required] public int somefield {get; set;} Will set somefield to Not Null in …
entity-framework asp.net-mvc-3 code-first nullableI am trying to use ViewBag in my application, I have all of the recent dlls, the latest version of …
dll asp.net-mvc-3 gac viewbagMy attempted methods. Looking at the JS via browser, the @ViewBag.CC is just blank... (missing) var c = "#" + "@ViewBag.CC"; …
c# javascript asp.net asp.net-mvc-3 viewbag