Questions tagged as 'asp.net'

0
answers

OAuth 2 Authentication Server in ASP.NET Web API

The company that works to develop internal applications, but due to policy issues, we will have a subdomain to handle authentication such as: login.domain.com where you will have an app responsible for administering customer data in a separate b...
asked by 11.02.2016 / 01:45
1
answer

Select GridView line with checkbox

function Selecionar(elemento,cordefundo) { var Inputs = elemento.getElementsByTagName("input"); var cor = elemento.style.backgroundColor; //manter a cor default do elemento for(var i = 0; i...
asked by 11.10.2015 / 21:30
1
answer

How to solve the medium trust problem in asp.net

I'm developing a website in Asp.Net MVC5. When I publish the site in LocaWeb and try to login with my user I received the message: Attempt by security transparent method 'Microsoft.AspNet.Identity.ClaimsIdentityFactory'2+<CreateAsync>d__...
asked by 30.05.2014 / 03:38
1
answer

Copy DLL to directory with .nuspec without referencing it in the project

I created a local NuGet. It worked well, until we found a problem that I can not resolve immediately. The following: There is a reference in the project, which calls another reference. Well, it turns out that this reference can not be added as a...
asked by 21.12.2015 / 19:01
5
answers

Search for court data on the TJSP website

I am developing an ASP.NET application with C # that will need to consult the online legal process moves. So far the only way I have found to get this information was to do the direct query on the website of the Court, make the parse of the HT...
asked by 08.08.2014 / 23:26
2
answers

What is the difference between CssClass="example" and class="example"

I came across the following code snippet: <asp:Label ID="lblStatus" CssClass="labelFiltro" runat="server" Text="Status:"></asp:Label> Until then I did not know CssClass , I would like to know what is the difference of it t...
asked by 01.11.2017 / 15:24
2
answers

Modal display when submitting a form

How do I display a modal the moment I submit a registration form? The content of this modal is only a message. The following happens, in this form a file and information is sent. Since it usually takes a few seconds for the upload to take place,...
asked by 25.07.2015 / 21:32
2
answers

When to use try catch in layered application?

Let's say I have my layers Controller Business Repository So it is necessary to create this block in the 3 layers or create only in controller ? If I do this does it guarantee that any code that is made inside it will be thrown at...
asked by 22.11.2018 / 17:01
2
answers

How to recover from an Exception and send data from it?

I would like to know if there is any way for when my system throws some kind of Exception it will only recover and send me an email informing where it occurred and which Exception was released!     
asked by 16.03.2014 / 19:16
1
answer

What are dynamic properties?

I'm studying ASP.NET and saw the following code snippet: ViewBag.QtdNovosComunicados = (from c in comunicados where c.DataCadastro > UsuarioLogado.dtUltimoAcesso select c).Count(); I understand that I am creating a new property...
asked by 20.10.2017 / 17:02