Archive for the ‘Coding’ Category

In my previous post, I detailed the outline of how I would implement the XML Data Provider for Oxite.
After some refactoring and additional coding, the class structure looks like this:

The XmlTableBase and XmlTable classes are re-usable for generic LINQ friendly XML table-like storage of classes.
Most of the “tables” in the OxiteXmlContext use the XmlTable class [...]

Sunday, June 21st, 2009 at 01:01 | 0 comments
Categories: Coding, Oxite
Tags:

In my previous post, I tackled the concept of an XML Data Provider for Oxite and outlined one possible structure for storing the data.
What I have done so far, is write some generic Linq to XML classes that do most of the heavy lifting of storing and retrieving objects using reflection, and used those to [...]

Saturday, June 13th, 2009 at 22:25 | 0 comments
Categories: Coding, Oxite
Tags:

I have received a ton of emails and questions following my previous post on MGrammar (which is a part of Oslo). Some of those have been people asking advice on how they can adopt MGrammar as a basis for a rule engine for more generic purposes than the one I provided.
So, I decided to sit [...]

Friday, June 12th, 2009 at 22:37 | 0 comments
Categories: Coding, MGrammar, Oslo
Tags:

In my previous post, I gave some thoughts about Oxite. Never one to sit idle, I proceeded to tackle the first item on the list.
Oxite comes with an SQL data provider, which is great. But I wanted an XML data provider, so the content could be stored like in dasBlog.
As an experiment, I created an [...]

Sunday, May 3rd, 2009 at 19:09 | 2 comments
Categories: Coding, Internet, Oxite
Tags:

I’ve been fiddling around with Oxite recently. Although I find it highly interesting and a lot of fun, it being based on ASP.NET MVC and all, it’s not yet mature enough to be an out-of-the-box blogging engine.
None of the shortcomings are show-stoppers as such, and it’s not intended to compete with the major actors out [...]

Saturday, May 2nd, 2009 at 14:56 | 2 comments
Tags:

I struggled a bit to get the live demo up and running for my previous article on ASP.NET MVC because my hosting provider runs on the Apache web platform, which wasn’t all too keen on the MVC URL rewriting.
One of the problems is that on Apache (same as on IIS6), the document being served [...]

Thursday, April 9th, 2009 at 14:35 | 0 comments
Tags:

Seldom do I use all-caps for titles. This time, it’s merited. I’ve been circling around ASP.NET MVC like a suspicious lion for months. Since I don’t work much with web projects, this has slipped down on my priority list in favor of technologies more relevant to my current projects. But since it recently hit official [...]

Thursday, April 9th, 2009 at 13:12 | 0 comments
Tags:

In my previous article, I showed how you could embed a certificate as a managed resource in your application.
Today, I will demonstrate how you can implement your own custom certificate validation for WCF.
There are many scenarios where you would want to implement your own certificate validation mechanics. For instance, it might not be enough that [...]

Wednesday, April 8th, 2009 at 17:19 | 0 comments
Categories: Coding, Internet, Security, WCF
Tags:

In my previous article, I showed how to implement custom username and password validation for WCF and how to use a certificate to encrypt the communication (including the username and password).
In this article, I will extend that sample and embed the certificate as a resource in the service library as well as create a IPrincipal [...]

Thursday, April 2nd, 2009 at 01:15 | 0 comments
Categories: Coding, Internet, Security, WCF
Tags:

One of the many common security scenarios when programming WCF, is using custom username and password authentication.
The custom authentication part is no big hassle in itself, but as a security precaution, WCF refuses to send usernames and passwords in clear-text, instead requiring that the communication be encrypted in some way.
Attempting to use custom authentication without [...]

Thursday, April 2nd, 2009 at 00:16 | 0 comments
Categories: Coding, Internet, Security, WCF
Tags: