Me

About me...

Programmer specialized in web developement. Design, usability, search engine optimization and programming in .Net, PHP, XHTML, HTML5, CSS3, jQuery, etc.

more

18 May 2017


First of all, I created a document model in C# named EsOrganisation with some basic fields: Then I also created a factory to retrieve the Nest.ElasticClient, to simplify just have in mind that when I call to client.SearchAsync() I have already instantiated and prepared it. Structured vs Unstructured Search Structured or Unstructured Search refers as […]

more

15 May 2017


Defining interfaces You can define that a generic must implement an interface, which in essence allows you to know beforehand that a generic type will have a certain method (making it less generic) You can also use generics on the interfaces, in this case: Now when referencing the interface we must set the generic type […]

more

11 May 2017


I was deserializing an object that requires to be a string at the client but it’s actually a structure inside the database, a person’s name, saved as a Name { FirstName:”, LastName: ”, … } type of object. By using Newtonsoft’s deserializer into a model such model can’t just have a string Name as Newtonsoft’s […]

more

1 Nov 2016


Node Sass could not find a binding for your current environment: Windows 32-bit with Node 0.10.x I ran into this error today and took a bit to find what the problem was. After triple-checking I did not have another version of Node installed, uninstalling, reinstalling, restarting Visual Studio, … we finally found the issue: Visual […]

more