Tech Blog

Configure Sessions in .net core

By: Chris Dunn on Tue Feb 5, 2019 (4 min read)

With .net core, if you want to use functionality you will, in most cases, need to explicitly configure it yourself via middle ware.  This is actually a good thing.  It keeps your code and dependencies clean.  So if we want to utilize sessions in our application, we'll need to configure the middle ware. Configuring Sessions Even though you need to configure it yourself, it's not hard by any means. I'll explain the process and then show the code.  First you will need to add the following code in t ...

SQL Delete vs Truncate vs Drop

By: Chris Dunn on Tue May 1, 2018 (3 min read)

There are three common commands used to remove data from a SQL database.  The commands are DELETE, TRUNCATE and DROP.  I've seen DELETE and TRUNCATE used more interchangeably than they should and threw in DROP to round out the commands.  Each command serves a different use case and so it deserves a bit of attention to understand how they are different. DELETE Delete is a row level command and referred to as DML (Data Manipulation Language).  It allows you to remove rows from a table with the abi ...

Copyright 2023 Cidean, LLC. All rights reserved.

Proudly running Umbraco 7. This site is responsive with the help of Foundation 5.