.NET

Exception handling (logging) via elmah

Posted on

When developing my applications I was looking for a global way of handling my exceptions. There are some packages you can you for handling your exceptions. First I used the Enterprise Library Exception Handling Block but today I changed from the Enterprise Library to another library called elmah. In the next few minutes I will […]

.NET

MVC 3 problems validating a decimal

Posted on

Last I was doing some MVC3 development but I kept on having validation problems with my forms. My form looked like this: I don’t know if you see my problem already but I had some problems validating my decimal. When I submitted my form I always get the following error message: The field Max. aantal […]

.NET

Define 2 keys in an MVC3 model object

Posted on

Last I was converting an application into MVC3. But when I came to the point where I needed to create an object that contained 2 keys. I could not do this with following code: I always received the error message: Unable to determine composite primary key ordering for type ‘Project.Models.ModelObject’. Use the ColumnAttribute or the […]

.NET

How to check X509 signature of saml token

Posted on

Last I was creating a module to read a saml token response. One of the features of this module was validating the token. One of the required validations was checking the signature. And here I had some difficulties to complete this task. I had 2 main problems with this task. 1. The first problem was […]

.NET

Using asynchronous WebService calls in Silverlight

Posted on

Last I was creating a silverlight application and I thought that showing how to do some asynchonous calls to a webservice could be interesting.   First of all an overview of the things that you need: A Silverlight application A website where the silverlight is shown and where a webservice is created.   You visual […]