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
9 views

ASP.Net MVC Redirect to Action based on parent entity type

I have a shared entity (single table) "Child", with one-to-one associations to several parent entities: Parent1, Parent2... public class Parent1 { public int Parent1Id {get;set;} public int ...
0
votes
0answers
3 views

wkhtmltopdf Custom header and footers with ASP.NET MVC

Anyone able to use wkhtmltopdf custom header and footer with their ASP.NET MVC? I need your help. I see that wkhtmltopdf is updated and supports some new functionality (as of v0.10.0) for header and ...
0
votes
0answers
3 views

ASP.NET MVC 4 Cookie is not saved on Azure but locally its saves

I have an ASP.NET MVC 4 Project that I call using javascript. I'm about ready to pull my hair out as I just can't figure out why this is not working on the Azure server but locally its working like a ...
0
votes
0answers
12 views

.NET/MVC4/Jquery Mobile/Knockout/Chrome/iPhone extra # character in URL

Okay, if I could offer a bounty for this I would - I offer virtual karma. As mentioned in the title I have an .NET/MVC4/Jquery Mobile/Knockout website. On the index page there is a button ...
0
votes
0answers
12 views

AutoMapper - mapping datatable to class object using customtype converter

I'm new to AutoMapper and have couple of questions regarding datatable to object mapping.I did some work but seems like something went wrong. Mapper.CreateMap<IDataReader, ...
0
votes
0answers
22 views

call controller with plain javascript

how can I use pure javascript rather than jquery or any external library to call a controller in MVC controller public class SomeController : Controller { public ActionResult SomeMethod(string ...
0
votes
0answers
8 views

TFS WorkItemStore throws COMException in ASP.NET MVC app when using Authentication

I'm completely stumped by this and endless google/stackoverflow searches haven't helped. I'm using the 2012 Visual Studio SDK to connect to TFS 2012 and query the work item store. The code below works ...
0
votes
1answer
16 views

Unicode support in .net mvc

The problem I have is I wish to support unicode within my project (mvc project). Where by a user can post a comment using characaters such as ペ without this becoming ????. Any information that can ...
0
votes
0answers
17 views

How do I use a DisplayTemplate instead of a PartialView?

I have created a SumFor extension method on HtmlHelper. The purpose is to take a property from a model and calculate the sum of all values and return it. This works, but the value is returned as a ...
3
votes
1answer
32 views

HtmlAttributes in Extension Method

I'm using MVC 5 and I'm trying to write some Bootstrap extention methods. My goal is to 'overwrite' the Html.ActionLink method with Html.BootstrapLinkButton. The BootstrapLinkButton method should ...
0
votes
0answers
15 views

Database model for Business calendar

I am designing a module in our project that should store business calendar for all clients in our system. Basically it should save the following information: Working days that apply for entire year ...
0
votes
1answer
9 views

ClientSide Update Using AJAX for PagedList

I have a MVC application that uses PagedList for paging. The first column is a checkbox. If a user selects a row, I want that to stay preserved throughout the paging (ie: User selects row 1 on page 1, ...
0
votes
1answer
15 views

Results still showing after filtering with parameter passed to the view

I have a parameter that is passed to a action from a view that when matched only shows those corresponding results. Everything works as normal when the parameter passed in has a match, but when the ...
-1
votes
0answers
18 views

File response.outputstream to JSON

I'am using Spreadsheetlight library to make an excel report File, then I return that file as a Response.outputstream public void generateReport(string SerializedObject) { var doc = new ...
0
votes
1answer
19 views

Return path as MVC routing parameter

When I have a URL like this: http://localhost/dir1/dir2/file1.txt I would like the path, /dir1/dir2/file1.txt, passed as an argument to my controller action. Changing my default route to this ...

15 30 50 per page