https://www.developerfusion.com/t/csharp/code/ C# Sample code from Developer Fusion 2008-08-28T11:22:00.00Z http://www.developerfusion.com/code/8063/deep-clone-an-object-in-net/ Deep clone an object in .NET 2008-08-28T11:22:00.00Z A simple code snippet that deep-copies an object by serializing and de-serializing using the BinaryFormatter James Crowley http://www.developerfusion.com/code/7987/making-a-net-app-run-on-vista-with-administrator-priviledges/ Making a .NET app run on Vista with Administrator priviledges 2008-08-06T09:35:00.00Z If you're targeting Windows Vista and your application requires administrator priviledges (such as accessing the program files directory), then it will fail unless you include a manifest so Windows knows. Here's how. James Crowley http://www.developerfusion.com/code/6623/dynamically-generating-pdfs-in-net/ Generate PDFs using C# and the free iTextSharp library 2007-04-15T20:36:00.00Z Learn how to use the free iTextSharp library to load a PDF form, populate some dynamic fields, and then save out a flat PDF file. James Crowley http://www.developerfusion.com/code/5717/interacting-with-tinypic-from-c/ Interacting with TinyPic from C# 2006-05-20T02:00:00.00Z The following tutorial will demonstrate how to interact with http://tinypic.com, an image mirroring service, directly from a C# application using the WebRobot component. Fernando Sanchez http://www.developerfusion.com/code/5682/create-pdf-files-on-fly-in-c/ Create PDF Files on fly in C# 2006-05-11T07:59:00.00Z This sample code shows how to use the iText library to generate PDF files on the fly. The iText classes are very useful for people who need to generate read-only, platform independent documents containing text, lists, tables and images. Salman Zafar http://www.developerfusion.com/code/5639/developing-your-first-visual-webgui-application/ Developing your first Visual WebGui application 2006-04-29T15:57:00.00Z An introduction to Visual WebGui through a sample application. Guy Peled http://www.developerfusion.com/code/5638/visual-webgui-a-unique-approach-to-ajax-development/ Visual WebGui a unique approach to AJAX development 2006-04-29T15:45:00.00Z Visual WebGui is not just another AJAX framework but rather a different approach to web application development, specially designed to simplify building highly complex applications like Outlook Web Access (OWA). Visual WebGui makes it possible for developers to create applications that were previously developed only by the "big guys". Guy Peled http://www.developerfusion.com/code/5513/sorting-and-searching-using-c-lists/ Sorting and Searching Using C# Lists 2006-03-23T15:46:00.00Z The support for lists in C# 2.0 makes sorting and searching very easy. This code snippet demonstrates how to create a list of Person objects (with name and age attributes), sort by name, sort by age and search based on age. Craig Murphy http://www.developerfusion.com/code/5457/the-using-statement-in-c/ The "Using" Statement in C# 2006-03-01T15:18:00.00Z The using statement in the c# language allows us to define an scope for an object lifetime. This statement obtains the resource specified, executes the statements and finally calls the Dispose() method of the object to clean it up. Xavier Larrea http://www.developerfusion.com/code/5456/sending-authenticated-emails-in-net-20/ Sending Authenticated Emails in .NET 2.0 2006-03-01T15:13:00.00Z Learn what's changed with .NET 2.0 and how to send out emails using an SMTP server that requires authentication. Xavier Larrea http://www.developerfusion.com/code/5370/using-microsoft-agent-in-c/ Using Microsoft Agent in C# 2006-02-10T16:14:00.00Z Microsoft Agent is a new technology, which allows Programmer to create and use animated characters that can interact with end users. It also supports the Microsoft Speech API, which allows the character to speak with the user. M M Harinath http://www.developerfusion.com/code/5346/checking-internet-availability-using-c/ Checking Internet Availability using C# 2006-02-03T09:49:00.00Z While developing Internet applications, this is important to check whether the internet connection is available or not. This snippet will be useful to achieve the above mentioned task. M M Harinath http://www.developerfusion.com/code/5303/precise-net-server-content-caching/ Precise .NET Server Content Caching 2006-01-29T11:38:00.00Z A simple demonstration of how to programatically use the caching facilities that ASP.NET offers. Dimitrios Markatos http://www.developerfusion.com/code/5282/transactions-made-easy-with-net-20/ Transactions made easy with .NET 2.0 2006-01-25T01:18:00.00Z One of the more significant improvement in .NET 2.0 is the transactions area. Now with a single line it becomes extremely easy to support transactional code blocks using the concept of “ambient” transaction thanks to TransactionScope in the System.Transactions namespace. Xavier Larrea http://www.developerfusion.com/code/5247/applying-xsl-transformations-to-xml-in-net/ Applying XSL transformations to XML in .NET 2006-01-19T09:17:00.00Z A simple demonstration of how to apply an XSL transformation to an XML file and save the output using .NET Krishnan http://www.developerfusion.com/code/5223/using-ashx-files-to-retrieve-db-images/ Using ASHX files to retrieve DB images 2006-01-15T12:37:00.00Z Learn how to use the little-known Http Handler functionality of ASP.NET to serve images from a database. Harry Pierson http://www.developerfusion.com/code/5159/ip2location-geolocation-net-component-in-vbnet/ IP2Location Geolocation .NET Component in VB.NET 2006-01-06T06:00:00.00Z IP2Location .NET component that translates IP address to country, city, region, latitude, longitude, ZIP code, ISP and domain name. Developers use this component for projects related to: 1. Display native language and currency; 2. Redirect based on country; 3. Digital rights management; 4. Prevent password sharing and abuse of service; 5. Reduce credit card fraud; 6. Web log stats and analysis; IP2Location Inc http://www.developerfusion.com/code/4712/generate-an-image-of-a-web-page/ Generate an Image of a Web Page 2005-07-22T15:50:00.00Z Demonstrates how to fetch images and thumbnails of web pages using a hidden web browser control. Alan Dean http://www.developerfusion.com/code/4696/reading-binary-data-in-c/ Reading Binary Data in C# 2005-06-14T20:19:00.00Z How to read binary data from a file in C# - the right way! Jon Skeet http://www.developerfusion.com/code/4693/using-the-credential-management-api/ Using the Credential Management API 2005-04-28T16:39:00.00Z Following secure development best practice, an application should obtain and store user credentials securely. Microsoft has provided a means to accomplish this on the desktop: the unmanaged Credential Management API, which exposes the capability to provide a standard login experience for the user which is also secure. This code demonstrates how to create a generic dialog implementation using this API. Alan Dean