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 […]

Up and Running with Unity IOC Container for ASP.Net MVC

The process for creating an ASP.Net MVC web application that relies on the Unity Inversion of Control (IOC) container has gotten quite a bit more streamlined since I first started working with it.  However, since I don’t start brand new software projects often, it’s often the case that it takes me a few minutes to […]

Date, Date?, and the ToString Method in VB.Net

I just spent the last 45 minutes frustrated as to why I was getting the following exception “Input string was not in a correct format.” and “[InvalidCastException: Conversion from string “MMMM dd, yyyy” to type ‘Integer’ is not valid.] I kept thinking to myself, “How hard can this possibly be?!!  I’ve done this a thousand […]

NuGet app.config / web.config Transformation Trouble

I recently hit a road bump when developing a NuGet package. Mid-way through making the package, I decided I wanted to include couple of transforms to add some default connection strings to an app.config or a web.config file.  Try as I may, I couldn’t get NuGet to apply the transforms to my project’s web.config file even […]