Home » .NET

.NET

Articles On XSockets, ChatOps, VSCode, AWS, Azure, Lucybot, Architecture

Welcome to 1Gig Tech 24th edition! In today’s edition, there are 23 articles on technology, news, open source, community on the fantastic and ever evolving technology world. Considerations When Writing a PowerShell Function (Boe Prox) Here’s how to make the jump from simple lines of code to something that’s a lot more useful. ​Check your Google security and get 2 free ...

Read More »

Windows: removing file and directory reparse points (symbolic links, directory links, junctions, hard links

The interwebs is full of posts telling about how to create file and directory junctions**. But there is little information about removing them and even less being correct: some suggest to del a directory junction (which just deletes everything in it but the junction). Finally there is little information about listing all junctions, so lets start with that: Deleting a ...

Read More »

Articles on Performance, DSC, PowerShell

Welcome to 1Gig Tech update! Happy New Year! The New Year edition has 16 articles on technology, news, open source, community on the fantastic and ever evolving technology world. How To Create Strong Passwords That You Can Easily Remember (Joseph Steinberg) In an earlier article I described some of the problems with so-called complex passwords – passwords that consist of a mix ...

Read More »

Getting Visual Studio Code Ready for TypeScript : Part 1: Compiling TypeScript to JavaScript

This is the first part in a series of blog posts on Getting Visual Studio Code Ready for TypeSript: Compiling TypeScript to JavaScript (this post) Why TypeScript? In case you’re new to TypeScript, Wikipedia defines TypeScript in the following way (paraphrased): TypeScript is designed for development of large applications and transcompiles to JavaScript. It is a strict superset of JavaScript ...

Read More »

LINQ – Methods returning single values

Over the last few weeks I have been writing about the basics of LINQ, and how we can use it to organize collections of items. Today I would like to take a look at a special class of LINQ methods: those returning single elements or values, instead of an entire collection. If you are interested in more of my thoughts ...

Read More »

Rich domain objects with DivineInject

DivineInject is a .net dependency injection framework, designed to be simple to use and easy to understand. You can find the source for DivineInject on github. In this second part in the series we’ll look at creating rich domain objects, the first part covers getting started with Divine Inject. Simple Domain Objects As an example, imagine I have a simple ...

Read More »

Implementing Inheritance with Entity Framework Code First

1. Introduction This walkthrough is an introduction to implementing inheritance with Entity Framework, Code First approach. A simple strategy for mapping database tables might be “one table for every persistent class”. This approach sounds simple enough and, indeed, works very well until I encountered inheritance. The requirement I was tasked with was simple, develop and implement a database for books. In ...

Read More »

Using EF6 with ASP.NET MVC Core 1.0 (aka MVC 6)

This week Microsoft announced that it is renaming ASP.NET 5 to ASP.NET Core 1.0.  In general I think this is a very good step.  Incrementing the version number from 4 to 5 for ASP.NET gave the impression that ASP.NET 5 was a continuation of the prior version and that a clean migration path would exist for upgrading apps from ASP.NET 4 ...

Read More »

Compare Registry Settings – Beyond Compare

I think that Compare Registry Settings is one of the most unknown features of Beyond Compare. So if you are a Windows that fights with the Registry every now and then, this feature is for you. Note it is in the Windows Pro Edition only: one more reason to buy a license (: It has been there since Beyond Compare version ...

Read More »