Blog
Techdays 2014 The Netherlands
As I wrote earlier I presented at the 2014 Dutch Techdays. The session content is now available online. Find it here (Dutch):
Session information + PDF of my presentation My presentation on SlideShare My session on Channel 9
Blog
Error comparing historic versions of a TFS source controlled file
When working with Visual Studio 2012 on our current project, the error ‘These files are not text files and cannot be opened in the comparison window.’ shows up every now and again. I’ve tried several things to solve this problem.
Here’s the one that works:
Close Visual Studio Navigate to your version of the c:\users\{username}\AppData\Local\Temp\ folder Delete the TFSTemp folder Restart Visual Studio and try again. You should be good to go!
Blog
Getting Bootstrap to work on Windows Phone 8
There are a couple of websites I manage that use Twitter Bootstrap*. These websites are fully responsive and work well on all devices. Or actually, almost all devices. The wrapping of columns in a container on a Windows Phone doesn’t work the way you’d want it out of the box. Windows Phone interprets device-width as the actual resolution size. Other mobile browsers use what the manufacturer (or browser vendor) has decided is the optimal viewport width.
Blog
Speaking at TechDays 2014
I’m proud to announce that this year I’ll be speaking at the TechDays in the World Forum in Den Haag, April 16 – 17. This session will be about High Performance Computing in Windows Azure.
Camera resolutions keep increasing, your digital behavior on websites and in apps is collected, images that satellites make get more and more detailed and (research) equipment produces more data. The amount of data that’s being stored keeps increasing.
Blog
Blog moved…
Bloggingabout.net has moved from Community Server to WordPress. One of the changes that comes along with this is that the URL of my blog has changed too. I went from bloggingabout.net/blogs/rick to rick.bloggingabout.net.
Thanks to Dennis for putting in a lot of time and effort to migrate BloggingAbout to our new WordPress environment. I’m looking forward to adding a lot more interesting content to my blog in the new Bloggingabout.net!
Blog
HowTo: sign out of Visual Studio Online (when deleting cookies won’t help)
When you have more than one Microsoft Account that you use regularly, you might recognize the scenario where your Visual Studio keeps you signed in to Visual Studio Online… with the wrong account. You keep getting messages that you don’t have access rights. Restarting Visual Studio, rebooting and even clearing all (Visual Studio) cookies doesn’t help. Here’s a quick fix:
Open Visual Studio Open the Visual Studio web browser (under View, Other Windows, Web Browser) Go to Visual Studio Online Click sign out You should be good to go now!
Blog
ScriptErrors opening (a new tab of) IE10 on a Windows 7 machine
I’ve been running into the error message on the right (“Unable to get property ‘style’ of undefined or null reference”) when opening an instance or a new tab of IE10 for the past couple of weeks. It didn’t matter what start page I used, since I tried about:blank, google.com and approximately a dozen more. I found out McAfee SiteAdvisor was the cause of this error pretty quick, but since the company I’m currently in doesn’t allow users to disable SiteAdvisor and I needed IE10 for some testing purposes, I had to find a different solution to the problem.
Blog
Error: The Path ‘path’ is already mapped in workspace ‘workspace’
Just a quick little post today: I got the error “The Path ‘path’ is already mapped in workspace ‘workspace’” when I connected to a new Team Foundation Server and tried to map my workspace today. I had connected to a Team Foundation Services project a while back to get some shared code, but I already removed the workspace and the server binding. Even though Visual Studio didn’t see any other bindings, mapping my workspace to the same folder the previous TFS binding was mapped to served me this error.
Blog
Visual Studio 2012 crashes when opening an ASP.NET MVC project with a cshtml open
A rather long title for this post, but that’s exactly what happened: when I opened an ASP.NET MVC 4 project with a cshtml view open, Visual Studio would crash with the error messages seen on the right. This would only occur if the first project I opened had a cshtml file open. When I opened another (type of) project first and then opened a project with a cshtml file open, the problem did not occur.
Blog
How to add Next and Previous buttons to Twitter Bootstrap tabs
Just a quickie today: when working with Twitter Bootstrap tabs, like I am in my ASP.NET MVC 4 project, you might want to add Next and Previous buttons on the tabs to create something of a Wizard. Here’sa step by step overview of how I did this:
Add an ID to all the ListItem elements that are used for the tab navigation. For instance:
<ul class="nav nav-tabs" id="myTab"> <li><a href="#example" data-toggle="tab" id="xmpl">Example</a></li> .
Blog
Debugging JavaScript with Visual Studio in an ASP.NET MVC 4 application
When debugging JavaScript in an ASP.NET MVC (4) application, it is not always enough to uncheck the ‘Disable script debugging’ checkboxes under ‘Tools’ – ‘Internet Options’ – ‘Advanced’ – ‘Browsing’. JavaScript inside a Razor view (a cshtml file) cannot be debugged from Visual Studio. To debug your JavaScript, move it to a separate .js file and link to that file from your Razor view. This way, breakpoints set in the JavaScript will be hit and you can debug from Visual Studio.
Blog
How To: Call a generic method with a runtime type
Problem:
Developing a generic class that maps datasets, datatables and datarows from a legacy system to my domain model, I ran into an issue. I wanted to call a generic method with a runtime type. Lets say the method looked like this: public string DoSomething<T>(string param). Because I use reflection to iterate properties on a type, the type of the properties was dynamic and only known at runtime. I wanted to do something like this: