Quantcast
Channel: source code bean » C#
Browsing latest articles
Browse All 10 View Live

Thoughts on the Nokia / Windows Phone 7 deal

For the last week the news that Nokia has chosen Windows Phone 7 as their main operating system for all their new smart phones has been all over the news. A lot of people are very upset and say that...

View Article


The must have tools for C# development

Visual Studio 2010 I don’t think Visual Studio needs an introduction. VS 2010 brought us .NET 4.0 that contains a lot of new goodies! ReSharper ReSharper is the absolut must have for Visual Studio. It...

View Article


MVC 3 RTM Install Error (after upgrading to VS2010 SP1)

Yesterday I installed Visual Studio 2010 SP1 on my home computer. After the installation I wanted to upgrade MVC3 to the RTM version (I had the RC version installed), so i uninstalled the RC and...

View Article

Image may be NSFW.
Clik here to view.

AppHarbor – Heroku for .NET?

I have been reading about this new startup that offers a service called AppHarbor. It seems very much as the same idea as Heroku for Ruby, but for .NET. The basic idea is that you deploy your code by...

View Article

Image may be NSFW.
Clik here to view.

A simple image sprite generator in C#

Last week I posted the source code to a small program I wrote in Java to merge images into a sprite. This week I present the same application but in C#, pretty much translated line by line using...

View Article


Reference types are always passed by value in C#

Last week i had a discussion with a friend about C# and passing parameters to methods. My friend asked why it is possible to use the ‘ref’ keyword for a reference type in C# when passing it to a...

View Article

Updated version of SignalRChat

Yesterday I uploaded a slightly updated version of the test application I have built using SignalR. Besides from looking much better, it now uses the high level Hubs API (instead of the connection API)...

View Article

String interning in C#

Last week a coworker sent me an interesting piece of code:   const string a = ""; const string b = ""; const string c = "hello"; const string d = "hello";...

View Article


Image may be NSFW.
Clik here to view.

MongoDB, C# and Mono

MongoDB is one of the many free open source NoSQL databases that exist today. I wanted to try out how well the official drivers for C# worked when using Mono. On the MongoDB web site they have pre...

View Article


Image may be NSFW.
Clik here to view.

Deploying your ASP.NET MVC3 site on Mono

In this blog post I am going to show you how easy it is to create a new ASP.NET MVC site and deploy it on Linux/Mono. Step 1 – Create project Create a new ASP.NET MVC 3 project. Compile and run it....

View Article
Browsing latest articles
Browse All 10 View Live