The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern. The latest release of the framework offers REST-style web services development capability, also known as Web API.

learn more… | top users | synonyms (4) | asp.net mvc jobs

0
votes
0answers
12 views

How to make return Json(); use Json.Net library?

If I do return Json(object, JsonRequestBehavior.AllowGet); it will use some other kind of serializer. Can I force return Json(); to use Json.Net? I know that I can implement my own custom result and ...
0
votes
1answer
10 views

Will .Remove on entity framework perform a Cascade delete by defualt

Something strange happen. I have a table named Group which have a one-to-many relation with a table named UserGroups. Now using the Entity Framework .Remove method. I am able to delete a Group which ...
0
votes
1answer
12 views

Creating URL from area to application

I have an area called "Admin". I can upload images through admin. and would love to display them on the public pages. ie: not an area. So i have a ImageController. when i do following: <img ...
0
votes
2answers
34 views

How to get custom validator to validate client side?

In my Mvc project I have this model: namespace CameraWebApp.Models public class Images { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int ...
1
vote
0answers
19 views

How to view asp.net mvc3 web app from iphone or android browser?

I'm testing a mvc web app on local PC, I would like to view the localhost web pages from a mobile device so that i can test my jquery mobile script on swipe gesture. Any idea how can I run a ...
1
vote
1answer
36 views

(MVC4 - Razor) List of model in a model don't caught by the post method

I have MVC application with a model like this : public class ListOfMyModel { public List<MyModel> MyModels { get; set; } public Guid MyID { get; set; } } public class MyModel { // ...
0
votes
2answers
27 views

Visual Studio MVC wont load some javascript files

I just started a new project File > ASP.NET MVC 4 Web Application > Internet Application The problem i have is when I run the project it throws an error Uncaught TypeError: Object [object ...
0
votes
0answers
8 views

ASP.net MVC 4 Mobile feature and SEO

I might be all wrong now..but If i have understod the "new Mobile-view-engine features" in MVC 4, the server renders different views depending on the UA with the same URL, correct? So.. if In theory ...
0
votes
1answer
20 views

An error occurred while preparing the command definition. See the inner exception for details EF

An error occurred while updating the entries. See the inner exception for details. Inner exception : "An error occurred while preparing the command definition. See the inner exception for details." ...
0
votes
0answers
9 views

Regional settings on deployment machine for datetime not performing

I deployed the application on normal windows 7 machine as it is central machine for official use. this is internal use application. bu the datetime manipulation on the deployed machine not working ...
2
votes
2answers
30 views

Importing an ASP.NET website application to views in an MVC application

I have created an ASP.NET website with several aspx webpages and a masterpage. I now want to port this website to an MVC application and use the aspx pages as views. How can I do this in Visual Studio ...
2
votes
1answer
54 views

Is there a performance sacrifice when calling a C# helper from razor?

If I (from my Razor view), call a c# Helper (I.E compiled into a DLL). Is there a performance loss here? E.G I could use @Model.User.GetFriendlyName(); (calls method in my Model inside DLL). Or I ...
1
vote
4answers
32 views

Jquery ajax url in controller action

Can some body explain How actually jquery ajax method url points to a controller action?I mean the machinery behind the technology.For example $("#Location").autocomplete({ source: function ...
0
votes
0answers
13 views

The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception

I'm working with EF5 in a MVC 4 aspnet website. Locally, everything works just fine, but when I publish it to the IIS and try to enter, I get the error "The type initializer for ...
0
votes
1answer
30 views

if i select dropdown option 1 then i get another dropdown only one record

I have 2 dropdown , 1st is static 'displayAnswer' and 2nd is 'correctAnswer' here i select 'displayAnswer' option 2 then i get only 1 and 2 in 'correctAnswer' my 2nd dropdown, or i select 3 then i get ...

1 2 3 4 5 4211
15 30 50 per page