Questions tagged as 'asp.net-mvc'

1
answer

Numbers and Percentage in string C # MVC

My string is not coming with strange characters, it's coming with numbers and percentage. Example: "[email protected]" "teste%40test.com" or "fictício" "fict%C3%ADcio"     
asked by 11.05.2016 / 03:17
1
answer

Receive post from one view to another view

I have two Views. Index Assincrona When accessing index , it calls View Assincrona and gets a gif loading until the whole page ( Assincrona ) is loaded and shows in View . Controller Codes publ...
asked by 12.05.2016 / 18:12
1
answer

Values calculated in Javascript do not appear with decimals

I've done this calculation, which is working perfectly. The problem that is occurring is that when you return values to the (View) screen it returns without the calculated decimal places. I will demonstrate what is happening. This is my JavaS...
asked by 26.03.2016 / 12:52
1
answer

Doubt Model Service DDD

I have a question about a project that follows the DDD architecture model. In a model service I need an information that is the result of a method of another service, what is the correct way to get this information, I create a property of thi...
asked by 25.01.2016 / 19:26
1
answer

Use of search / search filters with entity framework

I'm creating a grid with data from books and I'm adding some filters, the problem is when I create the filters of a table that has a link with that of books, I can not navigate (obs.:in a view I can navigate in the view) in the object to add it...
asked by 03.02.2016 / 13:50
1
answer

Problem writing the checkBox text value in my database

You want to save the days of the week selected by the user, saving the contents of the label as a string. What comes to the controller when I select all checkBox Domingo false Segunda-Feira false Terça-Feira false Quarta-Feira I wanted t...
asked by 19.02.2016 / 17:38
2
answers

Parameter query string asp.net MVC

I need to avoid in ASP.Net MVC that a user simply by changing the URL of the page has access to other data. Example, it can access the page www.dominio.com.br/usuario/1 and need to block that it simply by changing the end ( www.domi...
asked by 21.03.2016 / 04:26
2
answers

Pass the text instead of the id in the dropdown

I wanted to pass the dropdown text to the controller (Post) instead of the id, I do not know how I can do this. Controller: ViewBag.AnoCatequeseID = new SelectList(db.AnoCatequese, "AnoCatequeseID", "Ano"); View: @Html.DropDownListF...
asked by 11.03.2016 / 16:42
0
answers

ASP.NET MVC - Alternative to DDD [closed]

I'm going to start building an application let's say small, initially about 5 CRUDs and only 1 Core (this is a bit more complex in terms of business), but the goal is for it to grow with the passage of time, using .NET Framework 4.5.1 and Entity...
asked by 12.01.2016 / 11:31
0
answers

Visual Studio 2015 - debug stopped working asp.net mvc [closed]

When I hover over a variable when debugging a C # application in Visual, it crashes and displays some messages. I am running Visual Studio 2015 Community on 64-bit Windows 8.1. Does anyone know what can stop them from showing?     
asked by 18.01.2016 / 00:59