Archives for posts with tag: .NET

There is good reason to create NuGet packages automated. This will eliminate the difficult and error-prone manual process. Creating and publishing of NuGet packages isn’t hard by the Team Foundation Server (TFS) build, except of prerelease versions.

Read the rest of this entry »


Last week I evaluated couple of State Machines. It wasn’t some structural evaluation, rather quick overview what is today in the market. I was just about to have something lightweight and easy to use so I have looked into Appccelerate and Stateless from Nicolas Blumhard. As I went through my sample I asked myself: Why we don’t use State Machines frequently? I asked couple of colleagues if they do. They don’t. Do I? No.

Read the rest of this entry »


Sometimes you would like to start IIS Express without hitting the F5 or Shift F5 in Visual Studio. This is especially helpful when you would like to run integration, performance or load tests continuously on your own machine. To enable this scenario you need to start IIS Express as a background process, otherwise the load or performance test will hang. One of the possibilities to achieve this is PowerShell.

Read the rest of this entry »


Normally when you create AutoMapper profile, it is you responsibility to register them. However with the dependency injection container (DI) you have great possibility to automate this.

Read the rest of this entry »


Admittedly, I’m not UI expert. Even the world of HTML, JavaScript and CSS is interesting I have again and again the same problems. Some of my problem is, that I like to make the things quickly. And CSS and HTML is often repetitive try and error task.

One of products I’m working on is using Telerik’s Kendo UI. It is nice, but sometimes not so intuitive and not very well documented, product suite.

Read the rest of this entry »


Before I show you the cooperation between the Autofac and Microsoft Extensibility Framework (MEF) I want bring you in short my opinion why is there the place for both of them. If you are try to search around, you will find lot of posts which describes the differences between the MEF or Autofac, also, you will find lot of posts which advocates to use MEF as IoC Container, or, on other side, to use Autofac as replacement of the MEF.

Read the rest of this entry »


Maybe you are surprised, maybe not, but fact is that you can increase the performance of reading and writing data with the explicit database connections.

Read the rest of this entry »


There are many approaches how we can join the data in the memory with the data in database. But you should know the advantages and disadvantages for each one.

Read the rest of this entry »


The performance measurement is one of the most important things in the software development. Performance should be addressed throughout the whole development process and not only when the risks become problems. Major motivation for running something in the cloud is the fault-tolerance and scalability. Notice: without performance, scalability doesn’t exists.

“Performance and scalability are inseparable from each other. It doesn’t make sense to talk about scalability if a software system doesn’t perform. However, a software system may perform but not scale.”

This article shows you an approach how to dynamically measure performance of your code at runtime. With the help of PostSharp I created the aspect which is applicable to the all members in the solution. This aspect is using the performance counter of type AverageTimer32  to the measure average execution time. Read the rest of this entry »


It is some time ago that is possible  to use Virtual Machine(VM) in Windows Azure. A good example when you could use VM is build your own FTP Server hosted in Azure. The problem is that most products are using hard disk to store the data. The question is how you could access the data from your Web or Worker Role instances. Read the rest of this entry »