Geeks With Blogs
ICaramba Miguel Castro's blog about .NET and its effect on National Security, the Eco-system, and his daughter's sleeping patterns. November 2004 Entries
ASP.NET 2.0 provides more 'Declarative Programming'
With the release of ASP.NET 2.0, Microsoft has given us some new Webcontrols that allow us to exercise a more 'Declarative' approach to website development. This is an approach that I use strongly in my current ASP.NET development and have found beneficial in many ways. In ASP.NET, declarative programming is accomplished through the use of webcontrols. Many of us already use this technique when we use the suite of existing webcontrols. Our page incorporates webcontrols and through setting properties ......

Posted On Sunday, November 28, 2004 6:53 PM

Composite Controls vs Rendered Controls
This is in reference to custom webcontrol development. I have my own preference on this matter and have not been able to get more than that from outside sources. No book or posting labels either as 'better than the other', though I've come across a couple of papers stating that composite controls are the 'preferred' way. So let's start with the difference between the two: Rendered controls are developed by overriding the Render method in the custom control class and writing directly to the rendering ......

Posted On Wednesday, November 24, 2004 2:01 PM

Handling site-wide variables in ASP.NET
I'm sure many of you use cookies to track certain pieces of data within a website and even ViewState for data you only need for that page. Here's a cool way of hiding the cookie/viewstate code and exposing simply a property that your page or pages can use (the example uses a boolean property called IsActive). I cover both cookies and ViewState within the property for a very specific reason. If you set a cookie, you of course must use Response.Cookies. Retrieving it is typically done using Request.Cookies ......

Posted On Tuesday, November 23, 2004 3:33 PM

"Refactoring" as a coding technique
This one's for Eric. I've noticed that in some places, by some people, the term 'refactoring' seems to have a slightly negative connotation. I don't think this has to always be the case. In fact, in my webcontrol development (an area of .NET I use quite a bit), I have refactoring constantly in the forefront. Of course, I'm not talking about constantly tearing everything apart and redoing things, but I am always splitting off classes and inserting new abstract classes, etc. You can only spend so much ......

Posted On Tuesday, November 23, 2004 2:23 PM

The most underused technology...
...in my humble opinion are Custom ASP.NET Webcontrols. For this reason, I've made this the one area of ASP.NET I concentrate most of my efforts on. When most of us talk about custom webcontrols, we think of the ones provided by component vendors like Infragistics and ComponentOne. Now, I have no doubt there are developers out there that know how to create them but as a consultant developing applications in the business world and working with other .NET programmers, I have noticed that most do not ......

Posted On Monday, November 22, 2004 1:03 PM

Template solution for checkboxes
Check out Scott's solution for trapping checkbox changed events from a checkbox contained in a datagrid column template. http://www.geekswithblogs.c... I've added some extra stuff in the feedback and will blog about it completely tomorrow. -- good job Scott. ......

Posted On Friday, November 12, 2004 5:35 AM

And now for something completely different...
As this is my first posting on GeeksWithBlogs, let me tell you a little something about geek that is I. I've actually had a blog for quite some time (http://www.infotekcg.com/b... but I've been meaning to switch to a community blog site for a while in a borg-type assimilation attempt with the other fellow cyber entitities. I've been in the computer business for a very long time (we're talking Trash-80s and Ataris here folks) and have been a VB guy since 1.0. My specialty today is the .NET platform ......

Posted On Tuesday, November 9, 2004 12:50 PM

Copyright © Miguel A. Castro | Powered by: GeeksWithBlogs.net