Programmers Bunny .NET 3.0

I have got admired .NET 3.0 and its Suprising features for quite a long time from the day one its released,Basically Microsoft has released the .NET Framework 3.0 formerly known as WinFX. It combines the existing 2.0 framework with four awesome new features.

Windows Presentation Foundation (WPF), formerly known as Avalon, is the new graphical framework for Windows and web based development. It provides the richer features of the Vista operating system, and provides a UI boundary for development.

The most significant feature is Windows Workflow Foundation (WWF), which provides the workflow foundation for embedding workflow applications in any CLR based application. The WWF is also now available to XP and Windows 2003 Server operating systems as well.

Windows Communication Foundation (WCF), formerly called Indigo, is the new communication architecture to enable applications to connect over the network. Basically, this technology will combine .NET Remoting, Web Services, and Microsoft Message Queues into a single model.

Windows Cardspace is the replacement for Microsoft Passport, and provides a digital identity repository that can be interfaced by an application. This is also built into Windows Vista.

.NET 3.0 is completely combatable to .NET 2.0 applications, but adds important functionality for application developers.

If you are a Microsoft .NET programmer and if you still haven’t even read/worked on .NET 3.0 please do it ASAP,as soon the whole world is turning into .NET 3.0 applications.

Time to get into one of my deliveries today…meet you again with more information on WPF in my next article.


Microsoft Volta Technology


The Volta technology preview is a developer toolset that enables you to build multi-tier web applications by applying familiar techniques and patterns. First, design and build your application as a .NET client application, then assign the portions of the application to run on the server and the client tiers late in the development process. The compiler creates cross-browser JavaScript for the client tier, web services for the server tier, and communication, serialization, synchronization, security, and other boilerplate code to tie the tiers together.

Developers can target either web browsers or the CLR as clients and Volta handles the complexities of tier-splitting for you.  Volta comprises tools such as end-to-end profiling to make architectural refactoring and optimization simple and quick. In effect, Volta offers a best-effort experience in multiple environments without any changes to the application.

Click here to download volta

Enjoy Programming !!!

My New Blog Exclusively for .NET 3.0 and 3.5 Lovers


After I have received lots of comments and requests from the blog and group members and blog visitors to write exclusilvely on .NET 3.0 and VS.NET 2008 an excellent whoomping technology which is going to rule the future software industry,I have decided to create a new blog to write explicit articles on .NET 3.0 , 3.5  and VS.NET 2008 please continue giving your supports and active in the new blog as well.

I can give you 100% assurance this blog could be an excellent resource for guys whom wants to upgrade thier skills on .NET 3.0 ,3.5 technologies.

Click here ( to enter inside the exciting world,Go and ahead and add it under your favourites.

.NET Framework 3.5 in CTP

Brief on .NET Framework 3.5

Many ISV’s, enterprises and even Microsoft product teams are successfully building on the new features WF, WCF, WPF and CardSpace in the .NET Framework 3.0. Microsoft plans to continue to invest in the .NET Framework developer platform and in support of existing users the .NET Framework 3.5 has no serious breaking changes so existing applications built for .NET Framework 2.0 or .NET Framework 3.0 will continue to execute. The .NET Framework 3.5 adds new features in several major technology areas.

  1. Integration of Language Integrated Query (LINQ) and data awareness
  2. Support for Web 2.0 AJAX style applications and services in ASP.NET and WCF
  3. Full tooling support for WF, WCF and WPF including the new workflow-enabled services technology
  4. New classes in the base class library (BCL) for the .NET Framework 3.5 address the most common customer requests

.NET Framework 3.5 ships with Visual Studio codename ”Orcas” and will be available for separate download from MSDN.

Just The Server Side (WF and WCF)

Here’s some detail of the new things to look for from WF and WCF.

Workflow enabled services – process and messaging together

Web 2.0 AJAX friendly (works with ASP.NET AJAX Client) and REST enabled WCF services

New project templates and other new features in Visual Studio for WF and WCF

More WS-* Standards Support including WS-AtomicTransaction, WS-ReliableMessaging, WS-SecureConversation and WS-Coordination

RSS and ATOM Syndication Support in WCF

Partial Trust for WCF applications deployed through click-once Rules Data Improvements

Top 5 reasons to develop applications using VS.NET 2008

Earlier this year Visual Studio celebrated its tenth anniversary. As microsoft move towards releasing Visual Studio 2008, let’s take a moment to reflect on the product’s evolution.

The first release of Visual Studio in 1997 featured separate IDEs (that required their own installation) for Visual C++, Visual Basic, J++, and a tool known as InterDev. Visual Studio 6.0 was a dramatic improvement that marked the birth of Visual Basic 6 and embodied the idea of a set of unified services across all languages.

With Visual Studio .NET 2002 and Visual Studio .NET 2003, this vision was realized with the .NET Framework. For the first time an individual developer could write an application in the language of their choosing while taking advantage of a common set of tools including designers, drag and drop controls, and IntelliSense. Along with the increase of individual developer productivity was an increase in the size and complexity of development projects and teams.

Visual Studio 2005 was born to help developers in teams of any size increase collaboration and reduce development complexity. With each progressive release, Microsoft has reaffirmed its commitment to empowering the developer by creating a dialogue with the community to help incorporate feedback and improve the product. Visual Studio 2008 is no exception. With your help Microsoft is prepared to deliver on the commitment to make every software project successful on the Microsoft platform.

 Build Next-Generation Applications

Visual Studio 2008 is a unified toolset that enables developers and development teams to build great applications on the Microsoft platform. Support for Windows Vista and the Microsoft Office system development assist developers in building compelling rich client applications. Now, with included support for ASP.NET AJAX and the Silverlight Add-in for Visual Studio 2008, developers can also build a spectrum of rich interactive applications for the Web. As the Microsoft platform further increases in capabilities through the delivery of Windows Server 2008 and SQL Server 2008, Visual Studio 2008 will continue to be the single environment that developers and development teams need to be successful.

Harness the power of Microsoft Office (Visual Studio Tools for Office)

With Visual Studio 2008 developers can easily target the more than 500 million users of Microsoft Office while using the same managed code skills that they’ve developed for writing Microsoft Windows applications or ASP.NET applications. As an integrated component of Visual Studio 2008 Professional Edition, Visual Studio Tools for Office (VSTO) enables developers to customize Word, Excel, PowerPoint, Outlook, Visio, InfoPath, and Project to improve end user productivity. Whether building Office UI-based workflow solutions, custom add-ins, or Microsoft Office SharePoint Server solutions, Visual Studio provides the tools to give the developer a RAD development experience.

Stand out with Windows Vista (WPF,WWF,CF)

Visual Studio is the ideal environment for building applications that have the Windows Vista look and feel. Development teams of any size building applications targeting the next generation user experience will be able to create, edit, debug, and deploy Windows Presentation Foundation applications in Visual Studio 2008. Visual Studio enables a developer building a WPF application to edit XAML directly (with IntelliSense support) or create the user interface through the new visual designers. A change made to the layout of an application through one of these tools is reflected immediately in the other. Additionally, Visual Studio provides support for taking advantage of more than 8,000 new native APIs in Windows Vista.

Developers building distributed applications will find that creating and consuming web services with Windows Vista technology is a great experience. Visual Studio makes it easy for you to implement a Web service using Windows Workflow Foundation. You can test this service without writing a single line of code and consume or expose this service from an existing workflow.

Build interactive Web experiences (Scott Web Experience)

The Microsoft Web platform is an end-to-end offering for designing, developing, and hosting applications on the Web. Visual Studio 2008 provides tools that span the entire platform from the secure, reliable, and extensible infrastructure of IIS, through the amazing client-side experience of Silverlight, and everything in between. Developers will be able to take advantage of rich client-side and server-side frameworks to easily build client-centric Web applications. These applications can integrate with any backend data provider, run within any modern browser and have complete access to ASP.NET application services and the Microsoft platform.

Visual Studio.NET 2008 Shell  

If you create software development tools, you’ll want to consider building on the Visual Studio 2008 Shell. A streamlined Visual Studio development environment, the Visual Studio Shell provides the core foundation so you can focus on building your application’s unique features. Flexible customization options help you deliver optimized experiences for specific markets.

Key Benefits

Faster Development. The Visual Studio Shell accelerates development by providing a base integrated development environment that can host custom tools and programming languages.

A Familiar Environment. Developers can build on the Visual Studio platform and provide end users a familiar user interface, speeding the learning curve for both.

Optimized for Languages & Tools. Created in response to requests from our partners, the Visual Studio Shell gives you the option of integrating your tools with Visual Studio or creating an isolated, custom-branded application.

Visual Studio Shell (integrated mode)

Optimized for Programming Languages

Applications built on the integrated Shell will automatically merge with any other editions of Visual Studio installed on the same machine.

This is the Visual Studio Shell (integrated mode) running Iron Python.


Visual Studio Shell (isolated mode)
Optimized for Specialized Tools

Applications built with the isolated Shell will run side-by-side with any other editions of Visual Studio installed on the same machine.

This is built on the Visual Studio Shell (isolated mode).


ASP.NET Futures Released

Yet another release from Microsoft to make programmers life simple ,click here to download

The Microsoft ASP.NET Futures July 2007 (“Futures”) release contains an early developer preview of features providing a wide range of new functionality for both ASP.NET and Silverlight™. The functionality in the Futures release includes early experimental versions of features currently being considered for future versions of ASP.NET and the .NET Framework. The Futures releases assume prior knowledge of the core features of ASP.NET including the previous ASP.NET AJAX Futures January CTP.Features in this release include the following:

  • ASP.NET Silverlight server controls.
  • New functionality for ASP.NET AJAX Extensions.
  • Dynamic data controls, which enable rapid Web application development when you work with Microsoft SQL Server databases.
  • Enhancements to dynamic languages, including IronPython and Managed JScript.

Enjoy Programming , Microsoft is a real Giant.

Windows Communication Foundation -Simple Program

Based on my previous WCF post I received a trackback to give an example that should be really simple to start WCF with.

There are two ways to present this. In this example I’ll use as little code as possible in as few locations as possible. The other way is using the WCF Service Library project that comes with the VS2005 WCF Extension but requires a lot more code, text, etc.

I’m using two projects, because WCF is all about getting clients to communicate with a service. Let’s start.

1. Open Visual Studio 2005 and create a new console application project, called “CalcServiceHost”.

2. Add a reference to the project for the System.ServiceModel assembly. It’s the core assembly used by WCF.

3. Add a using statement at the top of your class for System.ServiceModel.
using System.ServiceModel;

4. Create a service contract and implement it in the Program.cs file, directly under your Program class. In this example I’m expecting a two numbers and adding this and return the output.

class CalcService
  int Sum(int first,int second)
    return first+second;
5. In your Program class, inside the static Main method we need code to host our service. We’ll add two endpoints, one for our service and one for extracting the metadata.

 1 static void Main(string[] args)
    2 {
    3   // We did not separate contract from implementation.
    4   // Therefor service and contract are the same in this example.

5   Type serviceType = typeof(CalcService);
    7   ServiceHost host = new ServiceHost(serviceType, new Uri[] { new Uri(“http://localhost:8080/“) } );

 9   // Add behavior for our MEX endpoint
   10   ServiceMetadataBehavior behavior = new ServiceMetadataBehavior();
   11   behavior.HttpGetEnabled = true;
   12   host.Description.Behaviors.Add(behavior);

 14   // Create basicHttpBinding endpoint at http://localhost:8080/CalcService/
   15   host.AddServiceEndpoint(serviceType, new BasicHttpBinding(), ” CalcService “);

 16   // Add MEX endpoint at http://localhost:8080/MEX/
   17   host.AddServiceEndpoint(typeof(IMetadataExchange), new BasicHttpBinding(), “MEX”);
   19   host.Open();
   21   Console.WriteLine(“Service is open, press any key to close.”);
   22   Console.ReadKey();
   23 }

At line 7 we’re instantiating our ServiceHost object, specifying a base address at localhost on port 8080.

At line 15 we’re adding our endpoint, using basicHttp, for our service.

At line 17 we’re adding our metadata endpoint. For this we also need to specifiy the MetadataExchange behavior, which we do at line 10, adding it to our ServiceHost at line

12. At line 11 we’re enabling HttpGet, which means we can view the metadata using a browser.

At line 19 we just open the host and everything should work fine. Lines 21 and 22 are waiting on confirmation of a user to close the console application, automatically closing our ServiceHost and thus our service.

We only need to ad a using statement for the System.ServiceModel.Description because adding a MEX endpoint using code requires this namespace.
using System.ServiceModel.Description;

6. Now this is done, let’s try and run our service. If all goes well, we’ll see the message that the service is ready. You can check it by opening up a browser and visiting http://localhost:8080/

7. Now we need to create our client. Add a new Windows Forms project called “CalcServiceClient” to our solution.

8. Right-click the “Host” project and choose “Debug” and then “Start New Instance”. Then right-click the “CalcServiceClient” project and select “Add Service Reference”. In the dialog that appears type in the address http://localhost:8080/ and press “OK”. Now you should have a new folder in your “CalcServiceClient” project with the reference to your service. Stop the service that’s still running in the background.
The System.ServiceModel assembly should be referenced now, the app.config has been added and modified as well as a proxy class under your “localhost” service reference.

9. On your form in the “CalcServiceClient” project, add a textbox and a button. Double-click the button.

10. Add three lines to your button-click event.

1 private void button1_Click(object sender, EventArgs e)
    2 {
    3   localhost. CalcServiceClient proxy = new Client.localhost. CalcServiceClient();
    4   int sumResult = proxy.Sum(textBox1.Text,textBox2.Text);
    6   MessageBox.Show(sumResult.ToString());
    7 }

11. Again, right-click the “CalcServiceHost” project and select to start a new instance and do the same for your Windows application. Then fill in the two numbers in the textboxes and press the button.