Questions tagged as '.net'

0
answers

Which is faster? Search given on the Bank or reading a cookie?

Well, in your opinion, what would be best in this situation? I'm working on an Asp MVC and Entity Framework site. I have a table of federative units where I have (simplifying) 3 columns Id, StateName, StateName. Example: 1, Minas Gerais, Mina...
asked by 13.01.2018 / 18:11
1
answer

How do I get the value of a checkbox to go through a parameter

I would like to know how I get the status of a checkbox whether it is enabled or not to pass by parameter to the controller     
asked by 04.01.2018 / 14:59
1
answer

Access Database on the client machine from Web Application

Hello, good afternoon. I'm developing a system that has only one code for multiple databases. The system has already implemented almost everything, but when I started to test the connection on the client machine, after I publish it is always...
asked by 08.01.2018 / 19:40
0
answers

Move Assembla Project to Visual Studio Team Services

The Assembla has changed prices this year and it will not be sustainable to continue with the service. Is there any way to migrate projects to Visual Studio Team Services without major complications? What procedure should I do?     
asked by 02.01.2018 / 18:05
2
answers

Accessing components from another Form

I have two Forms in my application. A Form for data from an engine that has the following fields: txtPotencia , txtTensao , and txtCorrente . I would like to access the values entered in these TextBox throu...
asked by 31.01.2017 / 13:54
0
answers

Move Cell from a GridView C # desktop

This code does nothing more than move a selected line in a datagridview . btnup - > throws the selected line up. butndown - > plays the selected line down. DOUBT: My question is, how to move only the selected cell, not the enti...
asked by 29.12.2017 / 15:46
1
answer

How to create a dialog tree with a custom language in C #

I created a dialog language for a game, but in the step where I analyze the recursion, it is always generated incorrectly. The syntax looks like this: Chance(Num);Relation(Num);Reputation(Num):Dialog>Option0[RelationInc,ReputationInc],.....
asked by 22.12.2017 / 23:23
1
answer

How to create a POST-type method in WCF (.NET) that receives a String parameter by URL and Stream by POST?

I tried to use it in my service but I can not get anything different from this error. Error : ExceptionDetail, provavelmente criado por IncludeExceptionDetailInFaults=true, cujo valor é: System.InvalidOperationException: Foi gerada uma...
asked by 04.12.2017 / 19:01
1
answer

authentication with FormsAuthenticationTicket

I need to persist the inclusions, changes, and deletions that users make on the system, every single move the user makes, so I created a Id in the tables of my BD to know which user is writing the data. I was using the Session , when...
asked by 05.12.2017 / 13:02
2
answers

How does "new" and "virtual" work in C #?

Can you explain to me how they work in C #? When I create a parent class and it has a teste() method and I want to rewrite this method in the child class, I need to use virtual and new ? If I create: class Veiculo {...
asked by 06.09.2016 / 00:13