Mike's profileA Man Named BR80PhotosBlogListsMore ![]() | Help |
|
|
June 29 Iran Home Runs
I found three articles on Iran that, if they are not home runs, they at least put players in scoring position. Liberty and the Tehran Spring – Justin Raimondo June 15 Bind a ComboBox to a generic Dictionary
The following was swiped from Mad Props! Often you have a ComboBox (or ListBox) whose items you want to "bind" to a list of values. In the world of .NET 2.0 we have this funky new generic Dictionary collection, but there's a trick to using it to bind. Here's the code: var choices = new Dictionary<string, string>(); choices["A"] = "Arthur"; choices["F"] = "Ford"; choices["T"] = "Trillian"; choices["Z"] = "Zaphod"; comboBox1.DataSource = new BindingSource(choices, null); comboBox1.DisplayMember = "Value"; comboBox1.ValueMember = "Key"; Now you can set comboBox1.SelectedValue = "F" and it will display "Ford"! How cool is that? May 22 MaxReceivedMessageSize error when calling WCF service
I had this same problem with my first WCF service: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. I changed the maxReceivedMessageSizein the app.config of the service’s consumer (the value was 65536): <wsHttpBinding> Technorati Tags: WCF WCF Introduction
I’m trying to learn about Microsoft Sync Services for ADO.NET v2.0. I want the client databases to talk to the server via a WCF service hosted on IIS. I needed to get a quick background on creating a WCF web service. Here are the resources that I have found helpful given that I had no background on the subject. Sahil Malik’s WCF blog postings David Chappell’s document Dan Wahlin’s screencast Chakkaradeep’s blog entry [New WCF Features in Visual Studio 2008] Also helpful: Technorati Tags: WCF February 09 Windows Licensing
That’s why I run Ubuntu Linux on my secondary PC. Thanks for visiting!
|
|
|||||||||||||||||
|
|