Category · 322 posts

.Net Original

2010

2009

2007

2006

2005

2004

2003

  • Another article of mine published on MSDN: Search Dynamically for Plug-Ins

    Search Dynamically for Plug-Ins Summery: "This article is an extension to my previous article about plug-ins . I encourage you to take a look at that before diving into this article. That said, my main goal in this…

  • Code: CRUD base classes for unit testing

    I never felt comfortable with doing unit tests against live database, alas, I feel it is a necessary evil to contend with, because the feedback you get is much more helpful than using Mock objects for such a task, I…

  • My First *real* SQL optimization (and some good resources)

    Yeah, I know how to design a database and normalize tables, but this is some optimization stuff I never had to do. It was fun! We recently encountered the task of optimizing a stored procedure that was taking very long…

  • Problem and solution: Renaming htm file to aspx may cause javascript trouble

    We ran across this when moving some old files to a new project. One of the tasks was to turn a very simple htm file into the same file with an aspx extension. The original htm file had a reference to a javascript file.…

  • Service announcement: Feedable and Regulator live again, and Norway tips

    Ah. My home machine is back up meaning Feedable is live again and so is The Regulator site. For some odd reason, the only person in the world who can not access these sites is little ol' me from Norway. Ah well, as long…

  • Homesick, EIF and a session state FAQ

    I dropped of the Mrs. this morning at the airport going back home to Israel. Will see her in a month and a half. Boy was that hard. Luckily it was a pretty swift goodbye since we were almost late for the plane. While…

  • My first MSDN article is out: Creating a plugin framework

    Update : If you can't find the source code in the article to download, you can also get it from here . It took a looong time and some pretty heavy paperwork, but my first ever MSDN article is up and about on the ASP.Net…

  • Welcome Dino, and a word about MSDN articles

    Dino Esposito Has started a blog here on .Net weblogs ( rss ). If you don't know who he is, I suggest you get acquainted with his work real soon as he is one of the finest authors I've ever read with cool solutions and…

  • [Tool] Scripter allows you to configure a linked Javascript or VBScript file.

    Scripter allows you to configure a linked Javascript or VBScript file. Select a script file and Scripter will tell you which files in your Web are currently linking to that script. You can then add and remove files very…

  • [Review] CodeSmart.Net

    AXTools has been on my “favorite tool makers” list for a couple of years now, if not more (disclaimer: I got a free copy of this product so that I can review it). When I did VB6 development, they came out with one of…

  • Plugin frameworks in .Net links

    It looks like making applications that can have plugins starting to catch on. But I really didn't get much feedback on my Extensibility Application Block - which enables exactly this . Perhaps I should have renamed it…

  • Introducing: Extensibility Application Block

    This has been burning inside me for quite a while. Now y'all get to see what I was up to. Download EAP 1.0 Extensibility Application Block overview: One of the demands from a successful application is the abilityto…

  • DotNetNuke Rocks!

    I've been wanting to make my Regulator site into a “real” site, so I checked out doing in using .Text. it was nice but it wasn't the “feel” i was looking for. Then I stumbled upon DotNetNuke and boy am I impressed! I…

  • VS.Net refactoring Lessons from IntelliJ IDEA (redux)

    I've posted about this here and here before but now Mike Gunderloy writes about refactoring support (or lack thereof) in Whidbey. Some hard hitting points such as the fact that only C# has “refactoring” and not very…

  • Why are typed data tables columns declared "internal"?

    Here's a question that Oskar Austegard left in response to what I wrote ,oh such a long time ago(6 months?), about typed datasets being scalable : How exactly does one go about using a TDS effectively in a different…

  • The Regulator 1.02b is out

    Download from GDN workspace, or get there from the Regulator Homepage I'd like to thank Mike Gunderloy and SBC for giving me lots of feedback on needed features and broken things. I'd appreciate more feedback from…

  • [Tool] The Regulator 1.02a is out

    Version 1.02a released! Features: Regexlib.com integration Search and import expressions and examples from RegexLib.com ’s database Post your own regular expressions into regexlib's database, direct from The regulator…

  • [Article X 2] 2 more of mine published on MSDNAA

    Two more articles posted on MSDNAA : Introduction to Test-driven Development with NUnit and the NUnit Add-in This article explores Test-Driven development (TDD) techniques. Fun with Unit Tests–Testing Abstract Classes…

  • [Article/Code]: Easy Proxy handling through the ProxyFactory and ProxyInfo classes

    I had to make The Regulator support Proxy servers, so I dug in to how the WebProxy class works, and with a little help from Darren , I managed to get it up and running. In the process, I wrote a little helper class that…

  • Israel .Net web user group meets today - Design time programming in Vs.Net

    The user group meets today, 29.10.03 registration starts at 17:00, groups starts at 17:45 at the MS HQ near ra'anana (Amdocs building) topics: What is it Design Time programming and what is it good for? Various…

  • Refactoring, FINALLY!

    If there's one thing that stood out for me from the Whidbey screenshots, it's this: FINALLY, some refactoring support! Hopefully, this is just the beginning. The Whidbey team should take notice of the amount of…

  • Winforms menu shortcuts not working sometimes? Use ProcessDialogKey()

    One of the one of the usability standards I always try to live up to in my win forms apps is letting the user choose how to perform any specific action, Mouse or keyboard. What I mean is that for every action that the…

  • Calling webservices asynchronously - 2 possible ways

    Calling a web service inside your win forms application is almost trivial. Making the user happy while you do it, is just a little less trivial, but very doable. Say I have this webservice call (and suppose I have an…

  • The Regulator won't be available while I sort this GPL thing out.

    Following the recent discussions about the legal status of The Regulator in terms of the GPL, I've decided to take down the public release of the program from GDN until: I can make it fully GPL compatible (i.e,…

  • [Tool] Introducing The Regulator - advanced regex tool

    Yeah, I've been away too long, but here's how I'm making up for it: Introducing The Regulator : An advanced regular expression tool with expert features such as: Syntax highlighting and folding Multi threaded operations…

  • [Article] on MSDNAA: Creating a Generic Site-To-Rss Tool

    My Site-To-Rss article was just published on MSDNAA : Creating a Generic Site-To-Rss Tool

  • Introducing SiteFeeder

    Now you can have an RSS feed for almost any site you want. Introducing SiteFeeder . 'nuff said.

  • [Tip]:MemoryStream.GetBuffer() vs. MemoryStream.ToArray()

    One of my readers posted a comment on my Site-To-RSS article that just solved me a bunch of trouble! In the article, I was using a memory stream to write the XML into memory. I was using the MemoryStream.GetBuffer()…

  • When running 'aspnet_regiis -c' still doesn't fix it...

    If you ever find yourself with this error: “ Unable to find script library '/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this file manually, or reinstall by running 'aspnet_regiis -c'.” and you've…

  • Fun with NUnit - clarification

    I just got a comment on my Unit Testing article. The comment was by Manfred Land - the Project Manager for csUnit, and it clarifies some errors and some things I didn't write(or know) about csUnit when I wrote the…

  • See you at the Israel .Net user group tomorrow!

    Next Meeting: October 1, 2003 (Wednesday) 17:30 - 18:00 Assembly 18:00 - 18:05 Introduction and miscellaneous 18:05 - 19:15 “Life Without Enterprise Services” Yosi Taguri and Lior Rozner , SPL Software 19:15 - 19:30…

  • Unit Test Your .NET Data Access Layer: Where are the Mocks?

    I was real excited to see an article up on MSDN that discusses Test Driven development (via Ashutosh Nilkanth ). Not only that, it discusses the issue of testing database related code inside your unit tests - a messy…

  • [New article]: Creating a generic Site-To-RSS tool (site scraping)

    It's been a long and very interesting week for me. I know it's weird hearing that the week I start looking for a new job, but it's true. I've been getting lots of interesting offers from people, especially from the…

  • AmazReplacer - Convert Amazon's URL into your referrer URL automatically

    I've created a small utility app that does that automatically takes whatever URL is in the clipboard , reformats it to be an Amazon referral URL and puts the result in the clipboard. Very easy and fast. You can download…

  • [Article] Fun with Unit Tests – Testing abstract classes

    Just posted my latest article: Fun with Unit Tests – Testing abstract classes Summary In this article I’ll be looking into a trickier part of unit testing– testing the functionality of classes who cannot be instantiated…

  • I'm available

    Perhaps it was in honor of my new MCP , or just because it is two days before the Hebrew new year's, I find myself looking for a job again . The tale is short and not that complicated. suffice to say that my current…

  • [Article] Introduction to Test-driven development with NUnit and the NUnit-Add-in

    It's been a while since my last article, but this one has been lurking inside me for the past month or so. It's the first of a series I plan to write about Unit-Testing in .Net (well, maybe just another one down the…

  • Passed MCP 70-316

    Today was a good day. Got up at 7am(on a Friday - that's a Saturday for you US folks) and drove Tal to her university course, and I myself headed over to “John Brice” IT schools HQ and took my first MCP exam related to…

  • RegexLib RSS now even cooler

    Darren just informed me that the RegexLib RSS feed now shows the description of the regex in the “subject” instead of the full regex text, which is a real blessing. Now I can sit back and watch for new and cool regexs…

  • I'm in the "contributor spotlight" on MSDNAA

    Looks like one of my articles on MSDN-AA just made the contributor spotlight section on the front page! Check it out, it's down there on the right lower corner. I'm am honored :)

  • IsNumeric() hell

    As an old VB'er I have to ask - what's up with the lack of IsNumeric() in the base class library? Why is there a Char.IsNumber() but no string.IsNumeric()? Why should I have to reference Microsoft.VisualBasic.Dll for…

  • IsNumeric() hell

    As an old VB'er I have to ask - what's up with the lack of IsNumeric() in the base class library? Why is there a Char.IsNumber() but no string.IsNumeric()? Why should I have to reference Microsoft.VisualBasic.Dll for…

  • Document outline

    For the past few weeks I've been deep diving into ASP.Net land. One of the things I wasn't prepared for was the amount of time I would have to spend tweaking and changing HTML and Java Scripts. A lot. Lots of times I…

  • Israeli .Net web casts - finally!

    If you're a Israeli .Net developer, MS israel has finally started taking baby steps towards providing webcasts in hebrew about .Net. Just got the email (Thanks dana). So - wer'e gonna have 3 webcasts: 22.9.03 - .Net…

  • Issue and solution: Web custom control not showing in designer with "Security Error" tooltip

    Tal, my wife ran into a weird situation today: She created a web custom control with very simple text output(”Hello world”), After compiling it, she created a new web application and added the compiled control to the…

  • So, you have to live with 1.0?

    Some of us still use the 1.0 framework (for pretty weird reasons, some people still believe that moving to 1.1 would be a bad thing.. and it's not - if you take the necessary precautions and know what breaks between…

  • Issues and solutions with Process and Request Identity in ASP.NET

    Just found a great KB article that explains how deal with all kinds of permission and identity issues when doing stuff from ASP.NET. I've highlighted the sections so you can see all the tasks that could use…

  • Automatic Data-Relations

    Greg asks about data relation support in Yukon . Meanwhile, in the present, there are several ways to avoid building those relations manually in code: Return hierachical data from your SQL server procedures (with the…

  • Debugging shortcuts - Run to cursor, Find next statement

    Here are some common debugging tasks that I've found you can do with the keyboard: * sometimes when I debug I go to all sorts of places in my code, while inside a breakpoint or when debugging line by line. In order to…

  • Books to buy

    Here's the list of books my company is planning to buy in the next few days (suggestions are welcome) : Windows Forms Programming in C# Essential .NET, Volume I: The Common Language Runtime Patterns of Enterprise…

  • Israel Visual Basic User Group today - on ADO.Net

    Israel Visual Basic User Group this Wednesday - on ADO.Net You don't have to be a VB programmer to learn about .Net. It's about the framework anyway. I recommend you be there. If you think you already know ado.net - go…

  • Hosting the CLR - the native approach

    A while ago I posted about a user group session which involved explanations about CLR hosting, among others. Hosting can be done either through COM interfaces or through native C or C++. Although the lecturer talked…

  • The [Conditional] Attribute

    If you want to write methods that are only available with conditional compiler arguments you can use an attribute just for that purpose: < Conditional("DEBUG")> _ Private Sub MyMethod() End Sub [Conditional("DEBUG")]…

  • Asynchronous ASP.Net actions suck?

    Every once in a while you get to do dev work in an area you know nothing about. That’s me and ASP.Net. Well, I do know some things but it’s all theoretical. I never really got to do asp.net development in a “real”…

  • Loading Winform UI controls from a different AppDomain is problematic

    I recently got a question regarding a problem loading dynamic UI controls at runtime. Part of the solution that person tried to do was to try and load the controls in a separate AppDomain , so that they can later unload…

  • The ultimate connection string reference

    This is the most complete reference of any connection string you'll ever need: http://www.connectionstrings.com/

  • Combobox binding trouble - with a solution

    I recently had a very annoying “thing”. On my winfom app, I wanted to bind a combobox to a dataset. For some reason the combo would not show anything. The Dataset was perfect, I even bound it to a grid to see that it…

  • Some debugging tips

    I was pretty sick last night and only got 1 or 2 hours of sleep. I had to stay in a little to sleep it off but now I feel better. I thought I'd put out a quick post before I get off to work. A lot of people don't know…

  • Make your app support plugins - Part II

    Make your app support plugins - Part II , including the source code for it (which was not available before), can now be found on MSDNAA . Thanks Lauri :)

  • User Group notes: WMI, CLR hosting and AppDomains

    If you missed it. Today was the monthly group meeting of the Israel visual C++ users group (I’ve been meaning to add a list of Israel’s .Net user groups to my blog links but somehow I always end up doing something…

  • Make your app support plugins

    Another one of mine made MSDNAA - Make your app support plugins .

  • CodeSmart.Net

    Is it just me or does CodeSmart.Net seem like one of the coolest VS.Net add-ins around the block? I've been a loyal Axtools customer in my VB6 days and thought the move to VS.Net would leave them little to enhance - but…

  • WMI mind blower

    If you have ever played around with WMI, specifically in .Net - this will blow your mind: Management (WMI) Extensions for Visual Studio .NET 2003 Server Explorer

  • Catch ex As Exception When...

    I too would like to add a cool little thingie in VB.Net after reading Rachel's post . One of the coolest exception handling features (which I could not find in C# BTW) is catching exceptions only on certain conditions.…

  • My new favorite book

    It's pretty darn late now, so before I go to sleep - this is my new favorite book: Debugging Applications for Microsoft .NET and Microsoft Windows

  • Caching in WinForms

    Just out of curiosity I decided to try out some caching experiments in winforms. I wasn’t out to do any performance counting or anything, but I was playing around with the caching application block. After messing with…

  • Server.Transfer vs. Response.Redirect

    I was recently faced with this question: What is the difference between Server.Transfer() and Response.Redirect()? I didn't really know the answer, because I'm more of a winforms kinda guy. However, my wife pointed me…

  • About coding standards

    " Here is the IDesign C# Coding Standard for development guidelines and best practices." [ Mark Brown ] This is written by Juval Lowy , which is a sort of hero of mine. A first look shows some really deep and thoughtful…

  • Nasty bug in Data Access Block Ver. 2.0

    Thanks to Mark Brown for discovering this bug in the Data Access Block Ver. 2.0. Short answer: Here's how to fix the data access bug: Open the SQLHelper.cs file look for the line that contains this line of code: C#:…

  • DataReader.HasRows

    One of the annoying things in version 1.0 of the .net framework was regarding the DataReader (Ole DB or SQL) class. You had no way of knowing whether the reader you got was pointing to any data or has no rows. You had…

  • Filling typed datasets using Data Access Application Block v.2.0

    The new Microsoft Data Access Application Block is out, and it contains some nice changes. One of the nicest (and simplest) is the ability to fill a dataset (that may or may not be strongly typed) using the SQLHelper…

  • Checking for NULL values

    I was recently asked how to check if a DB value you have in your hands is NULL . For one, you can use the System.DBNull class's ' Value ' property to check this like so: if (myVar==DBNull.Value) Another way, is when you…

  • C++ for programmers

    The past week has been quite interesting. As part of my new job I’m supposed to learn C++. When I heard that someone is actually gonna make me learn that language I was totally excited. I’ve been trying to learn C++ on…

  • Scripting .Net

    Chris Sells points to this article about implemeting scripting in .Net . Very interesting stuff. In one of my past jobs, I've implemented a full blown exstensible VB6 application, which used the COM Scripting engine…

  • Skill Evaluation

    I was listening to the .Net Rocks show a few days ago, and heard a very interesting idea: Mark and Carl offered their services as "Skills evaluators". Basically if you're a company that wants to hire someone as a .Net…

  • Kit George on BitVector32 bug

    Kit George, of Microsoft, responds to the BitVector32 bug that was posted about by Mattias Sjögren : " Just a note all: we are tracking this issue at Microsoft, and we do appreciate you taking the time to let us know…

  • Your favorite add-in?

    Have you voted for the best Visual Studio.Net add-in contest? Cast you vote here . What did I vote for? The Reflector Add-in of course. definitely the coolest tool and most useful I've seen yet. And it just got released…

  • Managed C++ performence vs. native C++

    The user group meeting today went great. Very interesting stuff. We actually got to see all the stuff that the .Net framework installation installs on the target machine. Lot’s of goodies in there right out of the box.…

  • .Net articles on MSDNAA

    Lots of great .Net articles over at MSDNAA (Hopefully one of mine will be published there real soon..)

  • More maintainable code(and others) lessons

    In the past week or so I’ve been going over all my code with the new guy who’s going to replace my in my current job(Yeah, I’m about to leave, but that’s a whole different post). It's strange. I have done code reviews…

  • Tonight's user group meeting went great (or - What does the matrix, X-Box's "Halo" and COM+ have in common?)

    Just got back from tonight's Israel web developers group meeting . The lecture was made by Yosi Taguri & Lior Rozner and was about the basics of COM+. Now, I never got the chance to work on an application that used…

  • Israel .net web developers group meeting

    Hope to see you all this evening at the Israel .net web developers group meeting . It looks like its gonna be a very fun lecture about Enterprise services. All I know is that they'll have XBox machines there as well. I…

  • Advanced debugging tips and stuff you never knew about the "Find" combo box

    1) You can set breakpoints on the callstack window as well - just select the call and hit F9 or right click. great for recursive functions. 2 ) You can set individual breakpoints on different expressions on the same…

  • Settings Add-in ver. 1.0 released on GotDotNet

    OK. I've released version 1.0 of my VS.NET Settings add-in on GotDotNet. Here's the project's URL. You can download the full setup there ( Currently tested on vs.net 2002 only ). After installation you'll get a new menu…

  • What's missing in today's hottest languages?

    Some of these changes refeer to stuff that is simply missing as an IDE feature rather than a language construct, but you get the drift.. Things VB.NET should have had out of the box: Multiple lines code (i.e. no "_"…

  • Export and import VS.NET's text editor's color and font settings

    I like customizing the way my VS.NET text editor looks and feels. I like dabbling with the colors and settings of the editor until everything is just as I like it. One caveat – If I move to a different computer – all…

  • A much needed SchemaHelper class

    Phew . I've made a fixed version of my SchemaHelper class (this time in C#). This class solves the problem of not being able to automatically find Data Relations while filling a Dataset object with tables. Although…

  • Why I write in Both C# and VB.NET

    I keep getting this question: Why do I write some posts in VB.NET and some in C#. Short answer: · Future employers like to see that I’m fluent in both · I want to be able to move between them seamlessly, as I believe…

  • Automatically Create DataRelations Based On OleDB Schema

    I was frustrated about the lack of automatic support for DataRelation creation via the DataAdapters , and the less-than-friendly OleDBConnection.GetOleDbSchemaTable() method, so I've decided to create a small class,…

  • More about .Net Deep Dive

    Just wanted to add the following items about yesterday's event: People: · I got to meet some of my old work colleagues · I got to meet the head of the ASP.NET user group , Nimrod, which is a cool guy. The idea came up…

  • .Net Deep Dive Recap

    Today was a long and cool day (Although it was hot outside). The “.Net Deep Dive” full day event at the Hilton (a.k.a ‘Teched for the financially challenged”) took place today, and I got to attend four lectures. 3 of…

  • FillSchema and AddWithKey Don't Operate As Promised?

    uuugh! I've been struggling with this one for a few days now, so after hitting all the relevant newg groups, let's see if anyone has a good answer: Given a DataTable, I need to know all the Other DataTables that have a…

  • Quick & Easy ADO.NET Speed Improvements

    OK, I coudn't resist... 1) It’s about 20 times faster to create DataTables in your dataset using code, than letting your DataAdapter create them. 2) A very good potential for speed improvement lies when filling a…

  • Disabling Connection Pooling

    ADO.NET Data Providers automatically use connection pooling turned on. If you want to turn this functionality off: In an SQLConnection object, Add this to the connection string: Pooling=False; In An OLEDBConnection…

  • A Little Macro To Automate Creating Connection Strings

    I've created a little macro that automatically creates a connection string and inserts it in your code. It pops up the infamous " Data Links " dialog for you, saving you, the poor programmer, from having to remember all…

  • Winforms Data Binding Lessons Learned

    Over the past week or so, I've been learning quite a lot about Data Binding in WinForms. I've decided to put the most important lessons I've learned in a short article . Her'e are its headlines: Lesson 1 : Displaying…

  • How To Know When An External Application Exits

    I was asked how one can launch an external application and know when it is finished. Her'es the code (Console Application): using System . Diagnostics ; static void Main ( string [] args ) { Process p = new Process ();…

  • Winforms DataBinding Bliss

    Played around with the Winforms DataGrid some more yesterday. Boy, it's nice. real nice. DataBinding Rocks . In VB6 I almost never used DataBinding, since I was mainly into N-Tier development, thus DataBinding would…

  • Funny Behaviour

    Tamar, a friend of mine, alerted me to this funny behaviour. can anyone tell me why the following code: static void Main(string[] args) { Console.WriteLine(21 - 5.45); Console.WriteLine(21 - 20.45); Console.Read(); }…

  • Data Binding Woes - A Simple Solution

    Wooho! Found the solution to the Data Binding problem I was having . I got it from this free book chapter: How to use Data Views from this book . I'll explain the problem and then the solution. Problem : How do you get…

  • Winforms Data Binding Woes

    I recently needed to get into Data Binding in win forms. I’ve read several articles( 1 , 2 , 3 ) and came up with several conclusions/questions: 1. Win forms Data Binding is very cool and powerful Using The…

  • About Reflector, Encoding, And an Article Error

    Yes. Lutz Roeder's Reflector is one cool tool. I just found out using it that my latest article has some bad code in it because of reflector. The article mentions that in order to write to a memory buffer instead f a…

  • AppDomains Reloaded

    Oh man . Reading Chris Brumme’s Post/Book Chapter about AppDomains was a bit like the first Matrix Movie. I figured I was in for a ride, but I never knew just how in-depth it was going to be. After the beginning, I kept…

  • .Net Debugging Resources Grows

    Thanks to Julia's latest post , my .Net Debugging Resources page is now a little bit bigger. If you know of something missing in there, contribute!

  • Nice DataBinding In Winforms Article

    A nice article about Data-Binding in Winforms: http://www.akadia.com/services/dotnet_databinding.html Among other things, it explains about the Currency Manager, BindingContext,Master-Detail displays - all the stuff…

  • Article Source now Online

    I've just put the source code that goes along with my Regex, XML and Log Parsing Article online. It shows a very simple, yet pretty cool example of loading a log file, and searching through it using a small GUI. Grab it…

  • .Net Rocks Show Do's And Don't's

    cool. Chris Sells is on .Net Rocks : " Chris talks with Carl and Mark about Longhorn, Working at Microsoft, his book with Don Box, his new Windows Forms book, dealing with Printer Margins, passing command-line arguments…

  • [New Article] Using Regex and The XML Classes To Parse Your Log Files

    Phew. My new article is up. It's my first one for the O'Reilly network, and my first "real" article ever. You could say I'm a bit excited :) " Summery : Most systems these days can generate log files to store data about…

  • Free Chapter From ADO.NET- Core Reference

    Here's a free chapter I found from ADO.NET - Core Reference,Microsoft : Chapter 10: Submitting Updates to Your Database coolness. UPDATE: boy, this chapter rocks ! it's more advanced than I first thought. here's an…

  • Amazon .Net books Feed

    Want to know of all the cool .Net books that arrive at Amazon's door? Inside your favorite RSS reader? http://www.yaywastaken.com/amazon/amazon-rss.asp?keywords=.Net

  • [New Article] Support Application Plugins 2 - Dynamic Plugin Search

    " Summery : This article is an extension to my previous article about plugins . The last article showed how one can create a plug-in architecture for the application. One of the comments I got on that article mentioned…

  • Improving Typed Datasets

    Shawn Wildermuth has an article over at OnDotNet which further illuminates some of the problems with Typed Datasets, and some of the solutions to those problems. It focuses mainly on several annotations in the XSD…

  • Performance Tuning and Optimizing ASP.NET Application

    Just found out this book was recently published: Performance Tuning and Optimizing ASP.NET Application I know my wife, Tal, could use it in her project....

  • Create More Readable Code By Interface Prefixes

    Here's something that might help write more readable code: When defining a class that implements an interface, instead of just declaring the interface overrides like so: public class MyCustomHandler :…

  • .Net Developer Journal May Issue PDF download

    The May Issue of .Net Developer Journal is here , and you can download the whole paper in PDF (5.x Megs) right here . (Free) Coolness... I don't know how it is in your company, but in mine we have almost no magazine…

  • About Dynamic Plug-in Discovery And AppDomains

    I've gotten several comments on my Plug-ins article which was published both here and on CodeProject . One of them mentions the obvious missing feature for a plugin architecture - Dynamically discovering plugins without…

  • New Article: Extend Your Application With Custom Plugins

    My latest article deals with the design and implementation of a simple architecture to allow creating applications that can be extended via custom plug-ins. Add run-time functionality to your application by providing a…

  • .Net Debugging Resources

    I've put up a resource link to all things relating to .Net debugging: .Net Debugging Resources Eventually it should grow up to become something usable, but right now I only have a couple of links in there. Please…

  • Microsoft Internet Controls Life Saver

    If you're going to be using the Microsoft Internet Controls (i.e. "ShwDocVw") in your application, this article is a life saver . Lots of hidden treasures that we absolutly needed . Cool. Gotta love Sample book chapters…

  • Strong Vs. Loose Typing/Loose binding

    Ted Neward writes about the differences between Loose-Coupling, Loose-Typing, and Loose-Binding. Well, that's just the beginning. He starts off a discussion about which might be better for which tasks, the coding of GUI…

  • The Books I Really Really Want

    <Alert>Yes, I am an Amazon affiliate</Alert> How Would You Move Mount Fuji? Microsoft's Cult of the Puzzle - How the World's Smartest Company Selects the Most Creative Thinkers .NET Security Essential .NET, Volume I:…

  • UI Threading - A Very Simple Solution

    God loves the simple solutions. It turns out that there is a really simple solution to the problem of working with UI threads.Much simpler then mine . I was given this simple pattern by a guy on the win_tech_off_topic…

  • Ingo Rocks Too

    Ooh! Ingo Rammer is on . Net Rocks !

  • Articles, Articles, Articles!

    Want something to read? Go here and just press the "Go" button.

  • UI Threading Helper Classes

    Following up on my post about how UI threading sucks , and Julie's post about the subject (Julie or Julia? which is it?), I've decided to create some helper classes for working with UI threads. Meet UIThreadHandler and…

  • System.Text.Encoding.Tip

    I learned this the hard way, so you don't have to. This applies to anyone who is going to be using System.IO to read ANSI files that combine Hebrew And English mixed inside. Now, when I attempted to do this, I used the…

  • A Long Day!

    Arrgh! It's been a hell of a long day! Imagine going 7:45 - 20:15 head to head with something that you thought you could do in an hour! I'll post heavily on it later (And a rant about .Net as well) but for now I'll just…

  • Strip HTML tags from a string using regular expressions

    Paschal asked me to find a simple solution for stripping HTML tags from a given string using Regular expressions. The solution is quite simple: 1. Retrieve all the HTML tags using this pattern: <(.|\n)*?> 2. Replace…

  • New Article: Practical Parsing Using Groups in Regular Expressions

    Hi Folks. here's my latest article: Practical Parsing Using Groups in Regular Expressions Have fun :)

  • More Books On My Shelf

    I forgot to put some books on the “ My Bookshelf ” link. Here they are: VB C++ For VB Programmers Developing COM/ActiveX Controls using Visual Basic Project Management Managing Software Requirements AntiPatterns…

  • Implementing A Data Layer

    Ted Posts about ways to implement a Data Layer. I never liked Data Layer generators myself. They never actually did a good job. I fear I've become a sort of "Generator-Bigot" because of my past experiences with them. In…

  • About Design Patterns

    Christopher posted about " Design Patterns Explained ". Having been down that road myself (and so has any developer that learned this stuff at one time or another) I can only congratulate you on a good decision. Some…

  • Free Book Chapters

    Lots of free book chapters here about All things .Net (most are beginner material, but there are some gems)

  • Introduction To Regular Expressions

    I just added a new article: Introduction To Regular Expressions Have fun.

  • How I Learn New Technologies

    As the years go by, I seem to understand better and better how my learning process works. When it comes to new technology, I seem to be a “ circle thinker ”. When I try to learn something, I do it in stages. I don’t…

  • More About Using Undocumented API's

    Jimski Replied to my Post which discourages the use of undocumented API's. Among other things he mentions that if you test it thoroughly enough , You can get away with it and it will be just like you use regular API's.…

  • How Access 2003 Helped Me Out

    Kudos to MSFT for the latest installation of Office. Overall, Office 2003 beta is one great product. Outlook , being the main attraction for me for office use, is much more usable then it was before, with numerous…

  • UI Threading *Might* Suck

    This article clearly explains the troubles needed to go through in order to interact with a Winforms UI from a background thread. I found it when I started stumbling around with my own UI, having long operations…

  • Regular Expression Library

    This looks like a very good regular expression repository Update: Darren Neimke Says: " Check out the new CheatSheet that Steve added last night --> get to it via the CheatSheet link on the side menu. " I agree. It's…

  • Oops! Typed Datasets ARE scalable!

    I was wrong about typed datasets. I see the light now, but i was wrong before . The conclusion I came to was that Typed Datasets can be used in an enterprise application. The reason I thought this was a problem had to…

  • DataSets, Web Services, DiffGrams, Arrays, and Interoperability

    Here's a good article on MSDN : DataSets, Web Services, DiffGrams, Arrays, and Interoperability . "Summary: Matt Powell examines the issues involved in deciding whether to send DataSets to and from Web services, while…

  • Blue Bricks

    Great Interview with Michael Stuart on .Net Rocks Show . He's the main guy behind the Microsoft Application Blocks (Data Access, Exception Managent) and he talks about the future blocks (named 'blue bricks') that will…

  • Blue Bricks

    Great Interview with Michael Stuart on .Net Rocks Show . He's the main guy behind the Microsoft Application Blocks (Data Access, Exception Managent) and he talks about the future blocks (named 'blue bricks') that will…

  • Typed Datasets Are Not Always The Answer

    I've recently recieved an enail regarding my article about typed-datasets . It posed an interesting question as to when one would use typed datasets and on what types of projects. I'm posting it and my reply. Hi Roy, I…

  • EchoStream Class

    This Very nice EchoStream class that lets you map two stream object in which you read into one stream, and the input to that stream is automatically written to the other. It can also do the same for writing - Writing to…

  • More VS.NET Tips & Tricks

    For you keyboard junkies out there: Cut the current line - CTRL+L (Saves you that 'long' HOME,SHIFT+END,CTRL+X) Delete the current line - CTRL+SHIFT+L (Saves you that 'long' HOME,SHIFT+END,DEL) Move to the closing or…

  • A VS.NET 2003 Registry Tweaker Don Could Use

    Since Don was writing on how you can tweak the registry in order to be able to ShellExecute VS.NET associated files into an open instance of VS.NET(instead of a new one each time), I decided to take the 'challenge' and…

  • Advanced Dataset Helper Classes

    While Trying to help my wife find material regarding dynamically creating tables at runtime, I stumbled across a very nice group of articles , All about Dataset helper Classes doinf various cool things with the dataset.…

  • ASP.NET Authentication Question + Answer

    I can't seem to find an answer to this: Is it possible to use the tag in web.config to allow some of the pages in your site to be non-secure, meaning users can browse them without being redirected to the login page?…

  • More Debugger Problems: aspnet_regiis does not work on Windows 2003 Server

    I've added the following solution to the Resolving Debugger Problems Article: aspnet_regiis does not work on windows 2003 server: Solution: "you can work around it by setting the identity of the application pool (app…

  • Regular Expressions And Log Parsing

    My company needs a small utility to parse log files generated by some of the speech engines we are using in our products. They generate old-style ASCII log files that are easy to read but cumbersome to parse. I started…

  • File I/O Support In Transactions

    I was recently at a lecture concerning .Net and COM+. Wow. COM+ is really powerful. I never got the chance to work with it on any of the projects I have created, but I did play with it here and there. I never knew there…

  • Debugging Problem

    I got this comment about debugging Web Services: " I am trying to debug a C# application and when I step into a web serivce all of the breakpoints stop working. Can you help? Scott " I can't. can you? I'll post the…

  • Typed Datasets - Can You Get Much Cooler?

    I'm currently developing a small winforms application for my company. It's really nothing fancy - just a data entry system connected to an Access database. In the old days, using VB6 i would have the following options…

  • Resolving Debugger Problems in VS.NET

    The Article I posted about resolving debugger problems in VS.NET seems to be quite popular. Ive been getting hits from all over. Just in case you missed it and are stuck on something - Here's the link to it . Of course,…

  • ASP.NET is cool + DataGrid Designer Tips

    Forget my previous rants about ASP.NET. I was plain wrong. This stuff is cool ! I gave myself a little project : create a food ordering site for my company's intranet. Nothing fancy. but it should put me through all the…

  • Free GUI component for VS .NET users

    Developer Express have released a cool GUI component XtraNavBar and it's completely FREE if you use VS.NET (You don't need to prove that you use it though.. :) ) It sure looks nice, don't it? Thanks, Dev Express! Get it…

  • Explorer Tips and tricks for the keyboard junkie

    Windows Trick o' the Day I knew this trick existed, but I couldn't remember it. If you to drill down through your directory structure all the time, this is a real time saver. In Windows Explorer, you can highlight a…

  • App.Config Magic

    Here's another tidbit i found: If i want my application to have a config file, i need to create a file named .config in the output directory. but here's a nice touch you can do with VS.NET: click " Add Item " button,…

  • Cool IDE Shortcut

    here's something i just found out: Select some text in the ide and press CTRL+SHIFT+U - and the selection becomes UPPERCASE . Use CTRL+U to make it lowercase .. tada!

  • Killer IDE macro

    I found there is only one(for now) macro that i use in the VS .NET IDE - the one that puts two curly braces in the following lines and puts the cursor in between them. this HAS to be a killer macro. i assigned it the…