I got around to trying Visual Studio 2017.
Using intellisense when editing Razor .cshtml files seems to be broken. Sometimes it doesn't work at all.. or appears for a flash and then disappears. Here's a video showing you my joy:
Plus... sometimes I don't get any of the extension methods:
I get absolutely no information on function parameters:
And on the rare occasion that it does appear... it's completely in black and white with no highlighting!
Is this just on my machine? Does it work for everyone else?
You learn a lot when writing code.
Programming is hard, but us programmers never like to admit it. Except for the wonderful Scott Hansleman who wrote this fantastic article. And on a similar note. And a good explanation on why we are all so grumpy.
Oh and did you know that programming sucks?
Oh and the code for Toyota 2005 Camry is TERRIBLE.
I write this post to assure fellow devs that you are a REAL programmer. Don't stress about not knowing everything or not knowing enough. There's too much to learn. The time it takes to get good at a language or framework is the time it takes for it to become obsolete! Programming sucks but is great fun. Just don't let it get you down :)
In a couple of months I'll be speaking at NDC Sydney - my topic is "How to change things at your company" - a lightning talk on how to enact change. This is a non technical talk, which is fantastic, because I don't fancy having to answer technical questions from such a tough audience!!
This will be my first "big" conference, and I have to thank Lars Klint for his fantastic support in choosing me to speak at the DDD conference last year, which really gave me the confidence to submit a few talks to NDC. I should also link to a great article by Troy Hunt titled Speaker Style Bingo which is a killer article that helped me a lot in preparing my talks. Thanks guys!
A few weeks back we did a great gig at the Ding Dong lounge. I borrowed my brother's Gibson Les Paul for a couple of songs and it ROCKED. I have to say.. I'm pretty darn proud of my solo in this video!
I thought it would be fun to build a MIDI patch changer, something like this one.
So I bought a simple arduino kit and started knocking it together. Fortunately I've done a bit of electronics beforehand so I found it quite easy. The prototype has been built:The next step will be mounting it in a box. Good fun!
Within your organisation you probably have shared code that is common across multiple projects? You know, code that does boring stuff like sending an email, error message logging or generating a nice bit of HTML.
So the question is, How do you manage that code? Do you:
All of these solutions work, but when it comes to keeping your common code up to date, and knowing which versions are used by which applications, you're going to start running into problems.
But isn't NuGet what Visual Studio uses for managing external, public packages? Yes it is. But did you know you can host your own private NuGet repository, create your own...
Read More ->
This is part two in a series of posts. For the introduction post on how to do it all with a NuGet package, see asp.net two factor auth with google authenticator app. This article is about how to implement it manually and how it works behind the scenes. A lot of this code is based on an article by Jerrie Pelser titled Using google authenticator with asp.net identity.
If you already have an application that is utilising ASP.NET's identity service, you can made a few modifictions to include the Two Factor authentication code.
To show how this can be done, first off create a new ASP.NET application, choose "MVC", and set authentication to "Individual User Accounts". In this example we are creating a new application for managing our own movie DVD collection, so we will name it MovieManager.Read More ->