Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

4

ASP.Net – Ensure your Actions aren’t missing Authorization with Unit Tests

Have you ever found yourself working on an ASP.net Action and noticed there isn’t a single Authorization attribute in sight? Or gone to edit an endpoint in WebAPI, only to realize you took a coffee break at exactly the wrong time and forgot to come back and add the authorization attribute…a month ago? Or the […]

Read More...
0

MVVM – The User as an Asynchronous API (w/ Knockout)

Early into development of a fairly large modular SPA, we found ourselves needing to ask the user a series of complex questions during a complex chain of business logic. We built a quick little ViewModel and template to display to the user, added some assignable callbacks that it would generate buttons for, and called it […]

Read More...
0

MVVM Validation with KnockoutJS – Don’t put it in the View/HTML

When it comes to input validation for rich websites and Single Page Applications, a lot of the patterns out there rely on markup in the HTML/View. This works OK for smaller applications, but is terrible for larger applications that expect to be maintained and extended over time. In the past couple years I have used […]

Read More...
10

Never drag and drop files between servers again!

IT professionals (and amateurs), it’s time we had a chat. It’s time to stop dragging and dropping (or copying and pasting) files between servers and/or workstations. It’s clumsy. It’s childish. It uses memory on the server. Oh, and there’s a really easy tool to copy files built into Windows – Robocopy. Here’s the basic premise: you […]

Read More...
0

Automatic Promise Resolution for AngularJS Unit Testing

We’ve been using Angular for client-side apps for a couple years now, and it has mostly been great. The data binding works well, and the baked in dependency injection makes it very easy for our team of C# developers to write unit tests. There have been some painful moments, but they’ve mostly been growing pains […]

Read More...
3

What I Learned on SQL Cruise 2016

1. Tim and Amy Ford put a lot of hard work into making this event run. They do a great job. Everyone learns, shares, has fun, relaxes, and did I mention learns? 2. Jason Hall from SQL Sentry taught his class Tempdb Parasites, and I learned about temp table caching. This is amazing! SQL Sentry […]

Read More...
0

Jetbrains rider the VB.Net IDE we have all been waiting for

Apparently Jetbrains has been working on a .Net IDE that is based on IntelliJ. The blogpost about it was several weeks ago. And there is even a video demoiing it. Of course we all know demos can’t be trusted. But now you subscribe to receive early builds as soon as they are ready (copy pasted […]

Read More...
0

Using Heka to forward logs to the elasticsearch

Sometimes twitter can be useful. Yesterday I asked how people forward their linux logs to the logstash/elasticsearch server. And got this as one of the replies. Thanks Dan Barua and James Nugent. I’ve been setting up an ELK (Elastisearch, Logstash and Kibana) stack since last week and having heaps of fun doing so. You can […]

Read More...
0

Putting files into year folders using powershell

Powershell is great (as am I) for automating boring little tasks. So the question came to put 18 thousand plus image files that were in one folder into folders per year of Date created. So to no longer keep you in suspense, here is the complete code $SourceDir = “” $DestinationDir = “” Write-Host “Source […]

Read More...
0

Learn about SQL Server in Azure in Madison, WI

You: curious about Azure, wondering if it’s right for your organization. You run some SQL Server databases, but don’t know if you would use a VM in Azure, or should jump into an Azure SQL Database. You know there are some differences and complexities, but aren’t sure how to work with them. Me: ready to […]

Read More...
Next Page »