Disk encription software.

Recently I had to install an encryption software because I have started to keep some confidential data on my laptop and wanted to be sure it will not be compromised in case of my laptop is stolen. I was really surprised when notice the mass of encryption software available on the market. There is various options and features which such software can serve and they are quite neat…

By Mirek on (tags: BitLocker, Encryption, Security, TrueCrypt, categories: infrastructure)

Creating Help documents for web and desktop applications.

During software application development there is always a moment when user manual an help content must be written. Choosing appropriate tool for that is very important and decides about help creating and updating process speed. Help format is as important as the help itself and must be easily accessible from the application and convenient for the end user. There are few help fo…

By Mirek on (tags: Help content, categories: infrastructure)

Abstract repository for direct EF, WCF and WCF Data Services connection with database.

In this article I would like to show you my implementation and approach for using abstract repository no matter if the client is connecting directly to the database using Entity Framework, over WCF service or WCF Data Services (WCFDS) service. 1. General explicit repository The goal here is to have common interface of the repository so the client application does not care about…

By Mirek on (tags: Code First, Entity Framework, WCF Data Services, categories: architecture, code)

Blogging – things to keep in mind

Here are some things that are worth remembering before posting: Set up a display name in the account settings – used to display the author name and in comments. If it’s not supplied the FirstName + LastName is used, if that’s not supplied, the user name us used. Use the “Split post” tag (it’s in the insert ribbon tab, first section – breaks) – this is used to determine which pa…

By on (tags: None, categories: None)

DI Containers – comparison

This blog shortly describes a few chosen DI containers and their out-of-the-box functionality. If a certain container does not have a specific platform listed, it doesn’t necessarily mean that it’s not possible to use it there – it just means that it’s not in the box. Castle Windsor License: Apache 2 Target platforms: .Net, Silverlight Complexity: Castle.Core, Castle.Windsor + …

By on (tags: IoC, categories: None)

Authentication, Authorization and other things we shouldn’t worry about any more

Recently I needed to do some research on the topic of authentication, authorization and related stuff. After spending quite some time on it, I was pretty depressed – one would imagine, that a topic so common has already been handled in a standardized, common and comfortable (both for the user and the developer) way – well, it hasn’t, or do I demand to much? Requirements I had a…

By on (tags: authentication, categories: architecture)

Dependency Injection Containers

In a previous post, I tried to describe what inversion of control is. Here, we’ll take a look at the design pattern that helps with it. Dependency injection is a design pattern used to handle the problem of tight coupling between classes. Although it helps a lot, it’s not perfect. There are situations in which the pattern becomes cumbersome – the best example is probably nested…

By on (tags: IoC, categories: architecture)

A quick intro to IoC

There are two terms that have been loudly spoken for a while now IoC (Inversion of Control) and DI (Dependency Injection). In this post, I’ll try to sketch a picture of what these terms actually mean. IoC is an abstract principle regarding software construction that has been invented to fight the problem of tight coupling. Let’s take the following code sample: This looks like a…

By on (tags: IoC, categories: architecture)

Elmah

Elmah stands for Error Logging Modules and Handlers. It’s a very interesting little library. There’s a pretty neat (although old) article on it by Scott Hanselman and a follow up. The usage is very simple, especially combined with  nuget – just type in and you’re basically done. If you want to have permanent storage type: But what does it store? Well, elmah catches all err…

By on (tags: logging, categories: infrastructure)

Document databases

I’ve recently heard a couple of times about mongodb and finally had a moment to look further into it. The concept is pretty familiar – to have a data store that is not a relational database. I’ve stumbled upon the info about xml or file system databases (the latter one is used e.g by svn), though nothing seemed to stick. Mongodb is somehow different, because I am hearing more a…

By on (tags: database, categories: infrastructure)