Tagged Questions
1
vote
2answers
55 views
MVC Redirect with custom headers
Hopefully this is a simple question for someone out there.
Basically upon receiving a request to my MVC controller, I want to:
Add an "Authorization" header to the response
Redirect to another ...
0
votes
2answers
60 views
MVC “Access is Denied” using IIS
Having serious trouble getting beyond "Access is Denied" message:
Error message 401.2: Unauthorized: Logon failed due to server configuration. Verify that you have permission to view this ...
0
votes
1answer
44 views
Make asp.net mvc validation work without helpers
Could someone provide a good tutorial on how may I validate my html fields with unobtrusive,
but without using MVC helpers.
Is it possible at all?
I would like to keep the plain html and use input ...
0
votes
0answers
52 views
how to use jquery UI queue widget style Pluploader in MVC
I want to use plupload jquery UI style in below fashion: -
I have a link called upload files on clicking , it should open up dialog/modal of plupload jquery ui.
<input type="checkbox" ...
1
vote
2answers
47 views
Am I mixing up controller / model in this MVC implementation
New to MVC, so forgive the question.
I have created two models, Observation and StaffMember. An observation is carried out by a staff member and I record the Id of the StaffMember (GUID) against the ...
0
votes
2answers
73 views
MVC, I get it, but seperating out the model for repository functions and maybe even business logic… Best practice?
C# ASP .NET MVC 4.0
I understand the MVC pattern, but when it comes down to the model:
public class User
{
int id { get; set }
int name { get; set; }
}
I could see a benefit to dividing ...
0
votes
1answer
42 views
HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents
I have downloaded the MVC Music Store at location C:\Users\DEVESH\Desktop\Projects\MvcMusicStore-v3.0\MvcMusicStore-Completed\MvcMusicStore
and added the website on IIS at same location.I have also ...
0
votes
1answer
67 views
Advantages of using Restful Services in MVC
What are restful services in mvc?what are the advantages of using REST?
I have Goggled it,but haven't got good links.Can somebody help me to understand Restful services and its implementation in ...
0
votes
1answer
71 views
persisting MVC data to ORM
Java or dotNet world is rich of open source frameworks and libraries. We all like to use Spring and Hibernate almost everywhere.
Everyone agrees that hibernate is a very handy tool.
What Hibernate can ...
18
votes
5answers
538 views
How can I refactor my database access code outside my MVC project but keep my viewmodels inside?
I have an asp.net-mvc website with the following folders:
Controllers
Scripts
Views
ViewModels
Models
DomainModel
I now want to access a lot of this business logic and database access code and ...
-1
votes
1answer
79 views
How to make my MVC3 project a Mult Tier (DAL, BLL and UI) project?
I am creating an application using MVC3. I follow the examples in -
...
0
votes
1answer
67 views
MVC Sitemap - conditionally display description
I am using MVC Sitemap provider for my site, and I show up to three versions of the navigation on my page at a time.
First, the top level:
@Html.MvcSiteMap("MvcSiteMapProvider").Menu(0, true, false, ...
0
votes
1answer
214 views
HttpPostedFileBase in ASP.NET MVC is null while using jQuery Dialog
File upload paths in MVC is null with jquery dialog
I have created a MVC application having two file uploads in view and created a POST action for this, with IEnumerable parameter to catch the files. ...
0
votes
0answers
45 views
Messages are not send using Pusher API
i am using Pusher in my mvc application, it was working fine.
Today it stops sending messages .
i can see in Debug console of pusher website the authentication requests like this :
Presence Event ...
0
votes
2answers
31 views
Firefox bfcache issue?
I am having trouble with only firefox. My page shows a tree structure that is loaded via ajax as the user clicks on the nodes they want to expand. The problem I'm having with firefox, and only ...