Related Faves from mohit

  • vote
    11
    0 starsmohit | Shared With: Everyone - Jul 24 2008 | development, .net, microsoft, confusion, asp.net
    Oh freddled gruntbuggly: .NET 2.0 = .NET 3.0 = .NET 3.5

    So do you need to install the .net 3.5 framework to run .net 3.5 assemblies, or will these assemblies work with .net 2.0?

    Quoted: Yesterday I had a discussion on an internal Microsoft Developers meeting about the status of .NET 3.5. We had presented that .NET 3.0 is an extension of .NET 2.0, and not a new version. My statement that the status of .NET 3.5 is the same, it is basically .NET 2.0 with extra features, was received sceptically.
    Just to prove I'm right, here my observations.

  • vote
    57
    0 starsmohit | Shared With: Everyone - Apr 24 2008 | html, xhtml, todo, development, chaya, c#, asp.net, programming
    CodeProject: Convert HTML to XHTML and Clean Unnecessary Tags and Attributes. Free source code and programming help

    I am going to use this to clean up the html for some of the sites I maintain. The author (Omar Al Zabir, CTO of pageflakes) is one of the best .Net developers around.

    Quoted: Convert HTML to XHTML while applying tag and attribute filters in order to produce nice and clean HTML for web posting.; Author: Omar Al Zabir; Section: C#; Chapter: Languages

  • vote
    10
    0 starsmohit | Shared With: Everyone - Mar 25 2008 | events, development, c#, asp.net, codesmell
    OnLoad vs. Page_Load vs. Load event - Infinities Loop

    Quoted: Whether you put your logic before or after calling base really depends on the scenario. Personally I always call base last, at the bottom of the method, just because in general I think it makes sense for my component/control to do its own 'X' before raising the 'X' event for external listeners to respond to. If I want to know about anything those external listeners have done to me, then I could have more code after calling base. But let me just say I can't really even think of a time where this should matter. If you end up with code that needs to worry about this, then just pause and consider your design, it's a CodeSmell. You should be able to design it in a manner that doesn't depend on such subtlety.

  • vote
    3
    0 starsmohit | Shared With: Everyone - Mar 20 2008 | asp.net, development, c#, validation, .net, programming
    ASP.NET Validation in Depth

    The problem with calling Validate in Page_Load is that your controls may not be ready to be validated (i.e. they need to be Loaded before they are ready to be validated).

    Quoted: One potentially confusing thing about this timing is that the validators will not have been evaluated at the time Page_Load is triggered. The benefit of this is that it gives you a chance to programmatically change property values affecting the validity of the page, such as enabling or disabling certain validators.
    ...
    If this timing is not to your liking and you prefer to evaluate everything in Page_Load, you can do this by explicitly triggering the validation during this event by calling Page.Validate.

  • vote
    2
    0 starsmohit | Shared With: Everyone - Mar 20 2008 | development, c#, asp.net, .net

    Some nice .Net "Cheat Sheets"

  • vote
    26
    4 starsmohit | Shared With: Everyone - Mar 03 2008 | asp.net, microsoft, development, c#, web development, todo
    What's Ailing ASP.NET Web Forms - Rick Strahl's Web Log

    Quoted: The recent announcement that ASP.NET will soon get an alternate engine in the ASP.NET Model View Controller framework (MVC - see last month’s editorial) has brought out some renewed discussion of the merits and shortcomings of Web Forms and the potential need for an alternate mechanism of building...

  • vote
    17
    0 starsmohit | Shared With: Everyone - Feb 29 2008 | javascript, asp.net, development, c#, validation, faves
    Understanding ASP.NET Validation Library

    You need to use an ASP:Button and not just an input if you want client-side validation in ASP.Net.

    Quoted: The onclick attribute, along with the script, is added inside the AddAttributesToRender method of the Button control. The WebForm_DoPostBackWithOptions function can be examined in the rendered web resource JavaScript file within Visual Studio 2005, as explained in the above section. This function is in the resource file named WebForms.js. The function takes an argument of type WebForm_PostBackOptions. This function is also responsible for invoking the Page_ClientValidate function, which sets the value of the Page_IsValid member. The complete validation process triggered by the click of a button process can be summarized in the workflow below.

  • vote
    3
    0 starsmohit | Shared With: Everyone - Feb 26 2008 | asp.net, development, c#, microsoft, technology
    Infinities Loop

    Great blog for truly understanding ASP.NET (if you need to and want to, of course).

    Quoted: ASP.NET and .NET from a new perspective

  • vote
    56
    0 starsmohit | Shared With: Everyone - Dec 11 2007 | facebook, asp.net, development, social networking, c#
    Nikhil Kothari's Weblog : Facebook.NET

    This looks much more complete than Microsoft's official version.

    Quoted: I've been playing with Facebook for a few days and am impressed. This post shares some thoughts as well as introduces a new open source project, Facebook.NET, a framework optimized for developing ASP.NET-based Facebook applications in C# or VB.NET.

  • vote
    98
    0 starsmohit | Shared With: Everyone - Dec 11 2007 | development, facebook, asp.net, c#, social networking
    Facebook application development in ASP.NET - Steve Trefethen's Wiki

    Quoted: The following outlines the steps I took to create a new Facebook application written in ASP.NET using VS.NET 2005. I have not tested this in VS.NET 2003 so your mileage may vary there.