Posts by Thiago Henrique • 544 points
21 posts
-
-1
votes0
answers7
viewsQ: How do I remove # from the URL of an Angular application published in an Azure Application Service?
Good night. I have an application developed in Angular 11. I need to remove # from the address, since it looks like this : https://meusite.com.br/#/login. I want to take out the # that is put in the…
-
3
votes1
answer291
viewsQ: Ignore Automapper property
I’m using Automapper version 7. I need to ignore a property that is in the result class and has no source class. As below. public class Contrato { public string Id{get;set;} public string Nome…
-
0
votes1
answer40
viewsQ: Changing excel cell values
Need through MACRO to change the value of a cell in excel. A field of the accounting type has the following value: R$15,326685459. I need to change the cell automatically to stay: R$15,32000000000.…
-
7
votes2
answers613
viewsQ: Create shortcut of type 'prop' or 'propfull' in Visual Studio
I would like to create within Visual Studio a shortcut of the type prop or propfull to automatically create a code snippet. the prop + TAB + TAB public int MyProperty { get; set; } the propfull +…
-
1
votes1
answer10554
viewsQ: Generate Mysql Workbench Script
Good afternoon. I use Mysql Workbench 6.3. I need to generate the script to create the local database to publish on the server. It is completely impossible to create everything again in the hand…
-
3
votes2
answers1387
viewsQ: Name of fields of a generic object - Reflection
Good morning, everyone. I have a problem that I believe can be solved with Reflection, but I do not know how to use and I hope you can help me in my difficulty. I have an object that will be passed…
-
1
votes1
answer780
viewsQ: Httpwebrequest C#error
I am making a request in a URL and trying to get the answer, I get the following error: The underlying connection was closed: Unexpected error in an upload. The point is that this instruction worked…
-
0
votes1
answer400
viewsQ: Implement Oauth server
I would like to know how to implement an authentication server using Oauth. If anyone has a clue how to do that, I’d appreciate it.
-
1
votes1
answer678
viewsQ: Fill class with bank result
Good afternoon everyone. I have a huge need to be able to put together a situation. I have an object DataTable with the result with the column "ID_CLIENTE". I have an object Cliente with the…
-
4
votes2
answers464
viewsA: Difference of hours query sql server
Use the DATEDIFF SELECT DATEDIFF ( HOUR , '2016-10-13 09:04:00.000' , '2016-10-13 20:33:00.000' ) Diferenca
-
1
votes1
answer204
viewsA: capture value from another input with jQuery
Just change the line var id = $('#cliente').val(); To var id = $('#nome').val(); Don’t forget to set the type of your input client.…
-
2
votes2
answers808
viewsA: How to save program settings, database or configuration file?
In my view, both app.config in Winforms and web.config in Webforms should be used for settings for system operation so that the system does not work without a certain configuration. In your case, I…
-
0
votes3
answers1898
viewsA: How to call a Javascript Function inside a Razor?
Add the onchange attribute of your element to the function verificaData() @Html.EditorFor(model => model.DataNascimento, new { htmlAttributes = new { @class = "form-control", @onchange =…
-
1
votes1
answer8493
viewsQ: Generate Excel in SQL SERVER
Good afternoon. I need to generate an excel file by SQL SERVER. And I need to specify the data type of the cells in that file. For example, in the value cells, set the data type to "R$" for example.…
-
2
votes2
answers179
viewsA: Checking date within a range in SQL
You can use the DATEDIFF that gives you the difference of the date searched according to the first parameter, in your case in days (DAY). CASE WHEN DATEDIFF(DAY, e.DataTrm, GETDATE()) BETWEEN 30 AND…
-
0
votes0
answers1000
viewsQ: Create Custom Credit Card Mask
Good afternoon to all. I need to create a mask for a text field to mask credit card in the following format: Without mask: 4854 5654 2245 5654 Masked: 4854 xxxx xxxx 5654 Does anyone know how I can…
javascriptasked Thiago Henrique 544 -
1
votes1
answer79
viewsQ: Grab Control Not Typed in View Typed
I need to take the page post the elements that I’m not creating from the model, for example the input with the id "type". How can I catch him in the process ActionResult the elements are not created…
-
1
votes1
answer39
viewsA: VS 2012 Express does not access TFS 2012 Express
thank you very much for your commitment. But after trying so hard I was able to identify the problem. The Team Foundation creates an application TFS in the IIS. And there are the Authentications…
team-foundation-serveranswered Thiago Henrique 544 -
0
votes1
answer39
viewsQ: VS 2012 Express does not access TFS 2012 Express
I installed TFS 2012 Express on a server and everything is installed right. Web access by address ipdoservidor:8080/tfs normally. But when I try to search for the VS 2012 that I have on my machine,…
team-foundation-serverasked Thiago Henrique 544 -
10
votes2
answers1467
viewsQ: Method to execute when destroying class instance
There is some way to execute a method automatically by destroying a class instance. I have a generic SQL class, where in the constructor I call a method that opens the connection. Only I want to…
-
0
votes0
answers63
viewsQ: Read page with asynchronous call
I make a call via WebRequest and this page has a Javascript function that the result of it cannot recover (it loads an image). I need to wait to finish loading the page for after the page is fully…