mohit | Shared With: Everyone - Jul 24 2008 | development, .net, microsoft, confusion, asp.net
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.
mohit | Shared With: Everyone - May 21 2008 | blueprint, asp.net, self, blogging
Latest post to my blog...
Quoted: I have found I can whip up a nicely laid out site that works across all browsers *much* faster with Blueprint than I could without it. As a result, I spend more time on creating business value and less time dealing with the many obscure bugs in Internet Explorer 6.
...
Having said that, I’ve had the opposite experience with other frameworks. This got me thinking, “What makes a good framework?”
mohit | Shared With: Everyone - Apr 24 2008 | html, xhtml, todo, development, chaya, c#, asp.net, programming
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
mohit | Shared With: Everyone - Mar 28 2008 | blogging, technology, asp.net, blogengine.net
I have just started playing with this (http://mothinks.com) but like it so far. The blog this Fave points to is also using BlogEngine.NET.
Quoted: While I've very biased, I do really like BlogEngine.NET. It is a fine blog software and handles my simple blog well enough
...
1. Extensions Rock
Since almost everything the blog does has an event, it is so easy to extend the software to do whatever you can think for it to do.
...
4. Pages are first class citizens
While a blog is typically made up of post, pages can be an incredibly handy thing to have. In a personal blog like this one, it can make for a fine About me page, resume, or nice place for articles.
mohit | Shared With: Everyone - Mar 26 2008 | BlogEngine.NET, asp.net, c#, blogging, technology
This is actually pretty good. It's architected sort of like wordpress and drupal in that it is very easy to plugin extensions, themes, etc. However, the extension model relies on events/delegates rather than simply naming conventions. You don't need to know C# unless you want to write your own extension.
Quoted: An open source ASP.NET 2.0 powered blogging engine
mohit | Shared With: Everyone - Mar 25 2008 | events, development, c#, asp.net, codesmell
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.
mohit | Shared With: Everyone - Mar 20 2008 | asp.net, development, c#, validation, .net, programming
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.
mohit | Shared With: Everyone - Mar 20 2008 | development, c#, asp.net, .netSome nice .Net "Cheat Sheets"
mohit | Shared With: Everyone - Mar 03 2008 | asp.net, microsoft, development, c#, web development, todo
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...
mohit | Shared With: Everyone - Feb 29 2008 | javascript, asp.net, development, c#, validation, faves
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.
Related Content from Around Faves
asp.net
-
Here is an MSDN article on the ASP.NET MVC framework from March.
3 FaversViewed: 11 TimesQuoted: ... a controller can be instantiated directly, and action methods called, without any additional infrastructure. You don't need an HTTP context, and you don't need a server, just a test harness.
...
the ASP.NET MVC Framework offers Web developers a new way to build Web applications in the Microsoft .NET Framework. The Framework is designed for testability, embraces HTTP instead of trying to abstract it away, and is extensible at just about every point. - jubith - Dec 07 20071 FaverViewed: 14 Times
- mohit - Jul 24 20081 FaverViewed: 12 Times
