Posts by SomeDeveloper • 18,074 points
129 posts
-
5
votes1
answer292
viewsQ: In Winforms how do the datepicker cursor walk when typing the date?
The question is about Winforms' Datetimepicker control. When we type the date, instead of choosing the calendar, the cursor does not walk. That is, we typed the two digits of the day, and instead of…
-
-1
votes1
answer4231
viewsQ: When using Boleto.NET is it necessary to assemble the shipment file manually?
In a financial system already built by another developer the Boleto.NET library was used to generate boletos Itaú. I would need to add support for Santander billet generation, but I can’t figure out…
-
4
votes3
answers187
viewsQ: How to understand and deal with the cost of Azure?
I’ve known Azure for a long time, read a lot and watched several videos but never used it. What I know about payment is that you only pay for what you use. It turns out that recently an acquaintance…
-
2
votes2
answers108
viewsQ: Is there a Pattern design that can help with this problem?
I have a problem that seems fairly common to me. The problem, in the specific case, is the following: the user wants to register in the system the services available for sale along with the values.…
-
2
votes1
answer51
viewsQ: How to obey the Open/Closed principle in this situation?
I have a situation where the solution that I have clearly identified violates the Open/Closed principle and I would like to find a better solution that does not violate that principle. Obviously my…
-
0
votes2
answers256
viewsQ: How do I make the program display a message once on the last day of the month?
I am working on the development of a financial program in Windows Forms and a requirement appeared that I am not yet knowing how to do. The requirement is as follows:: On the last day of the month…
-
0
votes1
answer787
viewsQ: How to extract the information from the Itau return file in C#?
I’m developing an application in which the Boletonet library is being used to generate billets. In this case the library itself when generating the boletos also generates the remittance file that…
-
8
votes4
answers7214
viewsQ: Difference between epics and Features
In Visual Studio Team Services you can organize the backlog in epics, Features and user Stories. For each Epic, a set of Features associated can be defined, and for each Feature a set of user…
-
5
votes1
answer473
viewsQ: How to correctly write a project vision document?
I am a developer who works alone and for some time questioned here on what documents would really be important to be produced at the start of the development process. Analyzing the accepted answer,…
-
8
votes1
answer102
viewsQ: What to do if the end user doesn’t want to collaborate?
After reading a lot about agile methodologies and Domain-driven design, I was convinced that it is of vital importance for the development of software that the domain specialist (who is often the…
-
4
votes1
answer113
viewsQ: How to determine Stories users?
An important process in software development is the organization of what really needs to be developed and the prioritization of what needs to be done first. As far as I have seen, one strategy to do…
-
1
votes1
answer235
viewsQ: Data persistence using Event sourcing
Recently I heard about Event Soucring in a video by Greg Young and I found an idea that seems to be very useful in various systems where having a data history is important. What I understood is that…
-
10
votes3
answers271
viewsQ: How to avoid the use of setters in such cases?
In object orientation it is recommended to avoid the use of setters. The usual justification for this is that the logic that modifies the state of an object must be encapsulated in the object.…
-
5
votes2
answers3965
viewsQ: How do you "synchronize" a branch with a master before working on it?
I’m in the following situation: I have a Git repository, and at a certain point I created a branch from master. I didn’t do much in that branch at the time, and then I advanced the master branch…
-
7
votes0
answers139
viewsQ: Organizing requirements using Visual Studio Online backlog
I recently started using Visual Studio Team Services, mainly for the availability of free Git private repositories. After a while I realized that it has several resources to manage requirements and…
-
5
votes2
answers390
viewsQ: Why use Docker in Azure?
This year I saw that Azure provided a container service called "Azure Container Service". This service, among other things, allows you to use Docker in Azure. It turns out that Docker is a container…
-
1
votes2
answers1164
viewsQ: How to make the selected line font bold in Datagridview?
In Datagridview of Windows Forms it is possible to change the font color and background color of the selected line easily using the properties DataGridView.DefaultCellStyle.SelectionBackColor…
-
4
votes1
answer55
viewsQ: How to handle requirements that "mix" domain and interface?
Whenever I develop some software I try to leave the domain model without being influenced by issues relating to the other layers of the application like technologies in general and interface issues.…
-
5
votes1
answer306
viewsQ: Does programming in English conflict with the construction of a ubiquitous language?
I have already found on the internet some arguments in favor of programming in English, instead of programming in Portuguese, and we even have a question questioning what would be the recommended…
-
4
votes1
answer1081
viewsQ: Declaration of key variables in Javascript
I recently saw a type of Javascript code, in some examples of Electron, which I believe is part of ES6. These are variable statements in the following format: const electron = require('electron');…
-
36
votes4
answers4928
viewsQ: How to estimate development time?
I’m starting to try to use Kanban in practice. In this case, I work alone, so I’m trying to get this answer in a context in which there is no staff available, let alone more formal processes found…
software-engineeringasked SomeDeveloper 18,074 -
60
votes2
answers21537
viewsA: Oauth - What is it? What is its purpose?
What is Oauth 2.0 and its usefulness? Oauth is a web API authorization protocol designed to allow client applications to access a resource protected on behalf of a user. When we develop a web API we…
-
6
votes1
answer732
viewsQ: Mapping between user Stories and use cases
When we analyze requirements to develop a system it is common to use use cases to describe the required functioning. In this case I am talking about the use cases written in full and not the…
-
1
votes0
answers139
viewsQ: Customer-supplier relationship model
Long ago I asked a question here about modeling clients using object orientation. What I took from the answers is that customers, suppliers, and so on, rather than being characterized as entities…
-
8
votes1
answer1303
viewsA: What is and how does . NET Platform Standard work?
Platforms . NET When . NET Framework was created the idea was to have a framework for developing desktop applications on Windows. We can say that the framework itself was composed of three main…
-
4
votes1
answer142
viewsQ: Modifications to model and relational database
The requirements for the development of a system in general change over time. Several approaches to software development such as agile methods and Domain-Driven Design even encourage an iterative…
-
8
votes1
answer1303
viewsQ: What is and how does . NET Platform Standard work?
Recently I have studied the . NET Core and ASP.NET Core and one of the changes to the RC2 version that is to come, as far as I know, is called . NET Platform Standard. This standard is described in…
-
2
votes1
answer56
viewsQ: Statistics for remote requirements collection
When developing software one of the main steps is the collection of requirements, the acquisition of knowledge of the domain and the construction of a ubiquitous language. Both agile methodologies…
-
14
votes2
answers2969
viewsQ: Billet generation in . NET
Until today I often imagined situations in which a system might need to generate boletos, although until now I have never developed anything like this, and so I decided to search how to do it in…
-
1
votes1
answer54
viewsQ: Reason for different versions of DNX depending on the OS
A while ago I asked here about what . NET Execution Environment (DNX) really is. After reading the answer and the DNX Wiki I started to understand DNX as an interface between the virtual machine in…
-
12
votes1
answer631
viewsA: What is SASS technology?
The SASS, as you said yourself, is a preprocessor. The idea of using SASS is to extend the CSS with some features that make the task of writing style sheets easier. Some of these features are…
-
4
votes1
answer632
viewsQ: Oauth API authentication with external provider
When we use Oauth we have the "authorization server" and the "resource server". The resource server is the server on which the API is, that is, this is where the interface to the resources we want…
-
14
votes2
answers329
viewsQ: Domain-Driven Design and Requirements Survey
When we use Domain-Driven Design an important part of the development process is to contact business experts to have a good understanding of the domain in question. This can be done, for example,…
-
8
votes1
answer497
viewsQ: What is DNX really?
A long time ago I asked here what is the Runtime Environment, especially on the .NET. platform. It turns out that now . NET has DNX which is ". NET Execution Enviroment". In practice we use DNX to…
-
6
votes2
answers1296
viewsQ: Open ID Connect and Oauth 2
Last year researching a bit about authentication on API's REST I’ve heard of OAuth and saw many recommendations regarding it. I read a little on the subject, liked the same and started using it with…
-
6
votes0
answers220
viewsQ: How to use Oauth in ASP.NET 5?
In versions prior to ASP.NET 5, there was a middleware called "Oauth Authorization Server Middleware" that allowed adding an Oauth server to the pipeline and setting up token generation. The…
-
0
votes1
answer75
viewsQ: How to Persist Progressive Discount Information?
I have a situation where there is the following business rule: when using the system to place an order it is possible to place a progressive discount that occurs by adding a variable number of…
databaseasked SomeDeveloper 18,074 -
2
votes1
answer157
viewsQ: How to get the necessary knowledge about a domain?
In ddd one of the main concerns we need to have is to really understand the domain being considered, ie understand the business rules, processes and etc. Along with this is the construction of a…
-
74
votes2
answers36638
viewsA: What is the difference between SASS and SCSS
They are two different syntaxes of SASS with the same functionalities. SASS was originally the official syntax and it is somewhat different from CSS syntax, with no keys and dots and commas. The…
-
12
votes4
answers1580
viewsQ: Is this a common practice in object orientation?
In object orientation, one way to ensure encapsulation is to maintain the attributes of the private classes and modify their state via methods. In addition, to ensure the integrity of objects, it is…
-
12
votes2
answers699
viewsQ: Origin of object orientation
I have been working for 4 years with object orientation but to this day I have not asked myself the origin of this paradigm. What I’m trying to understand, basically, is what were the motivations…
-
4
votes1
answer630
viewsA: Asp.net MVC class structure
You can organize however you like, just be consistent in your choice of organization in your project. In reality, there is no right way to organize the folders and files of a project, each one does…
-
13
votes3
answers2082
viewsQ: Documentation at the beginning of a project working alone
Studying object-oriented analysis and design I found various types of documents that are built before any code is developed. Among these documents are user Stories, use cases and several UML…
-
25
votes2
answers2094
viewsQ: Principle of Liskov’s replacement
Liskov’s substitution principle says that if given types T and S being S subtype of T then S should be replaced by T. My understanding is that if I have an instance of S then I can use it in places…
-
1
votes1
answer63
viewsQ: Frameworks section of project.json
In ASP.NET projects the file 5 project.json contains some important project data such as dependencies on other packages. It turns out that this file has a "frameworks" section that in projects…
-
10
votes1
answer834
viewsQ: How is the life cycle of an ASP.NET 5 application?
This is a question that I have always had (including in previous versions of ASP.NET), but I will ask here in the context of ASP.NET 5. The question is this: when building an application with…
-
29
votes1
answer1008
viewsQ: When to increment the version using Semantic Versioning?
When using Semantic Versioning we define different versions in the X.Y.Z format being X, Y, Z nonnegative integers. Thus, given an X.Y.Z version: We increment X if a modification incompatible with…
-
6
votes2
answers174
viewsQ: How in ASP.NET 5 is this property defined?
In ASP.NET 5 in the method Configure class Startup we can receive in the parameters a reference to an object whose class implements IHostingEnvironment. One of the properties of this class is…
-
3
votes1
answer168
viewsQ: Construction of DDD object knowledge
I found on github an example project on Vaughn Vernon’s D.O.D. I haven’t had a chance to buy his book yet and read it all, but one thing I’m curious about is the fact that there are many different…
-
4
votes4
answers20361
viewsQ: Android Studio emulator with AMD processor
I’m trying to start developing apps for Android, but unfortunately I’m having some problems using the Android Studio emulator when it comes to testing the app. Basically while trying to run I get…