Quantcast
Channel: Ruben Canton
Browsing all 94 articles
Browse latest View live

Some tips on C# Generics

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)...

View Article


Performing queries in .Net with NEST

First of all, I created a document model in C# named EsOrganisation with some basic fields: [ElasticsearchType(Name = "organisation")] public class EsOrganisation { public Guid Id { get; set; } public...

View Article


Setting up Neo4j to work with a C#.Net project

Just a quick guideline to refresh my mind: Installing Neo4j Server First, go to their website and download and install the latest version. If you are planning to use this installation for dev purposes...

View Article

Performing Queries with Kibana

Queries To get anything in the index: GET /_search {"query": {"match_all": {}}} To get a document type inside the index (dragon-dev is the index name): GET dragon-dev/organisation/_search {"query":...

View Article

Updating Node and npm in Visual Studio

Visual Studio comes now with its own default Node.js plus npm on first install (if chosen) which saves you time on first set up, but unfortunately it doesn’t make it so easy to update due to its...

View Article


Reducing local SQL Server DBs Disk space usage

First, you can check its Disk usage at: right click on database > Reports > Disk usage. Which also tells you how much space is used by data and how much for logging. 1. Remove full logging Right...

View Article

Parallel threads with C#

Example of some code where I decided to take the data from the DB in batches instead than all in one go, which was timing out. This could have been done one after the other, just waiting for the...

View Article

Adding an SVG with HTML5

When it comes to add an SVG to the page, so display an small icon or a big image, there are different ways to do it with pros and cons: Using the “object” tag I believe this to be the most common...

View Article


Email templates

Creating email templates can be a tedious task, with so many rules between different email readers, most of CSS not really working and us devs now so used to SASS or LESS, just the idea that they still...

View Article


Creating AWS Lambdas with Visual Studio

Fair warning AWS Services are in constant change and evolution. Check the date of this post as in the last 18 months there's been new stuff added to those services and I expect more to come in the next...

View Article

Image may be NSFW.
Clik here to view.

Salesforce Pardot forms

What is a Pardot form? Salesforce Pardot forms are a combo between a user tracking script that registers users navigation throughout your website and Form registration like the form-to-lead approach...

View Article

Web Development resources

A few links to resources to build your own website FreeFrontEnd.com Website with free stuff to add to your website, like this list of CSS loaders. Unsplash A database with thousands of great Creative...

View Article

Some notes on Blazor

What is Blazor? It’s a new .Net technology that allows to implement web’s client side codes using C# and compiling to Web Assembly, a new web standard that all modern browsers implement (it’s meant to...

View Article


Google ReCaptcha v2 and Angular1

A bit obsolete but still of use if you got a legacy project with these. Google ReCaptcha In order to include Google ReCaptcha in your website you need a Google account and get into the “Google...

View Article
Browsing all 94 articles
Browse latest View live