Questions tagged as 'asp.net-mvc'

0
answers

Database query in C # mvc + Intity

I'm trying to display the result of my query in the view. But the value DESC_DESC_ORIGEM is coming empty. Controller using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Dat...
asked by 07.05.2018 / 17:25
0
answers

Id reaching null in the controller action Asp.Net MVC

I have a list of requests (Vr), in this list I have created a button to end this request (Open Mv) WhenIclickthisbutton,I'mredirectedtomyLowview,whichhasitsownattributes,plustheRequestId(Vr).Thispartisworkingfine,I'mgettingtheclickonthebutton,a...
asked by 14.05.2018 / 15:28
1
answer

Validation Message - ASP.NET MVC

Hello, I'm trying to display the "validation" message in ASP.NET in my project 'CadeMeuMedico' by the apostila Web Development with ASP.NET ... However, it is not appearing as it should appear as below. Mylookslikethis: Followthecodes:Add.csh...
asked by 04.04.2018 / 18:35
2
answers

Return of a List From View to the Controller - Asp.Net Core

I have a viewmodel called Profile, in this viewmodel there is a ListProperties property and a string - title. public class PerfilViewModel { [Key] [DisplayName("Código")] public int Id { get; set; } [Required(ErrorMessage = "O...
asked by 27.03.2018 / 22:50
0
answers

Performance - Helpers

I've seen several times programmers sticking the helper in the view, instead of the html. I agree that there are cases that you actually "save characters" using them, but, and in relation to performance? I researched it but did not find it cl...
asked by 23.03.2018 / 17:40
0
answers

MV Azure Configuration and SQL Server

I need to develop a system for a medical clinic and this system will be accessed by 2 Receptionist and 2 Physicians. Home Initially the System is not complex but tends to grow as the Clinic will hire more Physicians. Home I want to develop in AS...
asked by 17.03.2018 / 20:36
1
answer

How to change the welcome message to log in!

I'm developing an ASP.NET MVC application, by default it already comes with a pre-defined template, however when I log in to the application it displays the message "Hello [email protected]!", but I wanted that instead of the email appear...
asked by 11.04.2018 / 19:44
2
answers

Current Field Date @ Html.EditorFor () Asp.Net MVC

Friend I want the field to come to the default already filled in without the user having to put the date [email protected](model=>model.DataAbate,new{htmlAttributes=new{@class="form-control" } }) Cl...
asked by 12.03.2018 / 02:38
0
answers

ASP.NET Core NPM and webpack / gulp

I created a project in asp.net core using the empty template ( dotnet new web ). As I researched, to add packages like Bootstrap or jquery , we have to use NPM, which basically adds package.json to the project root and keys ba...
asked by 20.03.2018 / 12:42
0
answers

C # search the Office field in LDAP

Good afternoon, I need a great help, I have a DAP access authentication, it is working correctly, validating username and password. However, I need a DAP field returned, this field is the "office", where we store information about the user's enr...
asked by 21.03.2018 / 19:00