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.
0
votes
0answers
20 views
directory not created from c#
I have a MVC.NET site which takes a user uploaded file and saves it.
Part of my code creates a new directory.
try
{
Directory.CreateDirectory(path);
}
catch (Exception e)
{
...
0
votes
0answers
7 views
kendo UI date picker validation by java script MVC 4
I have been using kendo Ui in mvc 3.0 and I am pretty comfortable with that. Recently, I switched in MVC 4 and the main problem I found in this is I am unable to validate kendo controls using MVC ...
0
votes
0answers
15 views
Handling foreign keys relationships in javascript to asp.net-mvc communication
I am working on a ASP.net MVC 4 application that is used to take menu orders, store them in a database and display them later.
That domain model that represents the menu consist between others the ...
0
votes
0answers
15 views
ASP.NET MVC3 EF Update complex object in ActionResult Update()
I'm new with EntityFramework, and I face to a little issue to update an object.
The object I'd like to update is called A.
It contains some properties, plus another object called B.
I found how to ...
-1
votes
0answers
21 views
Search engine, asp.net mvc 4, SQL Server 2008
I have a big database in SQL Server 2008. Now I want to develop a search engine for that database.
I want to do it in VS2012 (Asp.net MVC) using Entity Framework.
I am confused how and what to ...
2
votes
0answers
12 views
Errors not recorded in ELMAH
I'm using ELMAH in my mvc project to record errors. I realised that sometimes errors not recorded. So I wrapped the statements in try..catch and called ErrorSignal.FromCurrentContext().Raise(ex); but ...
0
votes
0answers
17 views
ASP.NET MVC 4, Code First - Quickest way to purge test data
My ASP.NET MVC 4 Code First app creates seed data using Migrations - works well.
Over time other test data I enter myself builds up.
What is the quickest way to delete this test data and return to ...
1
vote
0answers
13 views
server Refused post request in asp mvc web application
I develop asp.net MVC4 ,and publish it in IIS7 on remote server.
when i open browser on mentioned remote server and open my application all post request work fine but when i open my application in ...
0
votes
0answers
12 views
How do insert a separator bar between many groups on a Kendo UI Menu
I am using the pure Razor style definition for a Kendo Menu:
@using Kendo.Mvc.UI
@(Html.Kendo().Menu()
.Name("main-menu")
.Items(items1 =>
{
...
0
votes
0answers
15 views
Processing request URLs from browser by the .NET Framework
How does the .net framework know in what way the incoming URL is to be processed?
My question is not about routing mechanism within the application.
I want to know how the .net framework in the ...
0
votes
1answer
20 views
How to change MVC3+ Views after application has been deployed (without redeploying)
As I understand one of the benefits of the MVC pattern is being able to substitute other Views without having to change the Model or Controller.
Since the Razor view engine compiles the views, how ...
0
votes
0answers
28 views
Getting multiple tables with single db call in entity framework
I am new to ASP.NET MVC and Entity framework. Previously I used to work with ADO.NET Datatables and DataSets. So in scenarios like getting multiple tables from database in single call, I used to use ...
0
votes
1answer
9 views
ASP.NET MVC 4 - Simple Membership, Facebook login broken when using Email instead of Username
I have a Code First MVC 4 App, I have swapped Username for Email in SimpleMembership - which works fine.
I do that by changing Initialization to this:
// Initialize database for Account
...
1
vote
2answers
23 views
Return types in ASP.NET MVC Actions
Is it recommended to define specific return types for controller actions?
Or in other words since results like JSONRESULT, VIEWRESULT etc... derive from ACTIONRESULT what is the best practice in ...
0
votes
1answer
25 views
MVC URL routing is not working
This is my Global.asax , all I want to map another url format to controller and action.
//Matching to auctions-index-Testing
//Why this one is not matching to auction-index
...