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
3 views
Role Based Access Control (RBAC) in MVC 3/4
I have already implemented RBAC in my previous enterprise application, however i was not very happy with the way we implemented in the UI Layer. DB layer is pretty standard to have tables like Roles, ...
0
votes
1answer
5 views
How to format data in C# ASP.Net MVC for datatable.net ajax call
I was wondering how I can pass data to datatable.net in an asp.net mvc 4 application.
like this example:
http://www.datatables.net/release-datatables/examples/data_sources/ajax.html
The output ...
1
vote
0answers
10 views
what does this code do in openid mvc3 example?
I use openid in mvc3 razor,
Please explain this code
<form action="[email protected](Request.QueryString["ReturnUrl"])" method="post" id="openid_form">
1
vote
1answer
16 views
ASP.MVC client side validation does not work
I am trying to validate user input on login page.
I have my User mode with:
string UserName
string Password
I decided to extend my DB model with partial class:
[MetadataType(typeof(User))]
...
0
votes
1answer
14 views
how to insert multiple rows values into databse using mvc 4
I have one table usercontacts. columns are
ContactType
ContactNumber
in my view.cshtml page i am using dropdownlist for select contacttype(Emial,phno,mbno) and textbox for contactnumber
Email ...
0
votes
1answer
11 views
How to change Html.RadioButtonFor selection in MVC3?
My model has a list of 3 elements, each element has a string (AnswerBody) and a bool (correct).
When I submit the form, I get the values perfectly.
The problem is that, when selecting more than one ...
0
votes
2answers
10 views
entity vs. dapper datetime check not worker
I have entity and also use dapper, I have 1 form with 2 date fields... named before and after so users can search in between those dates. The one from entity works perfectly but the one from dapper ...
0
votes
0answers
13 views
How to Redirect to openid provider from controller
I use mvc3/razor in my code,
I have a homecontroller(index.cshtml) to load a homepage.Now I created Accountcontroller (Login.cshtml) to show openidlogin page inorder to enter the homepage.
When load ...
0
votes
0answers
20 views
License for mulitple domain for web apps which is based on ASP.NET MVC4 with c#
We've one web app that is based on ASP.NET MVC4 with C#. For license validation, We take domain name for uniqueness while someone purchasing from us. Based on that domain name we generate one license ...
0
votes
0answers
16 views
ASP MVC 4 globalizationScript, jquery and submitted data
im trying to use the following:
<script src="/Scripts/globalize.js" type="text/javascript"></script>
@Html.GlobalizationScript("~/Scripts/cultures/","~/Scripts/cultures/")
So ...
0
votes
0answers
13 views
Tracing other users in mvc application with Glimpse
I am trying to trace my MVC application using Glimpse.
I must say that I was very impressed with what glimpse can provide as a tracing tool.
But I cant figure out that How will i get the trace ...
0
votes
1answer
33 views
Linq to Entities - Delete / Add related data (many to many relationship)
I have places - with related tags:
have a Place model:
public virtual int PlaceID { get; set; }
public virtual ICollection<Tag> Tags { get; set; }
public virtual string Name { get; set; }
...
0
votes
2answers
22 views
The name 'Url' does not exist in the current context error
I have an MVC4 project that I am trying to create a helper for. I have added a folder called "App_Code", and in that folder I added a file called MyHelpers.cshtml. Here are the entire contents of that ...
0
votes
1answer
25 views
Good way to span a temporary thread that does file monitoring?
I have the following scenario that I'm not sure how it's best to handle.
On an ASP.NET MVC 4 system, I have a controller action that calls an external system (in the same network) that, within ...
0
votes
0answers
30 views
Set app start page to a specific URL
My app currently starts at the following URL
www.myapp.com/dashboard/overview
The controller and action method can be changed from with in the config file. I have several partial views which are ...