LessThanDot Site Logo

LessThanDot

A decade of helpful technical content

This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever.

IE8 thinks Google is designed for older browsers

I thought this was pretty funny. And running it in comptabiliy view is not helping. And how do they think I’m going to type anything in that very small textbox and the tiny buttons. Edit: And I found a solution (not that I think I had to look for one). Hi, I have had this issue with IE8 and finally got round to looking for a fix rather than uninstalling it.

Read More...

Asking the right question

A while ago (asked Sep 18 at 14:34) I asked a question on StackOverflow. I’m pretty sure I could have found the answer via Google myself but it is so much eaasier to ask someone else to do the work for me and perhaps come up with the better answer. The question was. Why can’t string be mutable in java and .net Why is it that they decided to make string immutable in Java and .

Read More...

SQL Friday, The Best SQL Server Links Of The Past Week Episode 15

Time for another episode of the SQL Friday, The Best SQL Server Links Of The Past Week show. Here is what I found interesting this past week in SQL Land: A DBA utility database in every SQL Server instance? Linchi Shea writes: I was reading Louis Davidson’s post earlier today, and what he said below caught my attention: I am a big believer in having the database be as self contained as possible, so I try to put [maintenance] objects and such in the database, typically in a schema named utility.

Read More...

Me and ASP.Net MVC: even less magic strings but opinionated

In my previous post (not so long ago). I talked about the Actionlink and it not being very refactor friendly because of all the magic strings in it. But there was a strongly typed version out there somewhere that didn’t work all the time but I couldn’t find it at that time. Well it is hiding here and you can dowload it by clicking on the ASP.NET MVC v1.0 Futures link.

Read More...

Me and ASP.Net MVC: getting to grips with the ActionLink

I installed the brandnew (nearly anyway) release version of ASP.Net MVC v1.0. I don’t think that will cahnge much for my previous examples since the code all still works. Apart from having to reset the references that is. So in my previous example I removed some of the magic strings. But it seems that some other magic strings are here to stay for a while at least. And this is it.

Read More...

MIX09, SilverLight 3, Expression Blend 3, IE8, ASP.NET MVC 1.0 And Much More

Mix 09 really turned out to be quite an event, a lot of cool new stuff was announced. ASP.NET MVC 1.0 The first thing I saw was ASP.NET MVC 1.0. I have been waiting for this for a while now since I want to do a MVC site for some stuff at work and don’t want to deal with CTP or RC releases. Now that it is finalized I finally can start working on that.

Read More...

Me and ASP.NET MVC: Less magic strings.

I worked a little further on my first ASP.Net spike code. I wanted to have a Person that comes frome a repo to show on the screen with less magic string. First I read a bit in this. But I get bored pretty quickly with reading things so I got back to experimenting. This is the result. First I create my trusted Person Class. namespace MvcApplication1.Models { public class Person { private string lastName; private string firstName; public Person(string LastName, string FirstName) { lastName = LastName; firstName = FirstName; } public string FirstName { get { return firstName; } set { firstName = value; } } public string LastName { get { return lastName; } set { lastName = value; } } } }``` Then I needed a repository to return somethig.

Read More...

Threading isn’t easy

Whatever you might think threading isn’t easy, I don’t think our brain can really understand it just because using multiple threads takes away the logic of the sequence. You don’t know and aren’t going to know when your new thread is going to execute. You are at the mercy of the OS. So that is one thing to take into account. But on the other hand threading is awesome. It can solve performance problems without to much coding and in these days of multiple cores it’s bound to help.

Read More...

ASP.NET MVC 1.0 Has Been Released

ASP.NET MVC 1.0 has been released. A couple of day ago ASP.NET MVC Release Candidate 2 was released but this is the real deal. You can download ASP.NET MVC 1.0 here: http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displaylang=en Changes Since RC 2 The following changes were made in this release. • jQuery 1.3.1 was replaced with jQuery 1.3.2 in this release. Bug Fixes since RC 2 The following issues were resolved in this release: • ASP.NET MVC Web Applications created as a result of a new Silverlight Application no longer shows an error stating the project is unavailable.

Read More...

Me and ASP.Net MVC

Let me start by saying that I’m not a webdeveloper I do most of my work in Winforms. I personaly think webdevelopment is a bit frustrating. The way you have to test for x number of browsers just to find out there is another browser ou there you never heard f and that doesn’t render your site like it should. But anyway. I had a stab at ASP.Net MVC just to see how they implement MVC (Model-View-Controller).

Read More...