Unfortunately, the link Val provided didn't fix my problem... Everytime I try adding a WFS layer, all I get is an overlay filled with "Eval XX days" (where XX is 47 today) I've tried the WFS server that came with the samples and I've tried my testing WFS machine. (running geoserver 2.1 RC) Both are accesable and working on tools like uDig.
Again, all I'm doing at the moment is:
// EPSG:28992, Rijksdriehoek new
Proj4Projection projection = new Proj4Projection();
projection.InternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(28992);
projection.ExternalProjectionParametersString = Proj4Projection.GetGoogleMapParametersString();
projection.Open();
// grabs the locatiedossiers layer from geoserver
WfsFeatureLayer LocDos = new WfsFeatureLayer(@"roxit-geoserver:8080/geoserver/ows", "Roxit:Locatiedossiers");
// which is a RD New layer
LocDos.FeatureSource.Projection = projection;
// give it a simple style
LocDos.ZoomLevelSet.ZoomLevel01.DefaultPointStyle =
PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond, GeoColor.FromHtml("#BEDB4B"), 2);
LocDos.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
// Show me the exceptions
LocDos.DrawingExceptionMode = DrawingExceptionMode.DrawException;
// not sure if needed...
LocDos.Open();
// add it to an overlay
LayerOverlay WfsLayers = new LayerOverlay("LocatiedossiersOverlay");
WfsLayers.IsBaseOverlay = false;
WfsLayers.IsVisible = true;
WfsLayers.Name = "Locatiedossiers";
WfsLayers.Layers.Add(LocDos);
// add overlay to map
map.CurstomOverlays.Add(WfsLayers);