Filter By:

folder

Unity - LiteNetLib's Delivery Methods

today
folder Unity

While LiteNetLib may run on UDP (User Datagram Protocol) which is an unreliable network protocol, LiteNetLib offers multiple delivery methods, some of which even offer “reliability”. Reliability is in quotes because when latency is high the chance of a packet being dropped is greater than 0 (although still fairly rare). In total, LiteNetLib offers 5 different delivery methods for sending packets to peers. They are as follows: Unreliable ReliableUnOrdered Sequenced ReliableOrdered ReliableSequenced Unreliable Unreliable is standard UDP. Read more...

Unity - How to Send Data With LiteNetLib

today
folder Unity

Continuing off the previous post about how to build a basic server / client set up with LiteNetLib it’s time to talk about sending data. Because, well, a network set up that doesn’t actually send any data is kind of useless. As we already know, we listen for incoming messages from the network via an IEventListener that we pass to our NetManager. IEventListener contains an event called NetworkReceiveEvent which is triggered anytime the network receives data from another connection. Read more...

Unity - How to Create a Basic Server / Client With LiteNetLib

today
folder Unity

LiteNetLib already provides a good example for creating a basic server / client set up in their documents, but if we want to use it with Unity there’s a few extra steps we’ll need to take. This article intends to cover the missing steps, and assume you already have LiteNetLib added to your Unity project. If you need guidance on adding LiteNetLib check out: How to Setup LiteNetLib With Unity Read more...

Unity - How to Set Up LiteNetLib

today
folder Unity

TL;DR Download the most recent stable release source code zip and copy the /LiteNetLib folder to the Plugins folder in your Unity project. LiteNetLib is an UDP networking library that can be used for building multiplayer games with Unity. If you have any experience working with Lidgren you’ll feel right at home with LiteNetLib. LiteNetLib is not Unity specific, but it’s a popular choice. Create a Plugins Folder Open up your Unity project. Read more...

ASP.NET Core - Claims Based Authentication: Claims vs Identities vs Principals

today
folder aspnet

With the rise of ASP.NET Core over ASP.NET 4.x, the built in authentication has undergone a shift from role-based access control (RBAC) to claim-based access control (CBAC). The most notable change is the User property on HttpContext is now of type ClaimsPrincipal instead of IPrincipal. Before we get to far ahead of ourselves though, lets start with the basics and build our way up. Claims Claims are the foundation behind claims-based authentication (who would have guessed). Read more...

ASP.NET Core - Inversion of Control Container

today
folder aspnet

ASP.NET Core supports dependency injection directly out of the box. For Web APIs this is useful for automatically resolving dependencies needed by controllers, or if you’re a fan of Uncle Bob’s Clean Architecture it can be used to inject external dependencies such as the database into the inner layers. Let’s imagine we’re building an API that has a UserController to provide an endpoint for retrieving users via their numeric id from the database. Read more...

Launching a SaaS - Part 2 The Launch

today

Overview This is the second part of my blog series about launching a Software as a Service (SaaS) product. I intend for this series to be a collection of the lessons I’ve learnt along the way, and is meant to be an educational experience. Because learning new things is one of my motivations there will be times where I explore DIYing portions of the project that should typically be offloaded to a third-party. Read more...

WorkStation - Goodbye Windows

today

I’ve been using Windows for as long as I can remember. Back when Windows 2000 was a big deal I remember using it to play Space Cadet pinball although I was never very good at it. With the rise of Windows 10 it feels as if Microsoft is going downhill and no longer gives you “full control” of your own computer. My biggest gripe with Windows 10 is the automatic updates that it forces upon you. Read more...

WorkStation - More RAM

today

Mo’ RAM, Mo’ Problems I use my laptop for a ton of software development. I’ve been working on launching a SaaS and I often need to have a development build of the backend running along with the frontend. Both of those and a database and I’m easily eating up 5-6 gigabytes of RAM. My laptop is a Dell Inspirion 7559, and it came with 8 gigs of RAM from the factory. Read more...

Cherokee Build - 02/03/19

today
folder Car Builds

The Cherokee strikes again. A couple weeks back when my exhaust snapped just before the catalytic converter I noticed my muffler had a minor leak. It wasn’t anything major and wasn’t loud so I figured I could probably just run it till spring and deal with it when it was warmer out. The Jeep had other plans though as the leak grew in size, and became extremely obnoxious. Due to the internals of the muffler rusting and coming loose, the muffler developed a horrendous rattle that sounded like a trumpet blasting a low note when at 2300RPM. Read more...

1 of 7

Next Page