I am doing an individual registration and I have the following models:
Pessoa
Fisica
Juridica
In my view code, I only have the declaration of a model :
@model CodeFirst.Models.Fisica
The problem is that whe...
Well my system has an area where the user registers information about the site. So register images. The system does not restrict the size of the image.
Then the site shows the images. But there are different parts on the site that carry diffe...
I have my Form with the following statement:
@using (Ajax.BeginForm("Novo","Cliente", new AjaxOptions
{
OnSuccess = "OnSuccess",
OnFailure = "OnFailure"
}))
{ }
My functions in js:
function OnSuccess(response) {
ale...
I'm trying to put my ASP.NET application in the air, and I've never had contact with it, do I need to turn my .CSHTML into .HTML? Or something like that?
I have a DTO Class
[Serializable]
public class PerfilDTO
{
public int Codigo { get; set; }
public string Descricao { get; set; }
public SituacaoEnum Situacao { get; set; }
public List<PerfilFuncionali...
I use repository patterns for search, save, and delete
I would like to know where the validation of my business is best ...
For example:
I need to check that item is in contrato of prestador , and invoice it with the...
I want to change the ActionLink and URL to work with Ajax , but I do not know how to do that. Follow my code with ActionLink and URL .
<ul class="nav" id="side-menu">
<li>
<a href="...
I have an ASP.Net MVC project where I generate a report that requires a lot of the machine's processing feature.
I have a Action that generates and another that returns the report data in an Object List, so I thought that by creating a...
I'll try to be clear.
In most instances of authentication and authorization of access in ASP.NET MVC, I see that the authorization control is usually done in Controller , with the decoration of the class itself inherited from Control...