Questions tagged as 'asp.net-mvc'

1
answer

Create a web form generator

I need to create a web form generator, ie create form, fields, validations, CSS so that this structure goes to a data repository and when querying the mount structure on the form screen. Does anyone know what technology is best to create a pr...
asked by 16.09.2014 / 20:42
1
answer

Constructor abstract class

I'm not able to develop the following environment: public abstract class AplicacaoGenerica<TEntity> where TEntity : class { private IRepositorio<TEntity> repositorio; public AplicacaoGenerica(IRepositorio<TEntity> rep...
asked by 09.09.2014 / 16:09
1
answer

Change DIV style according to FORM

I have the following application to login public ActionResult Logar(String Login, String Senha) { var bdUsuario = ClientesAplicacaoConstrutor.ClientesAplicacaoEF(); var usuario = bdUsuario.ListarTodos().Where(x => x.Codigo == Login...
asked by 07.07.2014 / 15:26
1
answer

Which reference import for TableAttribute?

I can not get my app to find the table tag. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dominio { [Table("Loja_Carrossel")] public class Carrossel { public int Id { get;...
asked by 09.06.2014 / 21:10
1
answer

This assembly does not allow partially trusted callers

I have my project, and in it I have a dll to access some methods, in development it works normally, but in the homologation environment this is giving this msg:    "This assembly does not allow partially trusted callers." What can it be?...
asked by 11.06.2014 / 00:27
1
answer

RegularExpression only letters in the Model

Using the following RegularExpression in Model: [RegularExpression(@"^\d+$")] public int ano_da_configuracao { get; set; } I get the following result: Itriedthefollowingwaytoacceptonlyletters:[RegularExpression(@"/^[A-ZÁÀÂÃÉÈÍÏÓÔÕÖÚÇÑ ]+...
asked by 11.02.2015 / 18:21
1
answer

What is RootDSE

The manager of my company, handed me a file saying very little about "rootDSE", and told me that it is a way to integrate LDAP with programming languages. I've never heard of it that way, and I do not find material necessary to understand if it'...
asked by 15.01.2015 / 11:30
1
answer

Return data from a table in Web.config

I develop an application, which will be implemented in several companies, and it will be necessary to make changes of connectionString in each of them (because they already have servers installed, with the database). However, the techn...
asked by 16.01.2015 / 14:20
3
answers

Post in a list with checkbox

I'm creating an application where the user can select a variety of products through checkbox . But when I click on "Buy" the list goes empty. Can anyone help me with this? This code is the View: <tbody> @foreach (var servico...
asked by 27.05.2014 / 02:23
1
answer

Customize Windows Authentication

I am creating an application where I use Windows Authentication to validate user data. As soon as the application opens, some information about that logged in user appears on the first page. In another menu I open all registered users. How...
asked by 26.05.2014 / 22:13