activa's blog

.NET, Web, Mobile and more stuff I can't stop talking about

Browsing Posts in .NET

Adding support for SQLite to a Windows Phone app is actually very easy. Vici CoolStorage, an open-source data access layer and ORM, allows you to add local SQLite db access to your Windows Phone app with just a few lines of code, even if you don’t want to use the ORM features at all.

Our CoolStorage ORM has been around for quite a while, but I felt that it was particularly useful as a data access layer on smaller scale applications and mobile devices running .NET (or some flavor of it). Not everybody needs a massive (*) data access layer like Entity Framework or NHibernate. About a year ago [...]

I’ve been developing iPhone apps for the past 9 months using the recommended development tools, being Xcode, Interface Builder and the iPhone SDK. Being a C# .NET programmer didn’t make this easy: Objective-C is… weird and… primitive. Dealing with pointers after 10 years of focusing on problems instead of memory addresses is a slight culture [...]

Even before there was talk about ASP.NET MVC, there were a few open source MVC frameworks available for .NET. Among them, MonoRail was best known, but there was also ProMesh.NET, a .NET MVC web framework that evolved from a small personal project to a full-blown MVC framework for building web applications in .NET, without using [...]

We all love unit tests (do we?). Yes we do (repeat 100 times). And we all love mocking for making life easier, but sometimes we just want to write some simple unit tests that don’t require any mocking at all, because the code you are testing is easy to test without having to resort to [...]

Most people believe dogfooding is the perfect way of ensuring the quality of the software you’re creating. I couldn’t agree more. The only problem is that when you use your own software, you always have the feeling that it’s not quite “done”. There’s always something that you can do better, always something that can be [...]

A few days ago, I stumbled upon a problem that I never really noticed before Google Chrome was released. It seems that Google Chrome chokes on embedded javascript if some weird bytes are present in the HTML. It took a while to figure out what was going on. It seems the weird bytes were the [...]

What’s the hardest part of creating any open-source project? No, not writing the code. No, not helping users in the support forum… I’ll tell you: writing documentation, especially when the documentation is not in your native language. So that’s what I have been doing for the last few weeks (or should I say “months”?). In [...]

It has been almost one year since the last public release of CoolStorage.NET (“cool” open-source object mapper for .NET 2.0), but this doesn’t mean the product was dead. A lot of people regularly downloaded the latest builds from CodePlex and I received a lot of great feedback, which finally lead to the release of version [...]

First some basics: in .NET there are reference types and value types. Reference types are always accessed through a reference (a pointer actually) while value types, well, are not. The .NET documentation tries to sum it up in one sentence: A data type is a value type if it holds the data within its own [...]