All Questions

2
answers

Difference cast using "as" and "type cast"

A question about casting in C #, I see in many sources using cast in the following ways. What's the difference between one and the other when using one way or another? public interface InterfaceTeste { int Id { get; set; } } public...
asked on 23.03.2018 / 20:28
1
answer

Using DataAnnotations in DDD Projects

We have a doubt that the analyst raised when using DataAnnotations in the ViewModel in projects that use DDD in the case has a Domain layer and in case it will not expand, this use would eliminate the domino layer because it is duplicating the f...
asked on 11.01.2018 / 12:46
2
answers

What is the purpose of the GetHashCode () method?

I am using Resharper to automate overwriting of the Equals method and the == operator. One of the methods the tool overwritten is GetHashCode : public override int GetHashCode() { unchecked { return (Id.GetH...
asked on 20.03.2017 / 14:14
2
answers

How is good documentation done using SCRUM?

I'm developing documentation using the agile method SCRUM , I do not know if I'm on the right track, and many people have difficulty with it, so I decided to ask this question, > Introduction : summary of what the system will be. R. Prod...
asked on 30.12.2016 / 01:51
3
answers

What is the problem of allocating memory with new and then not deleting?

What can happen if I use new to allocate memory and then not release it? And when it is in the situation below, that I can not erase the allocated memory, since I need to return, what do I do? const char* enc(const char* Str) { auto len...
asked on 07.03.2018 / 01:35
2
answers

Apply CSS when two classes are together

How to apply a CSS configuration only when a tag has the name1 and name2 classes at the same time? I tried with the following code, but it is not working. Does anyone know how to do it? .nome1 { color: black; } .nome2 { co...
asked on 10.02.2017 / 19:19
1
answer

What does the namespace really look like? [duplicate]

I would like to realize the great need and utility of namespaces in the MVC architecture. In what circumstances does the use of namespaces become indispensable? Give an example of a concrete case if possible.     
asked on 07.04.2017 / 15:43
2
answers

How do I know if a value is iterable in Python?

How can I do to check in Python if a particular value is iterate? What determines that a given type can be iterate? For example, how do you figure this out in the case below? a = 1 b = 'Uma string' c = [1, 2, 3] d = xrange(1, 10)...
asked on 11.01.2017 / 13:02
2
answers

How to identify the MVC version?

How can I identify the MVC version I'm using in my project?     
asked on 09.05.2017 / 01:55
2
answers

How do web site hosting systems work? [closed]

I'm creating a website and would like to host it, but I have some doubts as I've heard that the hosting has monthly access limits or limits on the size of the databases. So I'd like to know: 1: What are the types of limitations that a commo...
asked on 02.06.2017 / 18:41