IBlog<Johan>

This and that in a developer's life in general

News

Follow johandanforth on Twitter

Random Links

Walkthroughs and Tutorials

Browse by Tags

All Tags » .NET 3.5 (RSS)
Case Switching on CLR Types
As most .NET developers know, you cannot do case/switch on CLR types and one of the reasons for it was explained pretty well years ago by Peter Hallam on the C# team . But there are many cases where you would like to iterate through a list of objects...
Bad Request With WCF Service in Cassini On Windows 7 Beta
Trying to run a WCF service in Cassini on your Windows 7 Beta (7000) machine and get this error? The remote server returned an unexpected response: (400) Bad Request. Unless you’re running your service with basic http binding or with security specifically...
Turn Windows 7 Features On or Off
I’m trying to install/add IIS features to my Windows 7 beta build 7000 laptop. You got pretty fine grained control over these features in Windows 7, and it’s not easy to know what you really need. I need to run WCF services on my machine, so I’m turning...
Integration Testing WCF Services with Unity
I've been blogging a few times now about using Unity with WCF, but how do you integration test your service in an easy way without? The way I (and many others) do integration tests for a WCF service is by setting up my own service host and starting the...
WCF Client Calling ASMX Service with Soap Headers
Need to send soap headers from WCF (Service Reference) clients to older ASMX services? The ASMX service not handling the header properly? It may have to do with namespaces being set in the soap header XML in a way differently from what the ASMX service...
LINQ to XML in VB.NET and Using the Right Language for the Job
I'm almost always using C# in my .NET projects, unless I'm doing Office automation where the VB-way of dealing with optional parameters helps out making the code a bit cleaner. The last week we've been upgrading ASMX-clients to become WCF-clients for...
Posted: Oct 15 2008, 01:17 PM by jdanforth
Filed under: , ,
ASP.NET MVC Preview 5 Released
Hey, I'm just helping to spread the word! A sampled a few links and quotes that has already been posted to blogosphere for your pleasure and knowledge. :) Download it here -> http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=16775...
Auto Postback with Javascript in ASP.NET MVC
I've looked this up twice now so I'm posting it to my blog for future reference and as a quick-tip for others. Say you got a web page with a dropdown/select listbox and you want to reload/auto postback the page when the selection changes. One way to do...
Returning Json from RESTful Interface with WCF
Someone commented on an earlier blog post I did on REST, POX/POJO and WCF and the comment read: How about REST WCF bits from .NET 3.5 SP1? Is it possible now to let the user decide in which format he wants the response (xml or json) like MySpace API for...
Posted: Aug 23 2008, 04:18 PM by jdanforth | with 4 comment(s)
Filed under: , , ,
More on RESTful Service with WCF and POX/POCO
Kirk Eveans wrote a blog post about Creating RESTful Services Using WCF , which gives you a good understanding of how to get started with REST on WCF. In his sample, Kirk has 2 methods in a REST interface: [ ServiceContract ] public interface IService...
Posted: Aug 09 2008, 03:55 PM by jdanforth | with 4 comment(s)
Filed under: , ,
More Posts Next page »