Apr 27, 2007

Google Data APIs (Beta) For .Net

.NET Client Library Developer's Guide

This document describes how to use the .NET client library to send Google data API ("GData") queries and interpret returned responses.

Google provides a set of client libraries for interacting with GData-enabled services, in a variety of programming languages. Using these libraries, you can construct GData requests, send them to a service, and receive responses.

This document provides a set of examples of common uses of the C# version of the client library, followed by other information about writing GData clients. At the end of this document is a link to the reference documentation for the C# client library, in NDoc format.

To use this client library, you need the .NET 1.1 runtime, and you should also be current on all patches.

Read Full

Download the .NET client library.

continue reading Google Data APIs (Beta) For .Net

Apr 26, 2007

C# FTP Client Library

This code is an FTP class library for adding FTP access to your projects. It is heavily based on a project (see background for original code), and is now contained in OpenFTP.zip. I was not sure how to update the original article or add to it so I am publishing this as a new article since their was an extensive re-work of the original code in an attempt to make it more developer-friendly.

Click Here

continue reading C# FTP Client Library

Custom ListBox Layout in WPF

This article explores how to customize the way that items are arranged in a ListBox (or any ItemsControl subclass). It makes use of the ItemsPanel property to perform the customization.

Click Here

Source : www.codeproject.com

continue reading Custom ListBox Layout in WPF

Apr 25, 2007

Infragistics Windows Presentation Foundation tools released

nfragistics is shipping NetAdvantage for WPF 2007 Volume 1 for designers and developers looking to speed creation of applications that target Microsoft’s new Windows Presentation Foundation platform.

WPF is a significant upgrade to Microsoft’s client-side offerings, which may come to compete for “user eyeballs” with products as diverse as the Apple Macintosh, Adobe Flash, and Sony PlayStation 2. Infragistics is seeking to ease programmability and improve time to market for WPF.

Included in the NetAdvantage for WPF software suite, said Andrew Flick, Product Manger for Rich Clients, Infragistics, are xamDataCarousel, xamDataGrid and xamDataPresenter, which work as data presentation and rendering controls. Each is written in C# and XAML, the Extensible Application Markup Language developed by Microsoft for WPF.

For Flick, the most important of these controls is the xamDataGrid, as it brings into Windows Presentation Foundation the data grid that is familiar to ASP.NET and WinForms developers. "We know what grid computing means and we know how important it is," Flick said.

The xamDataGrid control uses a single data binding property that supports multiple data sources, from objects to arrays to XML. In addition, it supports hierarchical data rendering. Finally, the xamDataGrid can, in conjunction with other controls within the product, be used to create "carousel" views of data.

The idea of using a carousel is not new, Flick said. But it is one of the essential visual paradigms appearing along with Windows Vista and Outlook 2007. Flick referenced a Microsoft Research white paper, Designing a Generalized 3D Carousel View, which compared the visual browser in Microsoft Encarta 2004 to the "Lazy Susan," a rotating shelf or tray typically used for serving or storing food.

Previously, it had proven difficult to put that idea into practice. Now, it is "as easy as throwing a dataset at a table and you're done," Flick said, adding, "To have that visual finesse, it makes navigating data an interesting paradigm."

The XAML, animation, and vector-graphics techniques that WPF now heralds are new to most developers. Microsoft is focusing WPF, at least in part, at mixed teams of developers and Web designers.

Infragistic’s Flick said the new tool set works well whether your team comprises developers and designers, or just designers. As he notes: “Not every developer has a designer sitting nearby.”

In fact, Infragistics has prepackaged some visual designs. Said Flick, “We can take for example an Office 2007 “Black theme,” and wrap it up in a .dll that can be applied to our grid and carrousel. You don’t have to figure out all the designing things.”

As well, he said the new package is readily usable by traditional Windows Forms developers. Now, he said. “you can drop [XAML] elements into Windows Forms. We have created controls that will be familiar to people.”

“If you want to do a cool animation, you drop it in a Form, connect to data, and you’ve got it,” Flick said.

He noted that his company has been working on the new tools since the days of Microsoft’s Avalon presentation-side project, the precursor of WPF. He suggested that Infragistics research and work to create components gives developers a head start on WPF development, and allows them to devote more time to working with business logic in their applications.

Infragistics will offer the NetAdvantage for WPF at an introductory pricing of $395.00 USD (MSRP) and $895.00 USD (MSRP) with priority support included.

As with other NetAdvantage family products, the product will be sold under an annual subscription model with source code included.

More information on NetAdvantage for WPF 2007 Volume 1
continue reading Infragistics Windows Presentation Foundation tools released

Microsoft Visual Studio Orcas goes beta

Microsoft has shipped the first beta of “Orcas,” the next version of Visual Studio. This follows a long roll out that witnessed a quarter million downloads of various Orcas CTPs. Along with this beta comes the first Express edition of Orcas. The announcement was made on the weblog of Soma Somasegar, corporate vice president, Microsoft’s Developer Division.

Improvements are multiple and wide ranging for this long-awaited tool set. Among Orcas’ high points are: LINQ integrated query building using either C# or Visual Basic for objects, databases and XML data; improved unit and load test capabilities; AJAX-style Web client design; Jscript IntelliSense support; full integration of Visual Studio Tools for Office (VSTO) with Visual Studio; and support for deployment of runtimes to multiple versions of the .NET Framework.

With this release also appears the ADO.NET Entity Framework allowing developers to program against relational data as entities. Moreover, with this release, VBA-VSTO integration takes a step forward as developers are now able to access VSTO add-ins from VBA application code.

The company’s newly minted Windows Presentation Foundation (WPF) gains a useful tool via the WPF Designer, formerly known as Cider - although, at release time, WPF Designer has to be patched onto VB Express and VC# Express. To date, with Orca and Microsoft Expression Blend design tool, admitted Somasegar in conversation with TechTarget editors this week, “you had to do a lot of hand coding.”

“Orcas is the best tool set for the latest platform,” said Somasegar, pointing to the tools’ extensive support for ASP.NET AJAX, Windows Vista and Office 2007 client building as examples.

Visual Studio Orcas Beta notes on S. Somasegar blog
Visual Studio Orcas Beta download information
continue reading Microsoft Visual Studio Orcas goes beta

On to Rosario: MS outlines VSTS futures

Microsoft's forthcoming Visual Studio Team System release is placing an emphasis on collaboration and productivity, all in an effort to help build software enhanced by services, company officials said.

Word is that:

*The company aims to beef up the testing and quality assurance tools within VSTS so that they incorporate test case management, code coverage analysis, and load and stress testing.

*Requirements tools will be added.

*The Tool Suite will align more closely with Microsoft's Dynamic Systems Initiative in its use of domain-specific language.

Read Microsoft outlines Visual Studio Team System's future - SearchVB.com

continue reading On to Rosario: MS outlines VSTS futures

Apr 19, 2007

Microsoft, Adobe, Yahoo, Tout Web 2.0 Hybrid Apps

The Web browser's days may be numbered. Adobe and Microsoft this week both introduced new technology to help create rich Internet applications, which is to say graphically engaging desktop apps that work both with and without network connectivity and network data.

"The hybrid application world is upon us," declared Yahoo engineer Chris P. Saari at a Web 2.0 Expo breakout session Tuesday afternoon.

That's not to say the core technology in Web browsers will disappear. In fact, rich Internet applications like the Joost Internet video player are being developed on top of Mozilla's code base. What's in danger is the browser as default online application interface.

"There are experiences we want to provide the user that we simply can't get in a Web browser, unless we distribute a plug-in," said Saari.

Rich Internet applications promise all the benefits of online applications wrapped in a friendly, usable interface. And companies like friendly, usable interfaces because their customers like them.

EBay has long realized this, but only now has the development technology progressed to the point where RIAs have become feasible from a business perspective. "EBay users have asked eBay to build desktop apps for years and until now it didn't make financial sense to do it," one of the developers of eBay's new San Dimas desktop application said to the conference panelists.

Why bother with RIAs? According to Ben Galbraith, an IT consultant, author, and co-founder of Ajaxian, the standard reasons -- offline access, execution speed, access to local resources, and better graphics rendering -- are worth considering. But the real reason is usability.

"User experience is really the only differentiator left," said Galbraith.

Source :http://www.ddj.com/199100436?cid=RSSfeed_DDJ_All

continue reading Microsoft, Adobe, Yahoo, Tout Web 2.0 Hybrid Apps

Intel Outlines Mobile Roadmap

Intel on Tuesday outlined its plans into next year for its mobile platform, which promises to boost performance and energy efficiency in notebooks and other Internet-connected devices.

The company unveiled the road map at the Intel Developer Forum in Beijing, listing its plans for processor technology earmarked for notebooks of all sizes; ultra-mobile PCs, which often include a touch screen; and even smaller computers that Intel calls "mobile Internet devices."

While some products are due out this year, the biggest performance and energy improvements are slated for next year, when Intel starts cranking out processors using its 45-nanometer manufacturing process. The new process enables the company to increase the transistor density of a chip, compared with the older 65-nm technology.

Rival Advanced Micro Devices is behind Intel in leveraging the manufacturing technology. Intel plans to have two 45-nm manufacturing facilities in production by the end of this year, and two more by the second half of 2008.

In May, Intel is scheduled to release its Santa Rosa processor technology for notebooks that's comprised of a Core 2 Duo processor, the Mobile Intel 965 Express chipset, and a "Turbo Memory" option that decreases the amount of time it takes for a hibernating PC to resume operation.

In the first half of next year, Intel will refresh Santa Rosa with a 45-nm dual-core mobile processor, code-named Penryn, David Perlmutter, senior VP and general manager of Intel's Mobility Group, said during a keynote address. Later in the year, Intel plans to deliver with Penryn more advanced processor technology, code-named Montevina, which will sport higher performance and more energy efficiency, the company said.

As an option in Montevina, Intel plans to offer its first integrated Wi-Fi/WiMax technology. WiMax provides multimegabit speed, greater throughput, and wider range when compared with other wireless broadband technologies. WiMax hasn't been rolled out in many places yet, but the technology promises to someday enable people to more quickly download high-definition video, and other large data files wirelessly.

In the mobile Internet device and ultra-mobile PC categories, Intel plans to introduce this summer the Ultra Mobile platform, formerly code-named McCaslin. Systems leveraging the technology will be available over the summer from Aigo, Asus, Fujitsu, Haier, HTC, and Samsung. The platform includes an Intel A100 or A110 processor, the 945GU Express Chipset, and the Intel ICH7U I/O Controller Hub.

The release of the next-generation platform for smaller computers, code-named Menlow, was moved forward about six months to the first half of next year. Menlow would be based on a 45-nm, low-power micro-architecture-based processor code-named Silverthorne, and a next-generation chipset code-named Poulsbo. Anand Chandrasekher, Intel senior VP and general manager of the Ultra Mobility Group, demonstrated a Menlow prototype at the developer forum.

Intel Senior Fellow Mark Bohr told attendees that the company has working versions of Silverthorne. Intel today has more than 15 different 45-nm product designs in various stages of developments, including working versions of Core 2 Duo, Core 2 Quad, and Xeon family processors.

The day before, Intel released its plans for processors and related technology for desktops, servers, and consumer electronics. A major focus in the new designs for next year is what Intel calls a "system-on-chip," which integrates several key system components into a single Intel architecture-based processor.

Source : http://www.ddj.com/dept/mobile/199100435?cid=RSSfeed_DDJ_All

continue reading Intel Outlines Mobile Roadmap

Apr 17, 2007

Bayanihan Computing Group, C#.net

Worldwide Winner, Microsoft .NET Best Awards XML Web Services Contest, Academic Category
Bayanihan is an old tradition in the Philippines wherein neighbors of a relocating family would help the family move by gathering under their house and carrying it to its new location.Although bayanihan practiced in this form has become rare in today�s modern times, the word bayanihan itself has come to mean any manifestation of the powerful spirit of communal unity that can make seemingly impossible feats possible through the cooperation of many people working towards a common goal.

The Bayanihan Computing Group seeks to bring the bayanihan spirit into the realm of computing by making it possible � and easy � for people to pool together their computing resources into a high-performance computing resource capable of solving computational problems much faster than before. Our work began in 1996 at the Massachusetts Institute of Technology (MIT) as �Project Bayanihan�, a doctoral thesis project on the idea of volunteer computing, a new form of computing that makes it possible to form very large global networks of cooperating computers by making it very easy for even ordinary users on the Internet to volunteer their idle computers.Through Project Bayanihan, we produced several unique and new results, including a generic volunteer computing framework using Java, new programming models and interfaces for volunteer computing, and several mechanisms for the new problem of sabotage-tolerance � that is, the problem of producing correct results despite the presence of malicious volunteers submitting bad results. Today, we are continuing our research at the Ateneo de Manila University in the Philippines, with Bayanihan Computing .NET, a generic software framework that makes use of the new technology of XML web services to go beyond the idea of volunteer computing to that of grid computing, wherein people can not only pool together their computing resources, but can now also make these pooled resources available to others through very simple programming interfaces called computational web services. Through the power of web services, Bayanihan Computing .NET not only allows people to even more easily build volunteer computing systems than before, but more importantly, allows them to tap the computing power of these systems from any device � even PDAs and mobile phones. In this way, Bayanihan Computing .NET has the potential of bringing supercomputing power literally into the hands of ordinary users.


continue reading Bayanihan Computing Group, C#.net

Alchemi - Plug & Play Desktop Grid Computing

Alchemi is an open source software framework that allows you to painlessly aggregate the computing power of networked machines into a virtual supercomputer (desktop grid) and to develop applications to run on the grid.

It has been designed with the primary goal of being easy to use without sacrificing power and flexibility.

Alchemi includes:
  • The runtime machinery (Windows executables) to construct computational grids.
  • A .NET API and tools to develop .NET grid applications and grid-enable legacy applications.
click here
continue reading Alchemi - Plug & Play Desktop Grid Computing

Grid computing enters new arenas

One of the most talked about areas of IT in recent months is Grid Computing. This week one of the heavyweight vendors promoting the area talked about how the solutions are evolving and the exploitation of information via the use of Grid solutions by commercial organizations.

The idea behind grid computing is to assemble a collection of distributed computing resources (potentially connected over a local or wide area network) and have them appear to an end user or application as one large virtual computing system.

IBM is, alongside Sun Microsystems, one of the leading advocates of Grid usage outside the boundaries of academia. Indeed, Big Blue is the largest vendor actively pushing forward the development of grid systems and has recently spent much time explaining just how Grid systems can bring value to organizations operating in the cut throat world of business.

IBM's announcement highlighted the availability of grid solutions to four new industries; petroleum, electronics, higher education and agricultural chemicals, complementing those already existing in the aerospace, automotive, financial markets, government and life sciences sectors.

Beyond this, the company also released information on its efforts to build a "Grid Ecosystem". The ecosystem is a recognition that no one supplier will be able to either control or deliver all of the components required to make grid technology usable in as many areas as possible. The initiative seeks to bring together software designers and business partners to help further the assembly of commercial grid solutions. In addition to those companies already taking part in the ecosystem, new entrants include Accelrys, Calypso Technology, Cadence, Force10 Networks, Landmark Graphics Corporation and MSC.Software.

It is also worthwhile noting that two very well recognized vendors, Cisco and Mercury Interactive, also joined up to bring the total number of organizations involved to over thirty-five. It is hoped that the addition of Cisco should help simplify data access and resource sharing across the Grid with the potential eventually to enable globally scaleable access to data through grids.

The most interesting development however, lies neither in the focus on new verticals nor the creation of the so-called grid ecosystem, valuable as this is. Instead it is to be found in the budding extension of the architecture into "information grids". Until recently most of the focus has been on deploying grid solutions as large compute engines. There is now a clear desire to bring in new software vendors to enhance the ability to provide information access and complex business analytic capabilities via grid systems.

Grids are slowly getting out into the real world. They still require significant service work and customization to make them operate but the architecture is now ready for mainstream users to recognize that Grids may soon be offering them valuable opportunities.

continue reading Grid computing enters new arenas

How Google Overcame Application Scalability and Agility Limits with a Virtualized, Real-Time Grid Environment

Strategic enterprise applications are required to exhibit both scalability and dependability, a tall order that many traditional deployment approaches fail to successfully or cost-effectively meet. Learn about a new approach to application deployment and management that represents the next-generation of grid computing -- the application fabric.

This white paper explores the requirements of time critical applications, the limits of traditional deployment approaches and the benefits of application fabric. Discover how Google leveraged an application fabric-based approach to keep up with the dramatic growth of its core search engine business while also developing and launching new services. Application fabric software makes available to all companies what Google has built for itself -- a "real-time" grid that delivers not only effortless scalability, but also virtualization, fault tolerance and automated managemen

Read More : Click
continue reading How Google Overcame Application Scalability and Agility Limits with a Virtualized, Real-Time Grid Environment

Apr 11, 2007

Enterprise Library adds new validation, policy-injection support

Microsoft Patterns & Practices Group has released a new version of the Enterprise Library, including software known as the Application Block Software Factory that can be used with Visual Studio to enable architects to build extensions to the Enterprise Library without having to do all coding by hand.

Enterprise Library 3.0 also includes a new Validation Application Block, the Policy Injection Application Block, and a Visual Studio-integrated configuration editor.

TheServerSide.NET spoke with Microsoft's Tom Hollander, who discussed the evolution of the Enterprise Library and some of the key elements of the new release.

Hollander said that previous milestone versions of the Enterprise Library were primarily aimed at keeping up with the basic .NET Framework. This release is more notable for new functionality than for changes needed to stay up to date with the larger framework, Hollander suggested.

He said the Validation Block will have wide application. ''Every non-trivial application tends to require some validation. It is not hard to write but it can be time consuming.'' Also, the validation code is sometimes difficult to reuse. With the Validation Block, he said, ''you specify your validation logic centrally.'' Then it can be more easily re-used, and more likely to be re-used more consistently.

Read more.

Download Enterprise Library : Click

continue reading Enterprise Library adds new validation, policy-injection support

Apr 7, 2007

DevIndia Infoway

Computer Softwares

One Way SMS (Cell Phone) v1.0 [U3 (Portable) version available]

One Way SMS (CDMA) v1.0 [U3 (Portable) version available]

One Way SMS (Sancharnet) v1.0 [U3 (Portable) version available]

One Way SMS (GSM Modem) v1.0 [U3 (Portable) version available]

One Way E-mail v1.0 [U3 (Portable) version available]

One way SMS (SMS Gateway) v1.0 [U3 (Portable) version available]

One Way SMS, e-mail (Pro) v1.0 [U3 (Portable) version available]

Two-Way SMS v1.0 [U3 (Portable) version available]

Two-Way SMS (Pro) v1.0 [U3 (Portable) version available]

Power-Cut Off Alert SMS v1.0 [U3 (Portable) version available]

Two-Way SMS (Pro-1) v1.0 [U3 (Portable) version available]

wo-Way SMS (Pro-2) v1.0 [U3 (Portable) version available]

FM Player v1.0 (Free)

Download Evolution Version From : www.devindia.net

continue reading DevIndia Infoway

DevIndia Infoway

Mobile Applications

1) Mobile Accounting Application
  • User can make application password protected from avoiding unauthorized use in the case of mobile lost. Password protection also prevents user to delete SMS from the mobile without entering password.

  • User can search master entry with the help of the first name.

  • User views record count and net balance of the person in the main master record form.

  • Allow digit to enter in the amount is (-999999999) to (+999999999) limit is Sufficient for mobile based accounting software!

  • User can easily get back forgotten password with the help of the CD-Key.

  • User can manage master entry records with listed fields (at the time of a\c opening)

    • Name

    • Account Type (Credit\Debit)

    • Amount

  • User can manage child entry records with listed fields (for selected master record)

    • Date

    • Transaction Type (Sales\Purchase\Receipt\Payment)

    • Amount

    • remark

· Online & manual software registration for instance software operation start-up.

2) Mobile Two Way SMS

  • User can add any number of two-way entries.

  • User can add, edit, view, delete (update) record form the phone.

  • User selects all (mark all) or selects individually record and delete two way entry or entries.

  • User selects all (mark all) or select individually and enable or disable the two way entry or entries.

  • User selects all (mark all) or select individually and enable or disable Flash SMS sending option for the two way entry or entries.

  • User selects all (mark all) or select individually and enable or disable report required SMS sending option for the two way entry or entries.

  • User can export & import software event log to desktop application. For easy management (add, edit, view, delete) of records.

  • User can export & import two-way entry file with desktop application. For easy management (add, edit, view, delete) of records.

  • access only to the address book Mobile No. contacts only enable disable settings, if contact not found from the address book then send default text area SMS. (SMS is only getting reply, if keyword is correct.)

  • Start service and stop service functionality. (By default stop service at application start-up.)

  • About us, slash screen, registration module , password and forgot password (as same as previous application)

  • Event viewer shows user current processing events.

  • User can view log file and two-way file path for transferring to the PC.

  • File path of the two-way entry is

(From PC Suite) “Phone memory\Other files\TwoWaySMS/ExportScript.dat”

(From Mobile) “Phone memory\Others\TwoWaySMS\ExportScript.dat”

Phone memory =~ C:\Nokia (mostly)

  • File Path of the SMS log is

(From PC Suite) “others\TwoWaySMS\TwoWaySMSLog.dat”

(From Mobile) “Phone memory\Others\TwoWaySMS\TwoWaySMSLog.dat”

Phone memory =~ C:\Nokia (mostly)

  • User can view log in mobile phone by entering the date between. In log he\she can view incoming SMS date-time, mobile no, text, outgoing SMS, date-time, report and flash settings.

  • User can set default SMS reply and its related settings (Flash, report required etc…)

  • User can make application password protected from avoiding unauthorized use in case of mobile lost. Password protection also prevent user to delete SMS from the mobile without entering password.

  • Easy PC based application for managing the Two-way entry and Mobile phone log. Refer pre-requisites page for desktop application.

  • At a time you can not manage two-way entry or view log in the phone and keep service in start mode. You have to stop service before managing log and two-way entries.

· Mobile Two Way SMS Application default password is "1234" allow to enter unlimited Two Way Keyword and Response, all response contains prefix text as "(send from demo version of twowaysms)". (For evaluation version only)

· Online & manual software registration for instance software operation start-up.

Download : www.devindia.net

continue reading DevIndia Infoway

Apr 6, 2007

Network Classes in the .NET Framework

The Microsoft .NET Framework includes classes that make it practical and simple to build network applications and utilities. In this article, I’m going to walk you through the construction of a trace route utility. When you communicate with any server on the Internet, your traffic is routed through many network nodes (routers and other servers) before reaching the final destination. A trace route utility provides information about all the intermediate nodes between you and the destination IP address.

The following is the output of my trace route utility, reporting the network path from my machine to Google:

Tracing route to www.google.com local.gateway 0ms seared2-dhcp-207-115-94-97.isomedia.com 44ms core-01-ge-0-2.sttl.isomedia.com 45ms bord-04-ge-2-0.sttl.isomedia.com 335ms 45ms g12-1.core01.sea01.atlas.cogentco.com 48ms p6-0.core02.smf01.atlas.cogentco.com 63ms p4-0.core02.sfo01.atlas.cogentco.com 63ms t3-3.mpd01.sfo01.atlas.cogentco.com 62ms t7-2.mpd01.sjc01.atlas.cogentco.com 68ms v3491.mpd01.sjc03.atlas.cogentco.com 70ms g0-0-0.core01.sjc03.atlas.cogentco.com 70ms google.sjc03.atlas.cogentco.com 70ms 82ms 80ms 83ms 85ms mc-in-f147.google.com 81ms

Press return to exit

You can see that the utility reports the IP address, the host name (if available), and the ping response time to that host. If you look carefully, you can see that my traffic went from Portland to Seattle through San Francisco and finally to San Jose. In all, it took 18 hops to get to Google.

The following is the complete code for the trace route application. You can simply copy and paste this code into a new C# console application to experiment with it yourself:

using System;

using System.Collections.Generic;

using System.Text;

using System.Net;

using System.Net.NetworkInformation;

namespace ConsoleApplication2


class Program


static string destination = "www.google.com";

static void Main(string[] args)


Console.WriteLine("Tracing route to {0}", destination);

IPAddress ip = Dns.GetHostEntry(destination).AddressList[0];

Ping pinger = new Ping();

for (int ttl = 1; ttl <>


byte[] b = new byte[256];

PingReply reply = pinger.Send(

ip, 3000, b, new PingOptions(ttl, true));

if (reply.Address == null)







string hostName;



hostName = Dns.Resolve(



catch (Exception)


hostName = "";


PingReply roundTripReply = pinger.Send(reply.Address);

Console.WriteLine("{0} {1} {2}ms", reply.Address.ToString(),




if (reply.Address.ToString() == ip.ToString()) break;


Console.WriteLine("Press return to exit");





This application uses classes in the System.Net.NetworkInformation namespace. First, the application converts the host name (www.google.com in this example) to an IP address. Then, the application attempts to ping the IP address. However, ping requests can be configured with a Time to Live (TTL) parameter. Each time the packet passes through a network node the node decrements the TTL parameter. If a node decrements the TTL parameter to zero, it doesn't forward the packet and instead returns an error to the caller.

To trace the route from your location to a distant IP address, you perform multiple ping attempts. On the first attempt, the TTL parameter is set to 1, causing the first network node to cease forwarding and return an error. The error contains information about that node. On the next attempt, the TTL parameter is set to 2, causing the second node in the path to return an error. The TTL parameter is incremented by 1, causing each subsequent node to return an error until the destination is reached. This provides information about every node on the path between your machine and the destination server.

continue reading Network Classes in the .NET Framework

Apr 2, 2007

Rapid Layout .Net For Visual Studio


Rapid Layout is an enhancement to the Visual Studio Forms designer. It accelerates development of Windows Forms user interfaces (UIs). With its unique combination of connectors, springs, guides and alignment groups the UI will be functional, perfectly aligned, and resizable.

The alignment of the UI will remain consistent with and change to the font style, form size and language. Rapid Layout gives the person designing the user interface freedom to either precisely place UI components or to graphically create simple constraints that direct the Rapid Layout engine. Based on these constraints the engine will automatically rearrange the UI on changes.

Using Rapid Layout empowers the UI designer to quickly build forms the way they envisioned. This speed and flexibility will ultimately save time and money.

Click Here

continue reading Rapid Layout .Net For Visual Studio

Microsoft Robotics Studio:

An Introduction
The Microsoft Robotics Studio is a Windows-based environment for academic, hobbyist and commercial developers to easily create robotics applications across a wide variety of hardware. Key features and benefits of the Microsoft Robotics Studio environment include: end-to-end Robotics Development Platform , lightweight services-oriented runtime, and a scalable and extensible platform.

Click Here : More
continue reading Microsoft Robotics Studio:

Game Devleopment In Visual Studio

XNA Game Studio Express

XNA Game Studio Express is based on Visual C# Express Edition and allows you to create games for both Windows PC’s and the Xbox 360. XNA Game Studio Express contains the following:

  • The XNA Framework, a set of managed code development libraries that make it possible for game developers to be more productive when creating games for Windows and the Xbox 360.
  • The XNA Framework Content Pipeline, which is a set of tools that allow developers to more easily incorporate 3D content into their games.
  • XNA Game Studio Express also contains a full set of documentation, how-tos, and starter kits that demonstrate how best to use the content pipeline and XNA Framework.
continue reading Game Devleopment In Visual Studio

Using NHibernate and Log4Net in ASP.NET 2.0 applications


Hibernate and Log4J are a de-facto standard of ORM (Object-relational mapping) and logging (respectively) in Java world. That's why both were ported to .NET runtime environment.

NHibernate is ORM solution and is intended for transparent binding .NET classes to database tables. NHibernate was designed to reduce time efforts to switch application to another database provider. It is achieved by means of replacing SQL with special NHibernate query language (HQL), providing dialects for several databases and providing special classes for retrieving/updating data in database.

Log4Net is logging framework which is useful for tracking errors in application and can write logs either to database table or flat files. You can download sample Visual Studio .NET project here

Read Full Article : Click

continue reading Using NHibernate and Log4Net in ASP.NET 2.0 applications

.NET MVC Frameworks

Armed with the knowledge above, you might be tempted to dive head-first into the development of your next application. It is entirely possible for you to write an MVC application without the help of a framework. However, doing so will be much more tedious and time-consuming than using a good framework.

These are some of the questions your code will need to answer:

Before too long, you may find yourself writing your own MVC framework embedded in your application. If you are not careful, using the MVC architecture for your application may become detrimental rather than beneficial. Your application’s overall quality may suffer as a result of the increased work. Moreover, you will have to duplicate your efforts in the next MVC application you write.

With that in mind, let’s take a look at existing .NET MVC frameworks to see what they can offer.

The User Interface Processing Application Block (try saying that quickly) is an official Microsoft Application block for MVC application development. At the risk of sounding harsh, it is also definitive proof that you should never blindly use products simply because they come from Microsoft[3] . Version 2 is the latest version. See the resources section for a link.

UIPAB2 comes with a lot of problems, so let me point some of them out. Firstly, it is a constant battle writing an application with this framework. When something goes wrong (and it will, trust me), you will be lucky if you get a legible error message. Chances are you will have to step through the UIPAB code with a debugger to see exactly why it is failing.

Next up, UIPAB requires full type information to be specified for any of your views, controllers or whatever. For example, this will not work:

Instead, you have to provide all the information about the type:

As if that isn’t verbose enough, it would be more so if your assembly is signed. Worse, you cannot automatically increment your build number (as is the default when creating a project in Visual Studio) because it will no longer match your configuration file. You have to hard-code your version number and increment it manually, remembering to update your configuration each time you do so.

Alternatively, you will have to write a script to automatically update your configuration file based on your assembly’s version. Either way, it’s a pain and I have no idea why it was written this way.

The next problem I want to discuss is the UIPAB concept of state. UIPAB requires that you separate the state of your UI tasks out from their controllers. That is, it imposes restrictions on your model implementation. Specifically, it requires you to implement classes that inherit from its State class, or to use the State class as a generic bag. It does this only so it can facilitate automated persistence of your state.

So you have two choices when implementing your model:

  1. Use a generic bag for your model and forgo the benefits of a strongly-typed language.

  2. Implement your own strongly-typed state class which must inherit from UIPAB’s State class.

The problem with using the generic bag is obvious. You have to cast all your data when you get it out of the bag, and you lose the benefits of intellisense when accessing your data. Implementing your own custom state class is possible, but extremely tedious. You have to implement seven (yes, seven) constructors for each custom state class.

The other problem with the state concept is that each state class raises a single event for notifying other layers of state changes. This is simply not fine-grained enough for most serious applications. Granted, the event arguments can contain the key of the item that changed, but you’ll end up either refreshing your entire view with each state change, or with a big, dirty switch statement in your code deciding which parts of the view to refresh.

Hopefully this is enough information to steer you clear of UIPAB. Feel free to try it out yourself on a simple test application, but be very careful before you use it in a serious application. On the bright side, using UIPAB2 is what drove me towards writing Ingenious MVC.

continue reading .NET MVC Frameworks