Exploring the depths and potentials of ASP.NET RSS 2.0 or Subscribe to .BenRush by Email
 Monday, February 06, 2006

I find this a rather fascinating thing to think about, but take a gander at these two quotes belonging to two of the greatest minds of the 20th century:

"Reading, after a certain age, diverts the mind too much from its creative pursuits. Any man who read too much and uses his own brain too little falls into lazy habits of thinking." 
         ~Albert Einstein
“Do not read so much, look about you and think of what you see there.”
         ~Richard Feynman

...I've had interesting discussions with people before about two major forms of learning that seems to exist today: learning on your feet, through experience and doing, or learning passively, through study and intense reading. This has particular interest to me as a software developer because in the world of computing knowledge changes so fast, that one of the main ways you actually get to keep up with it all is to read, read, read; that is, subscribe to blogs, subscribe to RSS feeds, and read other people's comments on doing things and so forth, and then to reimplement them (thoughtlessly). Interestingly enough, I believe one of the things this has created is the copy-and-paste methodology of coding (which we all know leads to ugly, unmaintainable, often times buggy-as-hell code). People no longer present the energy needed to faithfully understand the technologies at their fingertips on their own first because, quite honestly, if they were to fully understand them they would lose out on 98% of the other knowledge that is out there. So, as a result, it becomes a never-ending, self-perpetuating fight against the inevitable.

What is the solution? The problem is how they're learning, I believe: watching too much and thinking too little about what they see in front of their eyes, and instead trying to figure something out from the "if it breaks, then I thinks" mentality (yes, I made that up, if you use it, please quote me!). You see, this type of activity takes longer in the end run and requires one to end up reading a hell of a lot more as he/she frantically hops from one newsgroup thread to another, or one poorly written article to another, trying to find an answer to the immediate problem (and when one finds it, they often just patch the problem with something that "just worked" for someone else). Lazy makes Crazy! The thought occured to me today as I started playing around with some of the provider models in ASP.Net and went about learning how they worked. I had two options - just throw controls onto the page and expect it to work, or take a few moments and think about how they all tied together, understand the provider model behind them, and create some portable knowledge. I bet you can figure out which path I took. How many articles have I read on the topic: 1. How many could I write?

 


kick it on DotNetKicks.com
Monday, February 06, 2006 4:00:37 PM (Central Standard Time, UTC-06:00)  #    Comments [2] - Trackback


I'm becoming interested in extending some of the capabilities in ASP.Net through its provider model. Here is a quick run-down of the various parts in the ASP.Net framework that make heavy use of the provider-model. To know more about the provider model, see here.

  • Membership Providers
  • Role Providers
  • Site Map Providers
  • Session State Providers
  • Profile Providers
  • Web Event Providers
  • Web Parts Personalization Providers

  • kick it on DotNetKicks.com
    Monday, February 06, 2006 1:36:01 PM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback
    Computing

    I'm going to TechEd 2006; so, as usual, if anyone wants certain information, let me know...


    kick it on DotNetKicks.com
    Monday, February 06, 2006 1:19:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback
    Computing
     Saturday, February 04, 2006

    http://www.microsoft.com/downloads/details.aspx?familyid=7CECD652-FC04-4EF8-A28A-25C5006677D8&displaylang=en

    ....fixes some issues in the web project conversion wizard.


    kick it on DotNetKicks.com
    Saturday, February 04, 2006 11:01:46 AM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback

     Friday, February 03, 2006

    Read this article: http://www.forbes.com/business/2006/02/03/hsa-healthcare-insurance-cx_jh_0203hsa.html

    I highly recommend everyone who has to pay for their own health insurance (and even for those who don't) to look into HSAs. Reading this article you can see it's putting the pressure on the behemoth, money-grubbing, satanic insurance and drug companies. Go consumer-driven healthcare!


    kick it on DotNetKicks.com
    Friday, February 03, 2006 5:59:40 PM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback
    Ranting

    Finally someone did one: http://msdn.microsoft.com/msdnmag/issues/06/02/WickedCode/.

    What I want to see is one done in ODBC so it can be used for Oracle or Access or a text file or whatever....anyone aware of such a beast?


    kick it on DotNetKicks.com
    Friday, February 03, 2006 5:51:54 PM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback
    Computing | Ranting

    I made a screwup with the Login control today under ASP.Net 2.0. I was using an ODBC membership provider for all the back-end logic, and drug a login control to the page. The problem, though, was that I then double clicked the control and it added an event-handler for authentication:

    Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs) Handles Login1.Authenticate
    End Sub

    I then created a user using the appropriate controls and tried to login using those credentials; alas, it didn't work. The event handler above got executed, but the membership provider I had registered in the web.config file did not. What happened? As it turned out, having the authenticate event handler above short-circuits the default operation of the login control to hook into the membership provider internals for authentication; and so it just did nothing with it. After deleting the authenticate method (which equates to removing the delegate from the multicast chain) everything worked.

    In summary:

    1) I added a Login control,
    2) Created an Authenticate event handler,
    3) The act of creating the event handler short circuited the default operation of the Login control to use the Membership class and its infrastructure.
    4) Removing the Authenticate event handler got the Membership class to be used again, and everything worked as expected....

    ...I'm retarded (and not ashamed to publicly admit it).


    kick it on DotNetKicks.com
    Friday, February 03, 2006 5:19:45 PM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback
    Computing

    http://msdn.microsoft.com/msdnmag/issues/06/00/ASPNET20Overview/

    This article does not go deep into the details (which is the very point), but it does give a great overview of the new technologies that have come out in ASP.Net 2.0. I wish I had seen this about three or four months ago....


    kick it on DotNetKicks.com
    Friday, February 03, 2006 2:09:11 PM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback

    Computers Blogs - Blog Top Sites

    Archive
    <February 2006>
    SunMonTueWedThuFriSat
    2930311234
    567891011
    12131415161718
    19202122232425
    2627281234
    567891011
    Blogroll
    About the author/Disclaimer

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2009
    Benjamin Rush
    Sign In
    Statistics
    Total Posts: 444
    This Year: 0
    This Month: 0
    This Week: 0
    Comments: 128
    Themes
    Pick a theme:
    All Content © 2009, Benjamin Rush
    DasBlog theme 'Business' created by Christoph De Baene (delarou)