Microservices with Benefits There was a time where I felt a little bit embarrassed to admit that I didn’t really know what a The Power of Native I've recently wondered if a Raspberry Pi 4 would be capable to work as a digital photo frame that you Two ways you can take advantage of types in JavaScript (without TypeScript) TypeScript is often described as the solution for making large scale JavaScript projects manageable. One of the arguments supporting this The story of how I created a way to port Windows Apps to Linux Some day during a weekend sometime around the summer in 2018 I was doing house chores while listening to a ElectronCGI 1.0 - Cross-platform GUIs for .Net Core I'm very happy to share with you version 1.0 of ElectronCGI. If you don't know what ElectronCGI is, it's a ElectronCGI - A solution to cross-platform GUIs for .Net Core .Net Core brought the ability to run (and develop) .Net in multiple platforms. However, it is still not possible to TPL Dataflow in .Net Core, in Depth - Part 2 This is the second blog post on the Dataflow library. You can find the first one here. If you TPL Dataflow in .Net Core, in Depth - Part 1 TL;DR - This article became so long that I decided to break it down in 2 parts. This is ElectronCGI - Cross Platform .Net Core GUIs with Electron UPDATE 2019-12-17: There's a new version of ElectronCGI, you can find out more about it here. It was a very ASP.NET Core Web Api Antiforgery When deciding how to secure a Web Api there are a few choices available, for example you can choose to Sign in with an External Login Provider in an Angular Application Served by ASP.NET Core Being able to sign in with an external login provider (for example Google or Facebook) is a good way Software Development as an Emergent System Emergent systems are sometimes described as systems where the whole is greater than the sum of the parts. I personally Secure an ASP.NET Core Web Api using Cookies There's this frequent notion that you need to use tokens to secure a web api and you can't use cookies. Everyone is watching what you do online. How user tracking with cookies works Have you ever visited a website to check out something you want to buy only to be inundated with Refresh Tokens in ASP.NET Core Web Api One thing that comes to mind when using access tokens to secure a web api is what do you ORM-less Data Access in .Net Core The use of Object Relational Mapper libraries (ORMs) is so prevalent today that it's uncommon to see anyone question their IIS, colons in the URL and Angular named outlets Angular routing supports multiple views through a feature named router outlets. This feature allows for parts of the same Setting up Entity Framework Core Setting up Entity Framework in .Net Core can at times seem difficult. It's easy to hit speed bumps like not ASP.NET Core Development in Linux When .Net Core came out there was a lot of excitement about the idea of developing .Net code outside of Logging in .Net Core Console Apps Being able to quickly throw together a console application is a good way to automate a repetitive task. Sometimes these Angular and ASP.NET Core The Angular CLI provides a way to develop front-end applications using angular that hides a lot of details. For Anatomy of an ASP.NET Identity PasswordHash Have you ever looked at a user record in an ASP.NET Identity's users table and wondered just what is being Things you wanted to know about storing passwords but were afraid to ask Security breaches are very common. To make matters worse, when it comes to users' passwords it is frequent that no Create Your Own ASP.NET Core Middleware ASP.NET Core uses the notion of a pipeline of middlewares. Each time a request is handled by ASP.NET, it goes Secure a Web Api in ASP.NET Core There are a few resources that you can find that teach how to secure an ASP.NET Core web application. I've The Road to Modern JavaScript When I recently decided to learn webpack I realized just how many new things were added to the JavaScript ecosystem Keeping Secrets in ASP.NET Core There are things we don't want to make public in an ASP.NET project. The best example is the database credentials ORMs, Lazy Loading and Web Applications What do these three things have in common? They are frequently used together. Is that a good idea though? No, Facebook Login in ASP.NET Core Being able to have your users sign in to your website using their social media account is a great way External Login Providers in ASP.NET Core Being able to have your users authenticate using Google, Facebook, Twitter, etc is a great way to remove the annoyance HTTPS in ASP.NET Core from Scratch Recently, when looking at how to configure authentication using external login providers (e.g. Google, Facebook) with ASP.NET Core I noticed Using OpenSSL to Create Certificates There are a few reasons why you may want to create your own digital certificates signed by your own Certificate Brief(ish) explanation of how https works When learning about how to use OpenSSL to create self-signed certs, it became clear to me that most of the Rethinking email confirmation We are very accustomed to how user registration works online. Enter your email, possibly pick a username, enter password, re-enter ASP.NET Identity Core From Scratch Being able to have users create accounts on your website is the first step in creating a service that you Cross platform database walk-through using ASP.NET MVC and Entity Framework Core The release of .Net Core made it really easy to use .Net and C# outside of Windows. However, when it Don't just turn off the cache If you've ever had to deal with ajax GET requests in Internet Explorer you will undoubtedly found out that IE Electron is Amazing TL;DR This post describes what I had to learn about Electron to be able to build a cross platform pomodoro How to make a web page that looks like a desktop app Usually when you think HTML and CSS you don't imagine desktop apps, but nowadays there are more and more examples On Software and Hammers In 1964 Abraham Kaplan said: "Give a small boy a hammer, and he will find that everything he encounters needs Hack your brain to learn more, faster and better I had a really hard time naming this post. It's hard not to make it sound like something dodgy, like What exactly is a "unit" in unit testing? This should be an easy question to answer, right? Turns out that there are several definitions of unit testing, and Principle of reasonable expectations The area of design has a very elegant principle named The principle of least astonishment. Sometimes it is also referred Why composition is superior to inheritance as a way of sharing code Inheritance is one of the pillars of Object-oriented programming (OOP), the other two being polymorphism and encapsulation. Inheritance is therefore 7 tips to find code faster in a web application It's difficult to locate where a certain functionality is implemented in a code base that is unfamiliar to us, and Time to start getting familiar with Owin/Katana Owin showed up sometime in 2012. The first time I've heard about it was on an Hanselminutes episode about Kayak How to manually use the ASP.NET MVC's client side validation infrastructure ASP.NET MVC client side validation is based on the jQuery validation plugin. It can be said that MVC's client-side validation Split your web application into smaller web applications Working in big projects can be difficult, however most of that difficulty comes from accidental complexity (mostly unnecessary complexity introduced Setup ASP.NET Identity using StructureMap TL;DR: If you find yourself in a hurry, and you just want to quickly check how to setup ASP.NET Identity WCF Security Survival Guide - Part 2 - Authorization In the first part of this series I described how you can secure your WCF service. The first part describes Handle the keyboard like a Pro with easykeyjs After being asked once again to add some keyboard shortcuts to a web application, and being tired of doing things How to gracefully handle added/removed dependencies in unit tests NOTE: This is not my idea, this is Brad Wilson's, but it's so useful, and as far as I know, WCF Security Survival Guide Setting up security in WCF can be a daunting task, there are so many switches that you can turn that Dependency Injection Without Referencing Implementations Dependency injection is all about connecting abstractions with implementations. Carefully defining dependencies produces a codebase with more abstractions (interfaces/abstract classes) What inverts in the dependency inversion principle? Have you ever wondered why the dependency inversion principle is named the way it is? The dependency inversion principle is Authorization redirect loops in ASP.NET MVC Are you having problems with redirect loops in your MVC app? Maybe you are using ADFS or another identity server/security Security testing without committing to a particular authentication mechanism in ASP.NET MVC Have you ever been in the start of a project where there is no agreement about how to authenticate your What does it mean to be authenticated in ASP.NET MVC? Have you ever wondered how your user information gets to your action methods in MVC? For example, when you use Promises vs Callbacks A few months ago I answered a question on StackOverflow that got a lot of attention, especially after I've submitted Finding out where in a codebase a jQuery event is being registered and unregistered with the special events api jQuery allows you to define extra functionality around events, namely it is possible to define behavior that happens when the Quickly finding and debugging jQuery event handlers with findHandlersJS tl;dr: Finding event handlers registered using jQuery can be tricky. findHandlersJS makes finding them easy, all you need is the Interaction testing, fakes, mocks and stubs Today I was procrastinating by reading unanswered questions at StackOveflow, when I noticed a question about what Mocks are. I TDD, BDD, [add every other method that promises software quality here] and the tea tasting lady What can possibly TDD, BDD or adhering to SOLID have to do with a lady that is funny about her Using ASP.NET MVC’s Html.DropDownListFor helper Html.DropDownList is used when you need to create a view that has a dropdown that allows you to select one Where’s my ID? Retrieving the value of an identity column from a record in a database table after inserting it may sound ridiculously Getting the right encoding in a SSH session using PuTTY Recently I bought a cheap netbook to use as a media center at home, it came with Ubuntu 11.04. Everything