Thinking about it, the team I work in has quite a lot of ‘security checkpoints’ for our code. We try to put as many pieces of code under unit test. However, we are often hindered by an old framework that can be described as a sort of ‘CSLA meets Active Record’. If unittests are impossible, we will make fit-tests (using FitSharp). We develop using the Scrum methodology, and, after you finished your task, you can stick the post-it in the
Right now, I’m using RavenDB, but it seems to be a little overkill. It’s a great piece of software, very powerful, but a little too powerful for what I need. It handles all sorts of fancy stuff like sharding, replication, versioning, etc. I have the impression it’s made for applications that have fairly hefty requirements, often client/server applications that need to scale up in time. Also, specifically for me, the licensing of RavenDB is too expensive. I don’t have a
Too often do we developers think as technical users. Take the following example I recently bumped into. Our application, an electronic health record for hospitals, needed a feature to send simple requests. The user would select a patient, select the request (let’s say ‘Request for MRI scan’), and then fill in the details (what to scan, for example). We would then simply send an email to the correct email address, and include a PDF in attachment. This PDF would contain
I seem to have some trouble finding how to run RavenDb in embedded mode. This isn’t the same as my post on running RavenDb embedded for .NET 3.5. This time, I’ve already updated to .NET 4, so I should be able to use the RavenDb embedded assemblies. I’m using build 193 by the way. The documentation on RavenDb.net is a little out of date, but that’s normal, because RavenDb is still very actively under development. A downside of using a
In ASP.NET, you can create a textarea by adding a multiline textbox to your markup: <asp:textbox id=”textboxDescription” runat=”server” textmode=”MultiLine” /> Intuitively, we started adding the MaxLength property to this, in order to let the content of the textarea match the length of our database column: <asp:textbox id=”textboxDescription” runat=”server” textmode=”MultiLine” maxlength=”2000″ /> If you’re reading this, you know that doesn’t work. We, however didn’t. This is easily fixed with some javascript. But if you have a large site with many of
I recently upgraded to iTunes 10 because I was dying to try Ping. Let me rephrase that, I upgraded to iTunes 10 because I hate it but have an iPod, and I do love the Store. Anyway after upgrading, I found that some mp3s couldn’t be played anymore. Not in iTunes, nor on my iPod. Googling around only led me to two discussions on the Apple forum. But it seems quite some other people are having this problem: the biggest part
The application I’m developing will be a stand-alone client application. Nothing fancy and business-critical, so RavenDb might be overkill, but I’m attracted to the ease of use. The application will be installed by non-technical users, so I’m not too fond of the idea of running RavenDb as a service. This will require the users to enter their Administrator password, which could frighten them. I could choose the embedded option, but as I don’t have Visual Studio 2010 yet, I can’t
In my previous post, I explained how I went about starting with RavenDB. Now I want to continue my switch from NHibernate to RavenDB. The GetAll method was fairly simple. I also have a GetOneById method in my BaseRepository, but, as I’m not using it right now, I decided to remove it (YAGNI you know). Then, I changed the my BaseRepository to enforce the T to be a BaseEntity: public class BaseRepository<T> : IBaseRepository<T> where T : BaseEntity I thought
The application I’m writing isn’t in a very far stadium yet, but I do have some implementation of repositories using NHibernate. Now I want to switch to RavenDB. So I downloaded RavenDB (the latest build at this time – build 81) and unzipped it. I wanted to follow the RavenDB Hello World tutorial, but soon found out its built for .NET 4. I don’t have .NET 4 or Visual Studio 2010 yet, but luckily there’s a client for .NET 3.5.
I’m developing a stand-alone client application that will be able to store a fair amount of data. No client-server stuff, just plain old open-the-application-change-the-data-save-close. I need a good way to store the data and, traditionally, developers look at SQL databases for data storage. But I’m thinking this will make it overly complex. A search for alternatives starts. The application is for the administration of a speech therapist. It should have the patients, appointments, documents, etc. But also more complex business