This project is read-only.

F# Type Providers in C#?

Topics: C# Language Design, VB Language Design
Feb 17, 2015 at 5:34 PM
I've always yearned for type providers in c#/ since they were announced in f#. For example the other day i was modifying a wcf service we have that changes constantly. Updating service references to be honest is a major pain. It would be nice to just do the following on the client end (like you can for f#):
type wcfService = new WsdlService("");
client = wcfService.GetBasicHttpBunding_IService();

var myValue = client.CalcValue();
This greatly reduces the configuration hell situations you get yourself in. I'm sure it would not only be useful for WCF but in a lot of other situations. Please consider for c# 7 :).

Wasn't sure if this topic was supposed to be added on github or codeplex so i added it to both.
Feb 25, 2015 at 5:23 AM
The Roslyn team no longer uses this site. Your comments are most welcome over at