Tag Archives: iis

OData second look

This is a follow up on my OData first look post. Since then I’ve moved the service to IIS for better fiddler support. The sample code builds on the previous post and shows how to load related data in one … Continue reading

Posted in Development | Tagged , , , , | 1 Comment

First look at OData

I’ve heard about OData back in 2012 but never used it. Now I might have a use case for OData and want to explore it. Below are the parts of my sample WCF DataService project. Every part has the exceptions … Continue reading

Posted in Development | Tagged , , , , | Leave a comment

Call WCF on NetTcpBinding from anonymous website

Our project uses WCF services hosted on multiple machines. The binding used can be chosen from predefined options. One of the options is NetTcpBinding. A website hosted in IIS with anonymous authentication is used to consume the WCF service. When … Continue reading

Posted in Development | Tagged , , , | Leave a comment

ApplicationPool creation in Metabase with Csharp

In our project we create IIS application pools from code. For this we connect to the metabase with DirectoryEntry. This is COM and the exceptions are ridiculous somewhat cryptic. Below is code to create an Application Pool. The comments describe … Continue reading

Posted in Development | Tagged , , , | Leave a comment

Disable viewstate on IIS 7.5

Remove the viewstate with javascript to allow post to other page without viewstate in IIS 7.5. This avoids the “Validation of viewstate MAC failed” exception. Continue reading

Posted in Development | Tagged , , , , , | Leave a comment