Questions tagged as 'asp.net-mvc'

1
answer

AspNet Identity Roles - Custom

My application has user groups that are customizable, that is, the end user creates and gives access to certain permissions. For this, I have my records Module, Menu, Item, Option Module = Financial, Registration, etc. Menu = Accounts,...
asked by 17.06.2014 / 21:43
1
answer

MVC WebApi Ajax error only on homologation server

I have a page in mvc that calls a method in webapi (another project inside the solution), it happens that in localhost everything works normally, when it goes homologation, when calling the method in api, it excute everything correctly, does wha...
asked by 08.06.2014 / 03:58
0
answers

Doubt over virtual directory usage in IIS and filetable

I need to store files in a FileTable . As I do not know the local path where the files that are in FileTable are, map the network path of the FileTable directory, and thus access the FileTable directory. I need to h...
asked by 15.12.2014 / 16:44
0
answers

Messaging System

I want to implement some communication elements between the users of my application. I thought about creating something that would allow sending messages, something like Facebook, but it does not have to be in real time. I even have the tables r...
asked by 05.10.2014 / 02:48
1
answer

RenderAction does not consider my validations in ASP.NET Models

RenderAction has stopped considering fields marked as [Required] in my models. Example of one of the models: private uint IdNews { get; set; } [Required(ErrorMessage = "Defina o título.")] public string Title { get;...
asked by 08.02.2014 / 01:10
1
answer

Identity field going into Insert

When I make my insert of the companies table, the CompanyCode field is going on insert , even its property being Identity in my asp.net application. What can I do? public class EmpresaController : System.Web.UI.Page {...
asked by 19.09.2014 / 14:10
1
answer

Dependence on services

I have a service that closes an entry in stock. Like all entry process to register the note I have the manual register of each item of the note and when closing the note I need to update the inventory of each item of this note. I've done the...
asked by 20.08.2014 / 22:34
2
answers

How to retrieve address ID?

I'm using asp.mvc. In my route has the ID, the address of the page for example has link . I wanted to get this number 1 at the bottom of the page, is there any way to do that?     
asked by 08.07.2018 / 04:50
1
answer

Error trying to recreate a table with code first (Migration)

I'm following the Eduardo Pires tutorial on DDD + Asp.Net MVC 5 + IoC and etc. Well, in the first attempt to create the bank and the customer table, it was gem. It turns out that Eduardo made some changes and I followed (I'm learning from him) a...
asked by 03.03.2017 / 18:15
1
answer

separating information that is in string type in AngularJS

I have the following code: app.controller("LoginCtrl", function ($scope, LoginAPI) { $scope.doLogin = function (model) { if (model.username === undefined || model.password === undefined) { return false; }...
asked by 13.03.2017 / 19:18