Posts by DouglasMendes • 463 points
11 posts
-
0
votes0
answers493
viewsQ: Microservices architecture authentication with C#
How to make a user authentication using the default API Gateway? I’ve read several articles but can’t find an example of code using Web API 2 and those I’ve seen using the Asp net core only makes…
-
0
votes1
answer140
viewsQ: Deploy Asp Net MVC
I have deployed a simple website that is still in development, the address is http://www.datussistemas.com.br, but I don’t know how to solve the problem that happens when I try to access it. Someone…
-
4
votes2
answers119
viewsQ: Best way to give Binding on objects from 1 to N - Asp.net MVC
I would like to know how best to give the Binding of data in the object FuncaoGrupo of my Controller. Each item in the list Funcoes will generate 4 Checkbox in View. I have the following class:…
-
4
votes2
answers1182
viewsQ: How to remove mask from the field before calling the controller with Asp net MVC
In my registration form I have a CNPJ field with the mask set via jquery $("#cnpj").mask("99.999.999/9999-99"); however the value is coming in my formatted controller, in my database this field is…
-
9
votes1
answer188
viewsQ: How to use Ivalidatableobject?
How to use the IValidatableObject not to validate a foreign key property during a registration? I want to validate only the foreign key in the edition.
-
2
votes1
answer108
viewsQ: Required validating property of another object
I have the following properties, however when I will validate via Modelstate.Isvalid returns that the description of the user group to be informed that it is User too, but the problem is that I am…
-
4
votes1
answer178
viewsQ: Delay in the first call WCF service
I am developing an application using WCF to distribute, everything is working smoothly, but there is a strange thing, whenever I use the service the first time it takes a lot,(almost a minute for a…
-
3
votes2
answers129
viewsA: Boxing is copying the data
In a very simple way it is the following: Boxing does conversion of the VALUE that is in the stack to heap and obviously Unboxing is the opposite. So let’s take the steps . Net did: int x = 10 //…
-
2
votes3
answers6139
viewsA: An unhandled Exception of type 'System.Invalidoperationexception' occurred in System.ServiceModel.dll
Actually this XML is correct, the problem was much more basic, in my architecture I have the project with the screens and another project with the controls, when I referenced the service Visual…
-
6
votes3
answers25089
viewsA: What is the function of a static method?
There is a difference, because the execution of this method does not participate exclusively in the context of who is calling the method but rather of application or better Appdomain. Static methods…
-
1
votes3
answers6139
viewsQ: An unhandled Exception of type 'System.Invalidoperationexception' occurred in System.ServiceModel.dll
I’m trying to consume a service but it gives the error: An unhandled Exception of type 'System.Invalidoperationexception' occurred in System.ServiceModel.dll And the message: "Could not locate…