Wednesday, July 27, 2005

Avalon, Indigo and WinFX

Avalon, Indigo and WinFX, Microsoft introduce these technologies as "The Pillars of Vista". New structure of the operating system includes the .NET framework, an application deployment engine, improvements to the installation of applications (Windows Installer/MSI 4.0) etc.
These are the definitions for these terms as in Wikipedia.
Avalon: a new user interface subsystem and API based on XML, .NET, and vector graphics, which will make use of 3D computer graphics hardware and Direct3D technologies.
Indigo: a service-oriented messaging system to allow programs to interoperate as part of the .NET framework.
WinFX: a new API to allow access to these new features, replacing the current "Win32" API (see Windows API).

Tuesday, July 26, 2005

Windows Vista - Arriving 2006

Microsoft has announced that, the next version of Windows will be Windows Vista, formerly Windows code name 'Longhorn'. Windows Vista Beta 1, targeted at developers and IT professionals, will be available by August 3rd 2005.

Sunday, July 24, 2005

I Suggest Google Suggest

Google Suggest guesses, what you are typing and gives you some suggestions in real time. It is something like the 'Did you mean?' option that gives you some alternate spelling suggestions for your query, after your search. In Google Suggest, for example, if you type 'apple' it might give you the list of suggestions that include 'apple ipod' or 'apple mac'. You have the option to choose any one from the list by using up or down arrow keys or using the mouse.
They are using the upcoming technology AJAX(Asynchonous Javascript and XML) in order to implement this feature.

Thursday, July 21, 2005

64 Bit Support in VS 2005

Wanna know more??? Watch MSDN TV OR read the transcript.

Going back to Client side...

Yep... Again an experiment with the client side programming language, Javascript. Today, I created an application to access a WebService using Javascript. This is with help of Microsoft htc file.

See the World..

Google Maps is using the AJAX technology inorder to increase the performance. You can search for a location any where in the world and then zoom in into the map and drag and roll the map without needing to refresh the page.

Wednesday, July 20, 2005

AJAX with ASP.NET 2.0

MS officially announced that AJAX will be supported in ASP.NET 2.0 with the "Atlas" code name.

Hooray... Finished my first Ajax Page..

Yes.. my experiment with Ajax succeeded.. Today done my first Ajax page which utilises the advantages of Ajax. The main part of it is a child DropDown list driven by the selection from another DropDown list... It is working fine and I wanna add more complex things like ListBox to that Page.

Monday, July 18, 2005

YubNub..

....a social command line for the web. For example, enter 'g microsoft' , it will search the word 'microsoft' using Google. If you wanna search using Yahoo, give it as 'y microsoft'. Also there are options to create your own commands. So start doing YubNub from today.

Where it is, in Stack or in Heap?

You think I am going back to the basics again.. Yeah!! Here is a wonderful article explaining clearly, what the difference between Value types and Reference types is. He is trying to break the conventional thought "value types go on the stack, reference types go on the heap".

Friday, July 15, 2005

Finalizer - The .Net Battlebot

Wanna fight with finalizer !!! See the Battlebot in action (powered by .NET)! Microsoft and ASPSOFT have created a BattleBot, called Finalizer !!! That will destroy everything in its way. You can also download the .NET source code that powers it!

Thursday, July 14, 2005

Whidbey Conversion Tool

If we are making new version of a Software, it should be compatible with the older versions or the outputs from the older versions. To accomplish this in Whidbey, Microsoft introduces a Conversion Tool. It translates the Visual Studio 7 Projects to Whidbey.

Wednesday, July 13, 2005

Changes in Whidbey

See GotDotNet to know about the new changes made on the Whidbey Release of .Net

MSDN Chat

Microsoft is providing a chat room for .Net developers. It helps you to be engaged in discussions about Microsoft products or technologies.

Tuesday, July 12, 2005

Some experiences in Project Management

Here is an excellant speech by His Excellency, Dr. APJ Abdul Kalam, The President of India on his experience s in Project Management

Friday, July 08, 2005

Ajax !!!

.... I was wondering how Gmail behaves wonderfully compared to other mail providers. Today while googling, I came across the word Ajax, aka Asynchronous JavaScript and XML. It’s not a technology. It’s a combination of several, coming together in a powerful way. Traditional web applications work like this, the web server acts upon whatever was sent by the form, and then responds back by sending a new web page. A lot of bandwidth is wasted here. AJAX applications, on the other hand, can send requests to the web server to retrieve only the data that is needed, usually using SOAP or some other XML-based web services dialect, and using JavaScript in the client to process the web server response.
See how the Ajax model for web applications is working compared to the traditional model.



Instead of loading a webpage, at the start of the session, the browser loads an Ajax engine — written in JavaScript and usually tucked away in a hidden frame. This engine is responsible for both rendering the interface the user sees and communicating with the server on the user’s behalf. The Ajax engine allows the user’s interaction with the application to happen asynchronously — independent of communication with the server. So the user is never staring at a blank browser window and an hourglass icon, waiting around for the server to do something…

I got charged up... But why I am spending more time if it’s having nothing to do with .Net. So again my search engine started working. It ends up here. Yes… Microsoft has announced an AJAX based programming framework is being developed to provide asynchronous Javascript based callback for ASP.NET applications. This project, code named Atlas, will make use of existing callback features in ASP.NET 2.0 as well as new features such as multicast event handlers, new UI controls such as autocomplete text boxes, and a core framework of common functionality.

So we can wait for the AJAX era, but it doesnt mean we are going back to the purly client side programming.

Wednesday, July 06, 2005

Top ten features in Visual Studio "Whidbey"

Dudes...See this informative article about "Whidbey" release in MSDN Library

The C# Whidbey

C# has always had a reputation as a clean language with lots of innovation.The Whidbey-release of Visual Studio .NET ships with a new version of the C# compiler that has a number of great new features. Some of them will be implemented as generic runtime features that will show up in other languages as well, and some are truly C#-specific.

Anonymous Methods

If you have developed in C#, you are probably familiar with Delegates.Delegates are objects that encapsulate references to functions. One of the most common uses of Delegates is the implementation of event handler code.Here is an Exampleprivate void button1_Click( object sender, System.EventArgs e){ MessageBox.Show("Hello");}
Actually in the form designer code we can see,
this.button1.Click += new System.EventHandler( this.button1_Click);
The event handler method has to conform to a certain signature (two parameters of type object and System.EventArgs in this case). This is defined in the System.EventHandler delegate.
Rather than instantiating a delegate and creating a method to point to, thecode for the whole handler method can be created inline. No method name is defined (hence the name Anonymous Methods), but parameters are still required.Here's what that syntax looks like:
this.button1.Click += delegate(object sender, EventArgs e) { MessageBox.Show("Test"); };
As you can see, what is assigned to the Click event is not a pointer to a method, but the entire method code itself including the parameters, and without a method-name. Note that there has to be a semi-colon at the end, because all of this is really just one line of code.

Partial Classes

In general, classes are defined in a single source file. Sometimes, this can lead to difficulties.
The new version of C# introduces a feature that can solve these problems: partial classes. These are classes that are defined in more than one source file. This way, part of a partial class could be maintained by the code generator and a second part of the class could be maintained by the developer. When the code gets compiled, the C# compiler performs what can be described as a fancy text merge operation that combines all parts into one class.
Here's a code sample. First, there could be one part of a class defined in one source file:
public partial class Class1{ public string Test() { return "Test"; }}
Then, there could be a second source file with the following class definition:
public partial class Class1{ public string SomethingElse() { return "Something Else"; }}
The significant part is the definition of the class. First of all, both class definitions sport the same class name. Secondly, there is the partial keyword, which makes the duplicate class name a valid construct, and instructs the compiler to merge the two parts together.

Generics

Creating specific collection classes for every possible type that occurs in the .NET Framework, as well as your own code, is not feasible either. You'd be doubling the number of used classes on the spot!Generics solve these issues. They allow creating code that more generic, but when the code is used, a specific type is assumed.
public class MyCollection{ public void Add(myType o1) { // ... }
public myType GetByIndex(int i) { // ... }}
In this example, the whole class is defined with a parameter called myType. This myType parameter (there could be more than one) is used to define the parameter type as well as the return type. Of course myType is not defined anywhere. Instead, the code that uses this class defines the "real" type that is to be used. For instance, if you want to use this collection to store integers, you use it like so:
MyCollection Col1 = new MyCollection();Col1.Add(1);
Internally, the collection now operates with integers. There is no boxing and unboxing. Also, values retrieved from the collection are integers without having to be converted. And on top of that, this instance of the collection is limited to storing integers. An attempt to assign a DataSet is trapped as an error during compilation. You could easily use the whole collection for DataSets as well:
MyCollection Col1 = new MyCollection();

Monday, July 04, 2005

Hi all

Hi Everybody!!!!
Welcome to the world of blogging..