-
A lot of developers still use external FTP clients or even copy/paste to deploy their ASP.NET or Silverlight web project on the production server. It’s good to know Visual Studio can do this job for you. Just right-click your Web application project in...
-
Today at a client I had the need to modify the code that RIA Services generates. It is certainly possible, but not as easy as modifying a T4 template . It turns out you have to derive a class from System.ServiceModel.DomainServices.Server.CodeProcessor...
-
Linq to XML is a part of Linq I never did like very much. Everything hangs together with loosely typed strings. For example: var query = from xElem in doc.Descendants( "Patient" ) select new Patient { EMail = xElem.Attribute( "EMail"...
-
Having installed TFS 2008, the installation of TFS 2010 is a breeze! The problem with the installation of TFS 2008 was, that the security system was very complicated. So complicated that I ended up installing TFS as well as the databases of TFS unwillingly...
-
I’ve been working on a way for our website to easily create and update trainings by our employees. The website is using MVC2 with the entity framework. Each training entity consists of scalar data and a related entity (foreign key relationship in the...
-
Last week I did a Embarcadero Delphi 2009 course. While preparing this course I came to a number of resources on the web. If you need info about Delphi I would recommend the following sites: 1. Delphi basics. A language reference guide to the OO Delphi...
-
After typing my TFS credentials about a million times, today I finally took the time to figure out how to log on to TFS automatically if the PC that I’m working on is not part of a (or not the same) Active Directory than the TFS server is. Turns out it...
-
This afternoon we did some work to update our corporate site to MVC 2. We are using the new System.ComponentModel.DataAnnotations attributes to decorate our domain entities and by doing so you‘ll get some nice validation for free. Introducing your...
-
At the DevDays 2010 in my session on Building Maintainable Applications, a question came up how to add custom words to Code Analysis. I’ve done that a couple of times, but couldn’t remember it from the top of my had. So, this is just a note-to-self. Add...
-
I’m doing quite a lot of software quality audits lately. Some customers want to know what the quality is of a product that was developed off-shore. Some just want to know how long they should keep developing the current version or if they should start...
-
The new WebBrowser control in Silverlight 4 is capable of showing HTML content based on a URI or string within your Silverlight application. There are just 2 gotcha’s: 1. At this moment the WebBrowser control will only work if the application runs in...
-
This week, I needed to create a client for a webservice created in Java. The webservice has implemented username/password security (in the WS security header) AND a certificate. So, in my ignorance, I configured the following binding: <basicHttpBinding>...
-
Today I converted an ASP.NET 2.0 webapplication to 4.0 using Visual Studio 2010 RC. The convert process ran quite smoothly. After the conversion I discovered two new attributes in the pages tag of the converted web.config file, curious? 1. controlRenderingCompatibilityVersion...
-
When you create a new Silverlight Application in Visual Studio a dialog box comes up with an option to host the application in an ASP.NET Web Application. When you check this option a ASP.NET Web Application project will be added next to the Silverlight...
-
I was notified today by email that Microsoft awarded me the 2010 Microsoft MVP Award for C#. Just great!