Every Developer is an API Designer

Every function; every class; every struct and enum and protocol is an API. YOU — are an API designer As developers, we move into and out of the role of “API Designer” constantly. Have you ever thought about that? You are an API designer! You create Application Programming Interfaces all the time. I believe that […]

Entity Framework Tip – Specifying Decimal Precision

By default, Entity Framework takes the .Net decimal Type and maps it to SQL Server’s decimal(18,2) data type. If you’ve got a property on an Entity that is of Type decimal, but down in your database, you’re allowing for greater precision than 2 decimal places (scale is actually the proper term for the number of […]

Solving ‘Spatial types and functions are not available’ with Entity Framework

Using SQL Server’s Geospatial features with Entity Framework is awesome. I was crusing along just fine with using DbGeography for an ASP.Net application I’m working on… Right up until I deployed to the server. Yep. It worked on my machine, but alas, I was hitting a runtime exception on my test server. This was the […]

TypeScript Build Errors When Publishing ASP.Net Web Project

I had TypeScript files building and running perfectly when I’d debug locally, but when I changed over to publish the project, I got build errors galore: Cannot find module ___ TS6053 – File ___ not found I had forgotten that I set up my TypeScript Build configuration for Debug, but I hadn’t changed anything for […]

401 Unauthorized Browsing Site From Local IIS Instance

I spent waaaaay way way way too long fighting this one, so I’m saving everything I found on the issue so that I never lose it. Jump to… Setup Problem Solution (with original sources) Was this article helpful? Please share! Setup Running Internet Information Services (IIS) 8.5 on my laptop. Set up a site with […]

Using PowerShell to Install a DLL into the GAC

A couple of ways exist to install a DLL into the Global Assembly Cache (GAC). Using gacutil.exe is one, but this comes as part of a Visual Studio installation, and in a server environment, you may not have the luxury of installing Visual Studio, just to get the utility installed. An alternative, however, is to […]

Diagnosing “Restore failed” with ASP.NET 5 on Mac

Following along with Steve Smith’s “Your First ASP.NET 5 Application on a Mac”, I found myself frustrated that, despite all my efforts, the simple little sample project I was trying to get running just wouldn’t work due to a problem with restoring the project’s dependencies. Jump to… Retracing my steps Mis-matched Mono versions Resolved Was […]

Analyzing Swift Protocol Extensions and C# Abstract Classes

Being a C# developer by day and a Swift developer by night has me constantly thinking about the similarities and differences between these two languages. I genuinely enjoy programming with each, and I love it when I can take a strategy that works well in one language, and see where that might cross over to […]

SQL Sever Synonyms, Entity Framework, & Integrated Security

Jump to… Scenario Login failed for user ‘NT AUTHORITY\ANONYMOUS LOGON’ Resolving the error Creating the view Granting permissions Was this article helpful? Please share! Scenario This may be an edge case, but I spent enough time (a couple of days) spinning on this that I thought it warranted a signpost on the Internet. Suppose we […]

Testing is to Software as Experiment is to Science

The principle of science, the definition, almost, is the following: The test of all knowledge is experiment. The sole test of the validity of any idea is experiment. These quote came from Chapter 1 and Chapter 2 of the Feynman Lectures on Physics. I’m not a physicist, but the software developer in me resonated with […]