(Ged Mead) In an earlier blog, I looked at how to load and save plain text between a RichTextBox and a txt file. This time I want to look at a different case where text formatting has been applied to the content. For the purposes of this sample I’m going to take a document that has been created
Tag: Development
Performing DML Operations using WCF REST Service and Silverlight
(Mahesh Sabnis) As a professional working on WCF REST and Silverlight 3.0, I have been very interested in performing DML operations using Silverlight 3.0 and WCF REST Service which exposes CRUD Operations. A couple of days ago, while conducting a training session, one of the participants asked me a
Using LINQ for type conversion
(dasblinkenlight) .NET provides several ways to change the type of a value to another type at run-time. Each technique has its limitations. This article provides (yet) another alternative that works in all instances when the CLR is capable of performing a type cast.
Using Appropriate Status Codes With Each API Response
(Ben Nadel) For a long time, I have thought about API request failures as falling into just two distinct categories: failure to communicate (ie. the server was down) or bad data (ie. invalid parameters). Failures to communicate with the server were out of my hands; as such, there was nothing I could
New commands in SOS for .NET 4.0 Part 1
(Tess Ferrandez) My friend and fellow debugger Brian at http://Kodehoved.dk recently wrote a couple of posts on news with sos for .NET framework 4.0 (in Danish).
The Kayak Framework: An easy way to speak HTTP with .NET
(Benjamin van der Veen) Kayak is a lightweight HTTP server for the CLR, and the Kayak Framework is a utility for mapping HTTP requests to C# method invocations. With Kayak, you can skip the bulk, hassle, and overhead of IIS and ASP.NET. Kayak enables you to do more with less syntax, and is easy to c
ASP.NET Ajax Library and WCF Data Services
(Dino Esposito) It’s been a few years since the Web industry praised the advent of AJAX as the beginning of a new era of programming prosperity, and now a powerful set of programming tools is finally available to Web developers: the ASP.NET Ajax Library and WCF Data Services. Developers can stop rel
SkewTransform in WPF
(Mahesh Chand) SkewTransform is used to skew or shear an element. Shear can be used to add depth to elements to give them a 3-D look.
New in .NET 4: Don’t Forget to Dispose() your SmtpClient Instances
(Lee Dumond) Wow, it seems like forever since I’ve written a blog post. That’s because I’ve been heads-down on my new book, part of which involves getting up to speed on all of the newest features in ASP.NET 4.0.
VS2010: Profiler Guidance (rules) Part 1
(Colin Thomsen) The new guidance feature in the VS2010 profiler will look familiar to people who have used the static code analysis tools in previous versions. However, instead of statically analyzing your code, the profiler runs it and analyzes the results to provide guidance to fix some common per
