Site: http://www.eggheadcafe.com/ Link: http://www.eggheadcafe.com/rss.xml
by via eggheadcafe.com articles on 5/22/2009 4:24:59 PM
A site committed to bringing high quality C# articles and resources. Articles include example projects with thoroughly commented source code. read moreBy Armando Pensado ...
[ read more ]
by via eggheadcafe.com articles on 5/13/2009 6:44:08 AM
The purpose of this article is to exchange the user credentials between client and web service using soap header. Nowadays security is of the most concern in any kind of system. read moreBy Bill Look ...
by via eggheadcafe.com articles on 5/9/2009 4:15:09 PM
The purpose of this article will explore how to access a web service without add Web Reference into the client application.That means using WSDL File and generate proxy class and then finally use within client Application. read moreBy Bill Look ...
by via eggheadcafe.com articles on 5/12/2008 10:33:29 AM
This is a question that apparently comes up frequently: What is the fastest way to search a string of text for a bunch of keywords (e.g., a "badwords" list for cleaning or disallowing forum spam, etc.). To the average developer, two approaches come to mind: First, the "brute force" String.IndexOf method. Second, using REGEX to find matches based on an OR (x|y|z..) expression. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 3/3/2008 7:53:21 AM
LINQ to Objects is based on iterators. These have always been part of .NET, and indeed are the basis of the foreach statement - but with LINQ to Objects they're more important than ever before. In this article Jon explores what iterators are about, how to implement them in C# 2 (or 3), and then the fundamental aspects of LINQ to Objects. Jon's new book, "C# In Depth" will be awarded to our top two Contest winners in March 2008. read moreBy Jon Skeet ...
by via eggheadcafe.com articles on 2/4/2008 12:01:37 PM
The .NET Framework includes GZipStream and related classes, but they only support compression, not the standard ZIP file structure. This article explains how you can handle correctly zipping and unzipping folders and files including using a zip password. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 1/29/2008 9:55:03 AM
Attributes are a mechanism for adding metadata. Reflection is the process by which a program can read its own metadata. This article shows how to add attributes to an enum, and how to read out the attributes via Reflection. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 1/4/2008 1:02:04 PM
Anonymous methods are not an intrinsic construct of the CLR. They are actually implemented by the C# compiler. This short article illustrates how to use anonymous delegates with the .NET ThreadPool. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 12/15/2007 6:27:04 PM
Sometimes it's easier and faster to do things "the easy way" with custom configuration data saved from a DataSet instead of slaving over Custom ConfigurationSections in the App.Config or web.config file. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 12/11/2007 7:12:18 AM
Shows a technique for embedding all the assemblies for an application as compressed, embedded resources into a single stub loader executable, extracting, decompressing and loading into the AppDomain at startup. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 10/11/2007 7:24:45 PM
How to download stock price history data from Yahoo finance, store in a SQLite database, and make nice stock charts from same. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 9/14/2007 7:50:14 PM
The most common usage of Generics in any .NET language is in implementing collections. This article provides a quick overview of the generic collection classes provided by the .NET Framework, and their main characteristics. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 8/21/2007 7:06:47 PM
ASP.NET has lots of "out of the box" features that make the display of data easy, including pageable GridViews and DataGrids with little or no code. But the stock paging mechanism uses javascript to cause the postback, and the url of the new "page" doesn't change. This is not "SEO friendly", because the Googlebot and other search engine crawlers click on the links, and see the result as a page they've already requested, so it doesn't get indexed. read moreBy Peter Bromberg ...
by via eggheadcafe.com articles on 8/14/2007 9:21:51 AM
This is a rating bar script done with asp.net and sql server that allows users to rate things like can be done on Netflix or Amazon, all web 2.0-like with no page refresh, so you should be able to adapt it to your situation without too much trouble. read moreBy arun arun ...
by via eggheadcafe.com articles on 8/13/2007 3:49:55 PM
This article presents three scenarios where an Abstract Factory may prove useful. It also highlights areas where abstract factory has been used within the .NET framework and the Patterns and Practices Enterprise Library. read moreBy Douglas Minnaar ...
by via eggheadcafe.com articles on 8/8/2007 11:53:47 AM
Utilizing a ListBox, TextBox, ComboBox, TreeView, or custom class as a property in a .NET Windows Forms PropertyGrid control can seem like a daunting task. Even resizing the PropertyGrid column widths seems impossible. Today's article will show you how. By Robbe Morris ...
by via eggheadcafe.com articles on 8/5/2007 1:38:08 PM
This article gives a brief demonstration of C# .NET's anonymous methods and the power and flexibility they offer developers in real world applications By Shay Shivecharan ...
by via eggheadcafe.com articles on 8/4/2007 12:14:54 PM
Shows how to easily create a YouTube Search page using the YouTube RESTful API and a simple DataList control. By Peter Bromberg ...
by via eggheadcafe.com articles on 8/3/2007 1:47:44 PM
.NET 3.5 Extension methods are a great new way of adding functionality to an existing type – even a type you don’t have the source code to modify that type. This article explains extension methods and provides clear examples along with pros and cons. read moreBy Ian Suttle ...
.NET 3.5 Extension methods are a great new way of adding functionality to an existing type – even a type you don’t have the source code to modify that type. This article explains extension methods and provides clear examples along with pros and cons. By Ian Suttle ...
by via eggheadcafe.com articles on 7/15/2007 3:24:03 PM
It is not the intent of the Design Pattern Series to focus on providing a theoretical knowledge dump of all there is to know about design patterns. There are many books that do that already. Instead, this series will focus on providing lots of practical examples. However, there will be some theory to help address important points concerning design patterns. I use the theory of design patterns mostly as a guide and instead make references to good design pattern books for more detail explanation. ...
It is not the intent of the Design Pattern Series to focus on providing a theoretical knowledge dump of all there is to know about design patterns. There are many books that do that already. Instead, this series will focus on providing lots of practical examples. However, there will be some theory to help address important points concerning design patterns. I use the theory of design patterns mostly as a guide and instead make references to good design pattern books for more detail explanation.& ...
by via eggheadcafe.com articles on 6/19/2007 7:56:21 AM
The intent of this series is to provide more information concerning the functionality and limitations of the available ASP.NET 2.0 data controls. This will mostly be demonstrated through the use of code samples. Once this series is complete, I will demonstrate how one can AJAX enable some of these samples to improve the overall user experience. Therefore, this series will address the basics first before moving onto more advanced tools. By Douglas Minnaar ...
by via eggheadcafe.com articles on 6/18/2007 1:27:34 PM
Shows a simplified way to log requests and deny requests that come from . Can easily be turned on or off with a database entry and without causing app recycle. By Peter Bromberg ...
by via eggheadcafe.com articles on 6/10/2007 5:55:20 PM
The purpose of this article to demonstrate data filtering in GridView using DropDownList embedded in GridView column HeaderTemplate. By Yuri Kasan ...
by via eggheadcafe.com articles on 6/7/2007 12:20:15 PM
Shows how to derive from ASP:Hyperlink to provide a control that will automatically obfuscate mailto: hyperlinks to render the contents useless to spam email harvesters. By Peter Bromberg ...
by via eggheadcafe.com articles on 6/5/2007 9:16:48 PM
Shows how to refresh a datasource on a timed basis with a background timer thread, cache the data, and not have to worry about any delays due to the refreshing of the particular datasource usually taking a long time. By Peter Bromberg ...
by via eggheadcafe.com articles on 4/8/2007 11:42:07 AM
Uses a class library to compress a text file that represents a table of cities, states, and zipcodes into a kind of "control" library that contains the lookup CSV style exported database table as an Embedded Resource, extract it at runtime, and split the resulting string array into an ADO.NET DataTable complete with Primary Key to look up Zipcodes. By Peter Bromberg ...
by via eggheadcafe.com articles on 3/31/2007 11:49:53 AM
Often overlooked, the lowly HTTP HEAD Request offers useful results, especially where speed and bandwidth conservation are at stake. By Peter Bromberg ...
by via eggheadcafe.com articles on 2/23/2007 9:37:05 AM
XOR Encryption is unique in that it is bidirectional and very simple. Sometimes the very simple is "just enough". By Peter Bromberg ...
by via eggheadcafe.com articles on 2/4/2007 7:33:34 PM
Shows a simplified method for setting up a javascript include file that will wire up all your ASP.NET pages (or any page) to automatically log outbound link hit traffic to your database, using an ASHX image hander. By Peter Bromberg ...
by via eggheadcafe.com articles on 1/29/2007 1:55:02 PM
Peter hooks up his new WebSiteThumbnail class into the previously published In-Memory Image control, and shows how it works. By Peter Bromberg ...
by via eggheadcafe.com articles on 1/18/2007 1:42:59 PM
Shows how to build a script-only database edit page with the GridView some textboxes and buttons, and the SqlDataSource control. No compilation, all you need is the connection string in web.config! By Peter Bromberg ...
by via eggheadcafe.com articles on 1/17/2007 3:45:23 PM
Shows a simple C# SevenZip.Compression.Lzma.SevenZipHelper class to enable high-compression of in-memory objects with C#. Adds a new 7Zip format LZMA Cookie Compression class to the previously published CookieCompression utility. By Peter Bromberg ...
by via eggheadcafe.com articles on 1/8/2007 8:33:53 PM
Peter reveals his latest creation, the Compressed Cookie! Serialize entire classes, DataSets to compressed cookies. By Peter Bromberg ...
by via eggheadcafe.com articles on 1/6/2007 7:50:08 PM
One of the most common frustrations of new .NET programmers revolves around an incomplete understanding of how the Windows Forms UI model works. This shows how to use the Control.Invoke method as well as the BackgroundWorker class to perform updates to the UI from a secondary thread. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/29/2006 10:37:05 AM
Shows how to instrument your ASP.NET application for custom restarting of the app, logging exceptions and using the built-in ASP.NET 2.0 Management Events and Auditing providers. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/28/2006 2:37:45 PM
Extending the concepts presented in a previous article, Peter shows how to use Asynchronous Page Tasks to combine the results from seven different RSS Search providers simultaneously, and display the results in a pageable GridView. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/28/2006 7:31:08 AM
Illustrates the use of a Predicate to enable the Generic List FindAll method to create a sub List of wildcard filters. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/27/2006 9:09:13 AM
I read the MS newsgroups as often as I can, not only to get (hopefully) answers to my own questions, but also to share ideas and get ideas of my own on how to solve programming problems. By Robbe Morris ...
by via eggheadcafe.com articles on 12/26/2006 9:11:11 AM
A program that extracts icons from the registry by their associated extensions. By erik little ...
by via eggheadcafe.com articles on 12/21/2006 4:39:47 PM
A short discussion of the Garbage Collection process in .NET, how it relates to WeakReferences, and other cool stuff. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/16/2006 5:03:11 PM
In edge detection the aim is to mark the points in a image at which the intensity changes sharply. Sharp changes in image properties reflect important events These include: (i) discontinuities in depth. (ii) changes in material properties. (iii) variations in scene illumination. Edge detection is used in the field of image processing and feature extraction. The Sobel operator is such an operator used edge detection algorithms. By Shailendra Sason ...
by via eggheadcafe.com articles on 12/11/2006 3:59:25 PM
Shows a not too novel but very workable approach to stopping Blog (and similar) bot spam without having to resort to those ugly CAPTCHA images. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/11/2006 7:33:46 AM
Here's an article which can you give you better idea on "How to send and receive XML files using MSMQ", this application was developed using C# and let us see more in detail how it works and where it can be applied effectively in an real-time environment! By Venkatesh K ...
by via eggheadcafe.com articles on 12/7/2006 1:00:46 PM
B-spline curves share many important properties with Bezier curves, because the former is a generalization of the later. Moreover, B-spline curves have more desired properties than Bezier curves. The following code is for generating a bspline. By Shailendra Sason ...
by via eggheadcafe.com articles on 12/7/2006 7:06:51 AM
You can't use javascript in Mobile Forms, and they don't accept the META Refresh tag either. Here's a way to create a Mobile Form that will refresh and autoredirect based on a timer, that extends the Mobile Form class as a control. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/6/2006 8:10:58 PM
Here's a beginners guide to reading/writing text or binary files in .NET. Includes using recursion to create and traverse a folder hierarchy tree. Shows how to convert strings to binary and binary back to strings. By Robbe Morris ...
by via eggheadcafe.com articles on 12/6/2006 12:12:23 PM
Peter revisits an old friend, the "collapsible div", with an update and a new approach. By Peter Bromberg ...
by via eggheadcafe.com articles on 12/4/2006 8:17:22 PM
Working with a Windows Forms .NET TreeView control? This article contains code samples for the most common questions I've recevied. Things such as right click on nodes to show context menues, drag and drop nodes on the same TreeView or even another control, nudge nodes up and down in sibling order, and much more. By Robbe Morris ...
by via eggheadcafe.com articles on 11/29/2006 1:47:24 PM
A concise overview of how to implement Constraints and the IComparable / IEnumerable Generic Interfaces. By Peter Bromberg ...
by via eggheadcafe.com articles on 11/13/2006 1:11:56 PM
An easy way to make your ASP.NET application offer to install the database it is supposed to use, as directed by the user, when it is first requested. By Peter Bromberg ...
by via eggheadcafe.com articles on 11/12/2006 5:33:16 PM
Today's article shows one approach to bubbling up exceptions and error messages from your business layer to your windows form UI as well as web methods when called via Web Services. It is a great beginner sample to utilizing web services and custom classes in .NET and can also be useful in ASP.NET / AJAX / Anthem .NET applications. Learn how to change the web service url at runtime in your windows forms application and how to copy class properties to and from web service references. By Robbe ...
by via eggheadcafe.com articles on 11/12/2006 3:57:35 PM
Today's article shows one approach to bubbling up exceptions and error messages from your business layer to your windows form UI as well as web methods when called via Web Services. It is a great beginner sample to utilizing web services and custom classes in .NET. You'll learn how to change the web service url at runtime in your windows forms application as well as how to copy class properties to and from web service reference objects to business layer objects. By Robbe Morris ...
by via eggheadcafe.com articles on 11/8/2006 7:26:58 AM
ObjectDataSource is a new hybrid control for ASP.NET 2.0 This article shows an unusual use of the control to retrieve and display RSS Feed search results from the web, instead of getting data from a database. By Peter Bromberg ...
by via eggheadcafe.com articles on 11/3/2006 1:28:10 PM
A common issue for developers is having to make blocking remote method calls on objects over which you have no control. Here is a simple way to make such methods "timeout"-able so your app doesn't hang with no return. By Peter Bromberg ...
by via eggheadcafe.com articles on 10/20/2006 6:35:24 PM
A solution to the annoying flickering problem when you update Textboxes in Windows forms. By Sadhana G ...
by via eggheadcafe.com articles on 10/20/2006 10:52:14 AM
by via eggheadcafe.com articles on 10/18/2006 1:06:30 PM
Sometimes, you want to be able to sort objects on a number of different fields. For example, employees can be sorted by their name, years of service, pay rate; or blog posts by the date they were posted, their status, number of comments, the author. It's really easy to offer all these sorting methods. Best of all you don't have to write too much code. By Sadhana G ...
by via eggheadcafe.com articles on 10/13/2006 1:57:02 PM
Shows how to use the AppDomain.UnhandledException event and similar events, to log and even restart your app if it blows up. By Peter Bromberg ...
by via eggheadcafe.com articles on 10/10/2006 9:19:32 AM
Outlines some basic rules for good software development that have stood the test of time. By Peter Bromberg ...
by via eggheadcafe.com articles on 10/8/2006 11:17:35 AM
Covers the basics of Forms Authentication whether used with the Membership and Roles Providers, or as a standalone authentication / authorization mechanism. This is the first of a series of "BASICS" articles. If you have a suggestion, please feel free to post about it. By Peter Bromberg ...
by via eggheadcafe.com articles on 10/3/2006 1:59:30 PM
This code sample demonstrates how to copy class properties from one class to another even if they are not the same type. It also demonstrates how to validate a class's required properties dynamically. Both of these can increase your coding productivity especially when dealing with web service versions of your business classes. By Robbe Morris ...
by via eggheadcafe.com articles on 10/3/2006 11:25:23 AM
Shows the use of the WebResource.axd handler in ASP.NET 2.0 and covers a couple of "gotchas". By Peter Bromberg ...
by via eggheadcafe.com articles on 9/28/2006 9:03:45 AM
Custom Excel like auto formatting of numbers in .NET. Demonstrates how to take an entirely improperly formatted number and reformat it any way you like. Provides an alternative way to incorporate internationalization formatting for commas and decimals. By Robbe Morris ...
by via eggheadcafe.com articles on 9/19/2006 7:30:24 AM
Constructor can play a vital role in defining the behavior of the class. This article is focused on implementing Constructors in smart way to address requirements. By Neeraj Saluja ...
by via eggheadcafe.com articles on 9/18/2006 1:25:09 PM
covers the basics of the ASP.NET 2.0 Asynchronous Page processing model, with an example that makes concurrent webrequests with the AsyncTask object. By Peter Bromberg ...
by via eggheadcafe.com articles on 9/16/2006 12:02:35 PM
Peter revisits his original Anthem.Net AutosuggestTextBox control with new enhancements and better features. By Peter Bromberg ...
by via eggheadcafe.com articles on 9/15/2006 10:28:39 AM
Excel like auto formatting numbers in JavaScript such as currency, numbers with decimal points and places, and disabling decimal points is an important part of web based calculation data entry tables. The code sample below demonstrates how to handle a wide variety of number formats. It also lets you integrate internationalization as part of your formatting scheme. By Robbe Morris ...
by via eggheadcafe.com articles on 9/11/2006 5:55:46 AM
This project(PCinfo) is about getting PC or System information from the system such as operating system ,Domain name ,logical Drives, IP address and Environment Variables. By J S ...
by via eggheadcafe.com articles on 9/11/2006 2:57:26 AM
Here is the code that helps to read any document (like .doc, .rtf , txt )from specified location. By J S ...
by via eggheadcafe.com articles on 9/8/2006 12:37:02 PM
Review of Mark Michaelis' newest book on the C# language from Addison Wesley's Dot-Net Series. By Peter Bromberg ...
by via eggheadcafe.com articles on 9/4/2006 9:45:00 AM
by via eggheadcafe.com articles on 9/4/2006 7:39:17 AM
Peter revisits his original Exception Handling Framework with additional fields and a new Visual Studio 2005 solution that provides for the Data Collection field that is new in the Exception class. By Peter Bromberg ...
by via eggheadcafe.com articles on 8/30/2006 9:48:53 PM
Experts will tell you that the more inbound links you have to your site or page, the better your search engine rank. Here is a neat utility to check counts. By Peter Bromberg ...
by via eggheadcafe.com articles on 8/21/2006 10:02:52 PM
Shows how to use the built-in IE7 (And Vista) MSFeeds API to download and create feeds via a URL, and prune out inactive feeds based on user criteria. ...
by via eggheadcafe.com articles on 7/30/2006 9:41:53 PM
I've been working as an individual developer for probably 20 years now, and as a team developer for only about the last 6 years. Here are a few of the "rules of development" I've learned so far. Not everything in this list is 100% my own concept, but I can state that I have "taken ownership" on all of them. ...
by via eggheadcafe.com articles on 7/27/2006 11:00:31 PM
Peter revisits the FireAndForget pattern, with a cool Console app that exercises the method 100,000 times and shows you the times. By Peter Bromberg ...
by via eggheadcafe.com articles on 7/8/2006 9:18:28 PM
Shows how to dynamically get the coordinates of the street address property and compute the exact Virtual Earth map tile, download and display in the control from memory. Supports aerial, road and hybrid images, image size, and zoom level. By Peter Bromberg ...
by via eggheadcafe.com articles on 7/8/2006 4:18:27 PM
by via eggheadcafe.com articles on 7/1/2006 2:43:05 AM
Peter shows a couple of neat tricks with CSS to get very high quality HTML reproductions of images - on the fly! By Peter Bromberg ...
by via eggheadcafe.com articles on 6/30/2006 9:43:05 PM
by via eggheadcafe.com articles on 6/30/2006 3:30:46 PM
Illustrates the use of the primary key and ROWVERSION (timestamp) column in your update stored procs and queries to avoid overwriting data changed by another user. By Peter Bromberg ...
by via eggheadcafe.com articles on 6/22/2006 2:05:02 PM
Jon Wojtowicz explains how to create a custom configuration section handler for ASP.NET 2.0 By Jon Wojtowicz ...
by via eggheadcafe.com articles on 6/22/2006 9:05:01 AM
by via eggheadcafe.com articles on 6/15/2006 5:35:03 PM
Peter continues a rant from a previous article that highlights what he thinks are some EVIL coding practices, this time with some quotes from the gurus who "wrote the book". By Peter Bromberg ...
by via eggheadcafe.com articles on 6/12/2006 9:27:12 PM
by via eggheadcafe.com articles on 6/9/2006 2:08:10 PM
A pipeline can be thought of as water flowing through a pipe. The pipe connects a series of stages where processing occurs. Because all the stages use the same interface they can be composed into different solutions by connecting the stages to different pipes. This article shows how to implement a configurable series of steps for processing data. By Jon Wojtowicz ...
The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.