Manu's Techblog

Manu's Techblog

Game and Web Development with Unity, Angular & .NET Core.

Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 4: Cross-Origin Resource Sharing
Node.js

Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 4: Cross-Origin Resource Sharing

Welcome back to the fourth part of the series [https://manuel-rauber.com/tag/series-node-js-and-asp-net-core-1-0-usage-comparison/]! Don't forget that everything explained in this post can be seen in the open-source GitHub project [https://github.com/thinktecture/nodejs-aspnetcore-webapi/]. The post itself contains important code pieces only. Same Origin Policy For security
5 min read
Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 3: Basic Routing
ASP.NET Core

Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 3: Basic Routing

Welcome back to the third part of the series [https://manuel-rauber.com/tag/series-node-js-and-asp-net-core-1-0-usage-comparison/]! Don't forget that everything explained in this post can be seen in the open-source GitHub project [https://github.com/thinktecture/nodejs-aspnetcore-webapi/]. The post itself contains important code pieces only. In this part we take
5 min read
Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 2: Web API Server Setup
Node.js

Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 2: Web API Server Setup

Welcome back to the second part of the series [https://manuel-rauber.com/2016/03/07/node-js-asp-net-core-1-0-a-usage-comparison/]! Don't forget that everything explained in this post can be seen in the open-source GitHub project [https://github.com/thinktecture/nodejs-aspnetcore-webapi/]. The post itself contains important code pieces only. In this part
4 min read
Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 1: Intro
Node.js

Node.js & ASP.NET Core 1.0: A Usage Comparison - Part 1: Intro

Some days ago I was talking about Web APIs with Node.js for .NET developers [https://speakerdeck.com/manuelrauber/web-apis-mit-node-dot-js-fur-net-entwickler-uber-den-tellerrand-geblickt] at the BASTA! [https://basta.net/] Conference in Darmstadt, Germany. We from Thinktecture [http://thinktecture.com] had a blast at this great conference! My main focus in this session was
3 min read
Back to the roots: Creating thin Web APIs using the Core of ASP.NET Core 1.0
ASP.NET Core

Back to the roots: Creating thin Web APIs using the Core of ASP.NET Core 1.0

I'm currently fiddling about ASP.NET Core 1.0 [https://docs.asp.net/en/latest/] using VS Code [https://code.visualstudio.com/] on my Mac. I have a simple scenario: Building a Web API which has CRUD operations for a CustomerModel. So purely HTTP things. :-) My controller
2 min read
Supercharge your ghost.io blog with CloudFlare
CloudFlare

Supercharge your ghost.io blog with CloudFlare

Intro As you may noticed I switched my blog over to ghost.io [https://ghost.io/]. My colleague and friend Thorsten has a nice blog post [https://www.xplatform.rocks/2016/02/01/ghost-as-blogging-platform/] about the reasons which I highly share. Writing posts and creating templates is so much cleaner,
7 min read
Angular 2 Spinner Component
Angular

Angular 2 Spinner Component

As I posted the little Input Debounce Component [https://manuel-rauber.com/2015/12/31/debouncing-angular-2-input-component/]some days ago, here is a very little Angular 2 Spinner Component. The component uses a spinner from Tobias Ahlin’s SpinKit [https://github.com/tobiasahlin/SpinKit]. For completeness, I’ll post the CSS and
3 min read
Automatically augment find() results of SequelizeJS with Auth0 user data
Auth0

Automatically augment find() results of SequelizeJS with Auth0 user data

For my current side project (aside from TankZ! [https://manuel-rauber.com/2015/06/15/tankz-a-game-made-to-learn-unity/];-)) I’m using Auth0 [http://auth0.com] for identity management as well as SequelizeJS [http://docs.sequelizejs.com/en/latest/] with a MS SQL server. That said, I don’t have the user data
3 min read
MSSQL

Connect to MS SQL using Node.js and SequelizeJS

Today I tried using Node.js together with SequelizeJS [http://docs.sequelizejs.com/en/latest/] to connect to a named MS SQL instance. SequelizeJS is an ORM providing abstractions to work with databases like PostgreSQL, MySQL, MS SQL and more. While the documentation is really good, it is missing the
2 min read