https://www.developerfusion.com/t/csharp/code/C# Sample code from Developer Fusion2008-08-28T11:22:00.00Zhttp://www.developerfusion.com/code/8063/deep-clone-an-object-in-net/Deep clone an object in .NET2008-08-28T11:22:00.00ZA simple code snippet that deep-copies an object by serializing and de-serializing using the BinaryFormatterJames Crowleyhttp://www.developerfusion.com/code/7987/making-a-net-app-run-on-vista-with-administrator-priviledges/Making a .NET app run on Vista with Administrator priviledges2008-08-06T09:35:00.00ZIf 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 Crowleyhttp://www.developerfusion.com/code/6623/dynamically-generating-pdfs-in-net/Generate PDFs using C# and the free iTextSharp library2007-04-15T20:36:00.00ZLearn 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 Crowleyhttp://www.developerfusion.com/code/5717/interacting-with-tinypic-from-c/Interacting with TinyPic from C#2006-05-20T02:00:00.00ZThe 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 Sanchezhttp://www.developerfusion.com/code/5682/create-pdf-files-on-fly-in-c/Create PDF Files on fly in C#2006-05-11T07:59:00.00ZThis 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 Zafarhttp://www.developerfusion.com/code/5639/developing-your-first-visual-webgui-application/Developing your first Visual WebGui application2006-04-29T15:57:00.00ZAn introduction to Visual WebGui through a sample application.Guy Peledhttp://www.developerfusion.com/code/5638/visual-webgui-a-unique-approach-to-ajax-development/Visual WebGui a unique approach to AJAX development2006-04-29T15:45:00.00ZVisual 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 Peledhttp://www.developerfusion.com/code/5513/sorting-and-searching-using-c-lists/Sorting and Searching Using C# Lists2006-03-23T15:46:00.00ZThe 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 Murphyhttp://www.developerfusion.com/code/5457/the-using-statement-in-c/The "Using" Statement in C#2006-03-01T15:18:00.00ZThe 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 Larreahttp://www.developerfusion.com/code/5456/sending-authenticated-emails-in-net-20/Sending Authenticated Emails in .NET 2.02006-03-01T15:13:00.00ZLearn what's changed with .NET 2.0 and how to send out emails using an SMTP server that requires authentication.Xavier Larreahttp://www.developerfusion.com/code/5370/using-microsoft-agent-in-c/Using Microsoft Agent in C#2006-02-10T16:14:00.00ZMicrosoft 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 Harinathhttp://www.developerfusion.com/code/5346/checking-internet-availability-using-c/Checking Internet Availability using C#2006-02-03T09:49:00.00ZWhile 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 Harinathhttp://www.developerfusion.com/code/5303/precise-net-server-content-caching/Precise .NET Server Content Caching2006-01-29T11:38:00.00ZA simple demonstration of how to programatically use the caching facilities that ASP.NET offers.Dimitrios Markatoshttp://www.developerfusion.com/code/5282/transactions-made-easy-with-net-20/Transactions made easy with .NET 2.02006-01-25T01:18:00.00ZOne 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 Larreahttp://www.developerfusion.com/code/5247/applying-xsl-transformations-to-xml-in-net/Applying XSL transformations to XML in .NET2006-01-19T09:17:00.00ZA simple demonstration of how to apply an XSL transformation to an XML file and save the output using .NETKrishnanhttp://www.developerfusion.com/code/5223/using-ashx-files-to-retrieve-db-images/Using ASHX files to retrieve DB images2006-01-15T12:37:00.00ZLearn how to use the little-known Http Handler functionality of ASP.NET to serve images from a database.Harry Piersonhttp://www.developerfusion.com/code/5159/ip2location-geolocation-net-component-in-vbnet/IP2Location Geolocation .NET Component in VB.NET2006-01-06T06:00:00.00ZIP2Location .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 Inchttp://www.developerfusion.com/code/4712/generate-an-image-of-a-web-page/Generate an Image of a Web Page2005-07-22T15:50:00.00ZDemonstrates how to fetch images and thumbnails of web pages using a hidden web browser control.Alan Deanhttp://www.developerfusion.com/code/4696/reading-binary-data-in-c/Reading Binary Data in C#2005-06-14T20:19:00.00ZHow to read binary data from a file in C# - the right way!Jon Skeethttp://www.developerfusion.com/code/4693/using-the-credential-management-api/Using the Credential Management API2005-04-28T16:39:00.00ZFollowing 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