All Questions

2
answers

Is there an alternative to RemoveAt?

I'm using Entity Framework in an Asp.Net MVC project where I have a simple list of strings and need to remove only the first item. I used the following command: minhaLista.RemoveAt(0); Well, but using a Visual Studio performance tool, I...
asked on 10.02.2016 / 21:02
1
answer

Malicious code not found.

I have a site that has been hacked (WordPress) and all the .php pages have added the following code: <?php $ahwwxolsc = '>> x22:ftmbg39*56A:>:8:|:7#6#)tutjyf'439277~6<Cw6<pd%w6Z6<.5'hAtcvt-#w#)ldbqov>*ofmy%)utjm!|!*5!...
asked on 11.05.2016 / 17:27
1
answer

How to create a log in html with log4net

I have a project that already uses log4net, but I would like to display this log in HTML. I searched through multiple sites and no one implemented this solution. Does anyone have any idea how to do this?     
asked on 26.06.2015 / 20:49
2
answers

How do I know if I'm programming procedurally in object orientation?

How do I know if I'm programming procedural style in an object-oriented language?     
asked on 23.07.2017 / 19:41
1
answer

Maximum number of simultaneous connections to database

I'm using a systems monitoring solution and I notice that at peak times the system has about 1500 simultaneous connections. From this data, I searched and could not find where I can check the limit of simultaneous connections to the database....
asked on 09.02.2015 / 17:55
1
answer

How do I extract the values of an Expression?

Hello. Is it possible to extract from an Expression what filters, computers, etc. were used in a query? Example: public class Program { class Produto { public int Id; public string Nome; public Produto(int i...
asked on 06.10.2015 / 22:15
2
answers

Organize site by folders in directory

I'm venturing into my first website written in PHP and there's something bothering me, which is the way the site URL is, for example: meusite.com/index.php?page=ucp&p=edit&id=58 The URL gets huge, I'd like to know the best way to or...
asked on 23.05.2016 / 05:12
3
answers

Simple National Consultation (by CNPJ)

I'm trying to implement a query of Simple Nacional , the operation is similar to the query by CNPJ of the revenue. Details I've seen so far: After loading the page, it executes a ajax ( file captcha2.js ) that returns 3 ite...
asked on 21.05.2015 / 22:42
2
answers

sending email in java does not show the error when it can not send the same

I created a system where the user himself registers and the password is sent by email. If you can not send the email, it generates an error and does not create the user, notifying the user. It was working while you were using your own mail serve...
asked on 08.03.2017 / 15:12
1
answer

How to use the ruleset functionality of FluentValidation in Web API?

I would like to use a FluentValidation feature called ruleset in a Web API project because it does not I want to have to be doing model validation manually every time an action method is called. So I used the FluentValidationModelVali...
asked on 06.01.2016 / 12:31