Feb 16

This is MUST read from every dotNet programmer. It is written by Peter Ritchie on DevX.com and presents the new features of C# 3.0 syntax.

These guidelines will help you understand new additions to C# 3.0 syntax and avoid some of the pitfalls you can encounter when using them.

C# 3.0 includes a few syntactical additions to the language. For the most part, Microsoft added these language additions to support Language Integrated Query (LINQ). These features include (but are not limited to) lambda expressions, extension methods, anonymous types, implicitly typed local variables, automatic properties, and object initializers.

Most of the syntax additions fulfill very specific needs and should not reduce the importance of established coding and design methodologies and guidelines. When in doubt, prefer your established guidelines over the new syntax.

What is covered in his article:

- Lambda Expressions
- Extension Methods
- Anonymous Types
- Implicitly Typed Local Variables
- Object Initializers
- Automatic Properties

All these are presented with nice and small code samples. Read it here.

Feb 12

Free Windows Server 2008 e-book from MS PressYour first look at the next generation of Windows Server—straight from the experts.

Get a jump on evaluating Window Server 2008—with technical insights from Windows Server team. This practical introduction delivers real-world implementation scenarios and pragmatic advice for administering Windows Server in the enterprise.

Discover how to:
•Deploy Windows Server 2008, and configure and manage server roles
•Understand Windows Server Virtualization
•Implement a single, integrated IDA solution built on Active Directory
•Explore enhancements in Internet Information Services 7.0
•Use failover clustering for high-availability solutions
•Implement the Network Access Protection platform

get it here and say something good for me
more info

Feb 11

GWT-Ext 2.0 has been released!GWT-Ext is a powerful widget library that provides rich widgets like Grid with sort, paging and filtering, Tree’s with Drag & Drop support, highly customizable ComboBoxes, Tab Panels, Menus & Toolbars, Dialogs, Forms and a lot more right out of the box with a powerful and easy to use API. It uses GWT and Ext.

The company description above says it all. Nice set of controls which support Ext 2.0.

gwtext2.gif

Check out some demos here.

Feb 09

On 8th of Feb Microsoft released a hot-fix for the latest Visual Studio 2008. Scott Guthrie blogged about that release and I can’t miss that post. On Monday will install it personally and will blog about it. Here is what it should fix:

HTML Source view performance

* Source editor freezes for a few seconds when typing in a page with a custom control that has more than two levels of sub-properties.
* “View Code” right-click context menu command takes a long time to appear with web application projects.
* Visual Studio has very slow behavior when opening large HTML documents.
* Visual Studio has responsiveness issues when working with big HTML files with certain markup.
* The Tab/Shift-Tab (Indent/Un-indent) operation is slow with large HTML selections.

Design view performance

* Slow typing in design view with certain page markup configurations.

HTML editing

* Quotes are not inserted after Class or CssClass attribute even when the option is enabled.
* Visual Studio crashes when ServiceReference element points back to the current web page.

JavaScript editing

* When opening a JavaScript file, colorization of the client script is sometimes delayed several seconds.
* JavaScript IntelliSense does not work if an empty string property is encountered before the current line of editing.
* JavaScript IntelliSense does not work when jQuery is used.

Web Site build performance

* Build is very slow when Bin folder contains large number of assemblies and .refresh files with web-site projects.

Installation Notes

For more information on how to download and install the above patch, please read this blog post here. In particular, if you are using Windows Vista with UAC enabled, make sure to extract the patch to a directory other than “c:\” (otherwise you’ll see an access denied error).

To verify that this hot-fix patch successfully installed, launch VS 2008 and select the Help->About menu item. Make sure that there is an entry that says ‘Hotfix for Microsoft Visual Studio Team System 2008 Team Suite – ENU (KB946581)’.

If you ever want to remove the patch, go to Control Panel -> Add/Remove Programs and select “Hotfix for Microsoft Visual Studio 2008 – KB946581” under Microsoft Visual Studio 2008 (or Visual Web Developer Express 2008) and click “Remove”.

Download

Here

Feb 06

Today at .Net Developers Journal was posted this interesting article by Judy Lee. Check it out here as Judy makes fast comparison of these products related to their projects. At the bottom is the final conclusion table.
Today, RIA technology is widely used, also referred to as Rich Internet Clients (RICs). RICs provide the usability, responsiveness, and reuse of client/server applications with the deployment, manageability, and availability of a traditional Web application. Many websites are using DHTML and AJAX technology in HTML pages. Another very popular technology is Flash. How about Silverlight, though?

RIAs offer the flexibility and ease of use of an intelligent desktop application, and add the broad reach of traditional web applications with an entirely new kind of web experience that is engaging, interactive, lightweight, and flexible.

DHTML and AJAX

We used DHTML and AJAX technology in HTML pages in some of our .NET outsourced projects. However, we encountered problems of browser incompatibility. (For example, DOM is quite different in IE and in Safari.)

Although it is possible to make this kind of web application work in all browsers, it will take the developer much time and it is very difficult to maintain when the browsers update.

Flash

Another very popular technology is Flash, it doesn’t have any browsers compatibility problems, but it’s very hard to integrate with .NET. Integrating Flash demands that .NET developers make a special effort, and since our specialty is .NET software outsourcing, Flash is not the best choice for us.

Silverlight

Silverlight is a cross browser technology, so there’s no browser compatibility problem. Plus it integrates with .NET very well, so it is easier to use and develop. Silverlight does not have controls at present, but in version 2.0, many controls will be released for Web designers. Those controls will make Web development easier and faster.

Based on the features supported by Silverlight (see our chart below) more web page elements and properties can be controlled than DHTML&AJAX. Silverlight also offers a good user experiences.

Rich Internet Application Technology Comparison: AJAX, Flash, Silverlight

Source

Feb 05

Monday morning at 6:00 am in Redmond, Microsoft announced that Windows Vista Service Pack 1 (SP1) and Windows Server 2008, which were co-developed from the same code base, were released to manufacturing. Vista SP1 is the first major update to Microsoft’s desktop operating system and is expected to trigger a new wave of corporate adoption. Meanwhile, Windows Server 2008 is the server-based follow-up to Windows Server 2003 R2, which was released in 2005.

“Microsoft has worked with its partners to significantly improve the Windows Vista experience in Service Pack 1,” a Microsoft spokesperson told me. “Customers will especially see enhanced value in terms of security, performance, reliability and application compatibility.”

While the schedule for Windows Server 2008 has been well known for some time–Microsoft previously scheduled a Windows 2008 launch event for late February and was widely expected to deliver the product well before that time–that for Vista SP1 was a bit less specific. In a post to the Windows Vista Blog this morning, Microsoft vice president Mike Nash finally explained how users will get SP1. New PCs with Vista and SP1 installed will arrive in “the coming months,” while Microsoft’s enterprise customers will get DVDs soon. For end users, SP1 will be released via a staged rollout. The release will be made available via Windows Update starting in mid-March, and then only to PCs that don’t have problematic hardware installed. In mid-April, SP1 will be rolled out to all users who have configured Windows Update for automatic updating.

Initially, Windows Vista SP1 will be made available in five languages, English, French, Spanish, German and Japanese. The remaining languages Microsoft supports will be released to manufacturing in April and ship worldwide after that.

I’ll be reviewing Windows Vista SP1 and Windows Server 2008 on the SuperSite for Windows within the next 30 days.

Feb 03
Yahoo! Released ASTRA Flash and Flex components

The Flash-y folks at Yahoo! have released a slew of Flash and Flex components in their ASTRA suite:
New Flash components:

* AlertManager — a user interface component that creates alert windows and manages their queue.
* AudioPlayback — a set of controls for audio playback.
* MenuBar — a component that renders hierarchical data as a row of buttons with nested menus (using the Menu component)

On the Flex front, we have:

* AutoCompleteManager is a component that manages a set of input controls, popping up suggestions when a user types into one of the fields. Instead of replacing TextInput fields with a specific AutoComplete control, you can simply point the manager to one or more TextInputs, and you’ll get a slick pop-up or auto-fill interaction.
* Color Pickers:
o ColorPlaneAndSliderPicker is a user interface component that allows the user to pick a color value. It combines a one-dimensional color slider with a two-dimensional color plane.
o ColorSliderPicker is a user interface component for Flex that allows the user to pick a color value. It combines a set of sliders where each slider represents a component of a colorspace. For example, a ColorSliderPicker displaying an RGB color includes a red slider, a green slider, and a blue slider.
o DropDownColorPicker is a user interface component for Flex that allows the user to pick a color value. Similar to the standard Flex ColorPicker control, the DropDownColorPicker also gives the developer the ability to completely change the dropdown control to give the user a variety of color views.
* IPv4AddressInput is a user interface component for Flex that allows the user to input an Internet Protocol version 4 address. This control includes a field for each separate byte and full keyboard navigation.
* TimeInput is a user interface component for Flex that allows the user to input a time value. This control include fields for hours, minutes, seconds, and AM/PM. Styling options allow the time to be presented in 12- or 24-hour formats.
* TimeStepper is a user interface component for Flex that allows the user to input a time value. This control include fields for hours, minutes, seconds, and AM/PM. Styling options allow the time to be presented in 12- or 24-hour formats. Up and down buttons allow the user to increase or decrease the currently selected field.

Among updates to the existing components:

* The Tree component has been updated with new functionality that makes it much easier to change node icons and control branch nodes (see examples).
* The Charts component now has animation, some adjustments to the PieChart live preview, and several bug fixes.

Read the source

Jan 30

Omar AL Zabir had published one of his great posts again. This one is dedicated to ASP.NET performance and scalability secrets. Here are part of his explanation words:

ASP.NET 2.0 has many secrets, when revealed, can give you big performance and scalability boost. For instance, there are secret bottlenecks in Membership and Profile provider which can be solved easily to make authentication and authorization faster. Furthermore, ASP.NET Http pipeline can be tweaked to avoid executing unnecessary code that gets hit on each and every request. Not only that, ASP.NET Worker Process can be pushed to its limit to squeeze out every drop of performance out of it. Page fragment output caching on the browser (not on the server) can save significant amount of download time on repeated visits. On demand UI loading can give your site a fast and smooth feeling. Finally, Content Delivery Networks (CDN) and proper use of HTTP Cache headers can make your website screaming fast when implemented properly. In this article, you will learn these techniques that can give your ASP.NET application a big performance and scalability boost and prepare it to perform well under 10 times to 100 times more traffic.

In that article he will cover:
* ASP.NET Pipeline optimization
* ASP.NET Process configuration optimization
* Things you must do for ASP.NET before going live
* Content Delivery Network
* Caching AJAX calls on browser
* Making best use of Browser Cache
* On demand progressive UI loading for fast smooth experience
* Optimize ASP.NET 2.0 Profile provider
* How to query ASP.NET 2.0 Membership tables without bringing down the site
* Prevent Denial of Service (DOS) attack

Read more here

Jan 30

This handy tool is written by Jörn Zaefferer. He recently updated his version to 1.2 including lots of new features. Couple of days ago I played with it for a while and it was really good experience.
Here are couple of demos:
jQuery Validation Plugin v1.2
jQuery Validation Plugin v1.2

read more from the source

Jan 29

Quite interesting study from Coach Wei, of Nexaweb and Apache:

Introduction:
Ajax application performance largely depends on the performance of JavaScript execution and browser DOM operations. I’ve heard various people saying various things about Ajax performance. Some people say JavaScript is just too slow. Some people say that the problem is not JavaScript but rather Browser DOM being too slow. Some people would then argue that browser DOM operations are fine. The problem is Internet Explorer that is unbelievably slow.

More specifically, here is a list of Ajax performance issues:
1. Array performance on all browsers in general
2. HTML DOM performance in general
3. Calculating Computed Box Model and Style
4. FireFox: “eval”, Object Creation and “in” Operation
5. “String” Manipulation Performance on IE
6. Safari: “pop” Operation Performance

Check out the whole study here