How to write an EPP client in C#

Extensible Provisioning Protocol(EPP), defined in RFC 5730 is a protocol which is used in the Internet industry for the provisioning of domain names, hosting and related contact details. It is currently not used for much otherwise. It is rare to have to write software to consume an EPP-based webservice, so when I came to do so, I could find little to no examples written for the .NET framework. So I’ll post what I have found here.

The basics are as follows. Messages are sent and received in XML, and generally over TCP or similar transport protocols. All communications must be secured. Details of the message structures can be found at the above link.

Continue reading “How to write an EPP client in C#”

Entity Framework – Delete without Select

This post applies to EF 4.1 and above.

The following technique is applicable to updating as well. But for a more detailed explanation, head over to Entity Framework – Update without Select.

The method used to delete an entry using Entity Framework is DbContext.DbSet.Remove(Object entity), which accepts as it’s single parameter the entity you wish to delete. A subsequent call to .SaveChanges() on your context will perform a delete query on the database.

Continue reading “Entity Framework – Delete without Select”

Create a website or blog at

Up ↑