DCSIMG
.NET 4 - Ido Flatow's Blog Veni Vidi Scripsi

Ido Flatow's Blog

Veni Vidi Scripsi

News

Have you heard me speak?
Powered
<style type='text/css' media='screen' id='sm_css'> #smix {overflow: visible;height: auto;border-radius: 10px;max-width: 250px;background-color: #323232;text-align: left;font-size: 12px;line-height: 16px;font-family:'Lucida Sans Unicode','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;} #smix a {color: #0056CC;text-decoration: none;} #smix .sm_head {color: #fff; line-height: 1em;font-size: 1.4em;padding: 10px;color: #fff;} #smix .sm_lanyard_wrapper {background-color: #fff;;clear: both;width: 97%;margin: 0 auto;margin-bottom: 0px;} #smix .sm_lanyard_content {padding: 7px;}#smix button.sm_rec, #smix a.sm_rec, #smix input[type=submit].sm_rec { padding: 6px 10px; -webkit-border-radius: 2px 2px;-moz-border-radius: 2px; border-radius: 2px; border: solid 1px rgb(153, 153, 153); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221))); color: #333; text-decoration: none; cursor: pointer; display: inline-block; text-align: center; text-shadow: 0px 1px 1px rgba(255,255,255,1); line-height: 1; }#smix .sm_rec:hover { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(248, 248, 248)), to(rgb(221, 221, 221))); }#smix .sm_rec:active { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(204, 204, 204)), to(rgb(221, 221, 221))); }#smix .sm_rec.medium { padding: 3px 7px; font-size: 13px; }#smix .sm_rec span.icon.thumbs_up {background-position: 0px 36px;vertical-align: text-top;display: inline-block;margin-right: 4px;height: 18px;width: 16px;background-image: url(http://speakermix.com/images/new/thumbsold.png);}#smix .sm_rec:hover span.icon.thumbs_up {background-position: 0px 18px;} #smix .sm_events {padding:2px 0px 4px 0px;} #smix .sm_section {font-size: 10px; border-bottom: 1px solid silver; margin-bottom: 6px;} #smix .sm_subline {font-size:120%;margin-top:4px;font-weight:bold} #smix .powered {text-align: right} #smix .powered img {margin: 7px} </style>
Sela Technology Center

Advertisement

Browse by Tags

All Tags » .NET 4 (RSS)
Two months speaking spree
If you’ve been checking my blog in the last couple of weeks, you might have noticed I haven’t been posting much. In the past two months I have been traveling around the world, speaking in conferences and local user groups. So to sum up this intensive, fun times, here’s a list of all conferences I visited and links to all the material I showed. What’s new in WCF 4.5 Building scalable, low-latency web apps with Windows Azure Embracing HTTP with the ASP.NET Web API You can download the slides and code...
ServicePointManager.DefaultConnectionLimit == 2? Depends…
“Depends” is my favorite answer when teaching .NET-related courses, because behind this simple word lies the implementation of the CLR and BCL, which sometimes lead us to answers we didn’t expect. For example, take the question in the topic: according to MSDN , the default value of System.Net.ServicePointManager.DefaultConnectionLimit is 2. So I wrote some code that tries to open a lot of connections from a console application to a WCF service, and to my amaze, I was able to send dozens of requests...
Problems with WCF Scaling
Every once in a while, people ask me about problems they have when trying to use a single WCF service with multiple concurrent calls. The first think I tell them is to check their WCF throttling settings. The throttling behavior in WCF controls how many instances and session WCF can create and manage at once. These settings also depend on the binding you use. For example if you have a single proxy on the client side that sends many async calls at once, and you use basicHttpBinding, WCF will by default...
What’s new in WCF 4 lecture for the .NET Developers User Group
Two days ago I gave a lecture at the Israeli .Net Developers User Group (IDNDUG) in Microsoft. The lecture went great and there were a lot of good questions. The presentation and the code samples are available for public download at the following link . During the lecture someone asked me a question regarding support for JSONP (JSON with padding) in WCF RESTful calls, and I answered that as far as I know there is no such support. But… since I’m quite senile I forgot that I did see such support with...
What’s new in WCF 4 open house recordings
Last week I had an open house in Sela about the new features and improvements of WCF 4. The video recordings of the lecture have been uploaded to Sela’s webcast site . You can register to the website, and after receiving your username and password, you can watch the videos from the following link . If you only want to download the presentation and the demo’s source code, you can download it from here . Enjoy.
Enum.HasFlag - where have you been all my life?
If you’ve ever used enumerations in .NET with bitwise operations, using the Flags attribute, you should be familiar with the following piece of code: [ Flags ] enum   Permission {   None = 0,   Read = 1,   Edit = 2,   Delete = 4,   ChangePermission = 8,   FullControl = Read | Edit | Delete | ChangePermission } Permission permission = Permission .Read | Permission .Edit; if ((permission & Permission .Delete) == Permission .Delete)   Console .WriteLine( "Has...