Calling Web Services Asynchronously
Making synchronous calls to web services can be problematic on occasion, because they have the potential to cause considerable delay. The reason for this is the manner in which synchronous calls work: the application blocks the client until the web service call returns. To overcome the necessity of having to wait for the web service response, we can call web services asynchronously. Raj Makkapati walks you through how to call web services asynchronously.
[ONDotnet.com]
Understanding the BackgroundWorker Component
Multithreading is one of the most powerful concepts in programming. Using multithreading, you can break a complex task into multiple threads that execute independently of one another. By default, your Windows application uses a single thread of execution. Wei-Meng Lee shows you how multithreading has been simplified in VB2005 using the BackgroundWorker component.
[ONDotnet.com]
August Special: Save 15%-- In our practice-based, self-paced courses, you can build your online
portfolio with plenty of instructor feedback and a free O'Reilly book
for reference. For a limited time, use the discount passcode "tigercub"
to save an extra 15% off any of our courses--including all University
of Illinois Certificate Series. Take advantage of this great deal and
register today!
Unit Testing in .NET Projects
Now is a pretty exciting time for unit testing in .NET. Tremendous progress is being made on several fronts: IDE integration, process integration, and new test fixtures. Jay Flowers and Andrew Stopford explain how to use Visual Studio's new integrated unit testing, as well as the NUnit and MbUnit testing frameworks.
[ONDotnet.com]
Liberty on Beta 2 Building a Complex Custom Control: Rolodex
This article marks the end of "Liberty on Whidbey" and the beginning of a new column: "Liberty On Beta 2." Each article will demonstrate a real-world problem Jesse's had to solve for a client, and will leave you with a complete design and working code. Jesse had a customer who asked for a complex Windows application that would let him scroll through a list of customers, suppliers, or employees, using the visual metaphor of a Rolodex, much as he might look at contacts in Outlook.
[ONDotnet.com]
Building Web Parts, Part 3
In this last installment of his Web Parts series, Wei-Meng Lee will show you how to let users dynamically add Web Parts to page and how to restore Web Parts that they have closed.
[ONDotnet.com]
Generics in .NET 2.0
Using generics in .NET 2.0 screams of potential. But what are generics? Are they for you? Should you use them in your apps? Venkat Subramaniam, author of .NET Gotchas, answers these questions and take a closer look at using generics, and their capabilities and limitations.
[O'Reilly Network]
Refactoring with Visual Studio Macros
Refactoring is a method of improving your code without breaking or modifying the external functionality of your application. Refactoring has been growing in popularity partially because it is one of the key practices of extreme programming and because it goes hand in hand with test driven development. Refactoring consists of a plethora of different small changes (or refactorings) that you can make to your code. These changes are small enough to quickly test and have a low risk factor, but in total, they increase the overall quality of your code base or application. In this new article,James Avery discusses a macro approach to refactoring.
[O'Reilly Network]
Porting a Project from Visual Studio .NET to Mono
Three years ago, when .NET was still in pre-release status, Kevin Farnham developed a C# application to automatically generate stock market web pages. Recently, he ported the project to Mono and Debian Linux. Follow along to see how the port went.
[ONDotnet.com]
Liberty on Whidbey Liberty on Whidbey: What's New in Beta 2: Web Parts Revisited
Jesse Liberty has been working with Whidbey (.NET 2005) for a little over a year, and believes that .NET 2005 2.0 is a great improvement over 1.x. That said, the beta has had a bit of a hard time settling down, and so many of the earlier columns he wrote about Whidbey are, at best, a bit out of date. In this column he revisits, fixes, and expands on one of his favorite 2.0 features: Web Parts.
[ONDotnet.com]
Building Web Parts, Part 2
In part one of this series, Wei-Meng Lee discussed how to create Web Parts and configure them to look good. But he didn't touch on one of the most important feature of Web Parts; that is, how to let users move the Web Parts from one zone to another. In this article, he shows you how to move Web parts and how you can configure Web Parts to make use of SQL Server 2000.
[ONDotnet.com]
Refactoring Support for Visual Basic 2005
Microsoft recently announced that they have teamed up with Developer Express Inc. to release Refactor! for Visual Basic 2005 Beta 2, a free plugin for Visual Studio that enables Visual Basic developers to simplify and restructure source code inside of Visual Studio 2005. Wei-Meng Lee walks you through the new refactoring.
[ONDotnet.com]
Building Web Parts, Part 1
Web sites today contain a wealth of information; so much that a poorly designed site can easily overwhelm users. To better help users cope, portal web sites today (such as MSN) often organize their data into discrete units that support a degree of personalization. In this first of three articles, Wei-Meng Lee discusses how to use Web Parts for user customization in your ASP.NET 2.0 web sites.
[ONDotnet.com]
Liberty on Whidbey Putting A Browser Into Your Windows Application
There are times when it would be awfully convenient to have the capabilities of Internet Explorer inside your Windows application. The classic case is when you want to look at an XML document, and you'd like to take advantage of IE's ability to show the document as a collapsible and expandable hierarchy. In this article, Jesse Liberty will show you how to do that, in just a few easy steps.
[O'Reilly Network]
C# Generics: Collection Interfaces
The .NET framework provides two sets of standard interfaces for enumerating and comparing collections: the traditional (non-type-safe) and the new generic type-safe collections. In this excerpt from Programming C#, 4th Edition, Jesse Liberty focuses on the key type-safe collection interfaces, reviewing each collection interface and providing code examples that demonstrate how to implement each one.
[O'Reilly Network]
Liberty on Whidbey XML DataSource Controls in .NET 2.0
With .NET 2.0's XML DataSource control, you can bind to an XML document just as easily as you bind to tables in a database. If the XML document you load is hierarchical, the data is exposed hierarchically, which makes it ideal for mapping an XML document to a TreeView control. Jesse Liberty explains how the XML DataSource works in ASP.NET.
[ONDotnet.com]
Building .NET Add-Ins for Windows Media Center Edition
Windows XP Media Center Edition 2005 is an exciting platform for enjoying all of your media from the comfort of your sofa. However, in many cases you might wish to extend Media Center to perform functionality that it does not have "out of the box." Microsoft has created a software development kit that lets you write your own software that runs in Media Center. In this article, Michael Earls shows you how to write your first .NET add-in for Media Center Edition of Windows XP.
[ONDotnet.com]
Liberty on Whidbey Enhanced Text Input in Windows Forms 2.0
Visual Studio 2005 provides enhanced controls for managing data input in Whidbey. To get you started, Jesse Liberty takes a look at the masked editing control, which allows you to restrict the input from a user that a Windows Form will accept and to control how it is displayed by using a mask.
[O'Reilly Network]
Miguel de Icaza Explains How To "Get" Mono
It's perhaps the most controversial project in the open source world, but this mostly stems from misunderstanding: Mono, the open source development platform based upon Microsoft's .NET framework. Immediate reactions from many dubious Linux developers have ranged from confusion over its connection with .NET to wondering what the benefits of developing under it are. Throughout the course of its four years of intense development, sponsored by Novell, Mono founder Miguel de Icaza has had to frequently clarify the .NET issue and sell the community on it. In this new interview, Howard Wen asks Miguel to explain himself one more time.
[ONDotnet.com]
An Introduction to Developing Software for Microsoft Windows XP Media Center Edition 2005
At a recent consumer electronics show, Bill Gates suggested that the Media Center PC would be the centerpiece for combining online entertainment sources with existing video sources. As Sean Alexander (a product manager for Media Center) later suggested, Windows Media Center Edition will be the "hub for whole-home entertainment". Windows XP Media Center Edition allows you to do those things today. Michael Earls starts you out with how to write applications for Windows Media Center.
[ONDotnet.com]
Developing Firefox Extensions with GNU/Linux QT writes "Ars Technica has a lengthy but useful introduction to developing Firefox extensions with GNU/Linux. This guide comes hot the heals of the RC for Beta 1 of Firefox. The article is a little more thorough than necessary, but I can't complain about anything that spurs Firefox development." From the article: "What can you do with a Firefox Extension? Firefox extensions can modify the Firefox user interface. This includes adding buttons to tool bars and menus; changing fonts, colors, and icons; capturing events in the client interface like page loads and clicks; and modifying web pages after the browser loads them and before the user sees them. All of this functionality comes with the aspect-oriented facility of overlays. Extensions also have as much access to the file system as the user running Firefox. Extensions can add protocol handlers, hooking actions to URLs like icq://, aim://, or stantz://. Extensions have UniversalXPConnect privileges, allowing them to harness any XPCOM component. Firefox comes with a rich library of XPCOM components that permit your extension to drive very low-level functionality like sockets from Javascript. You can also augment the XPCOM library with Firefox extensions by adding Javascript, linkable libraries, or XPIDL." [Source: Slashdot Org latest news headlines]
Realism vs. Style: the Zelda Debate Bonnie Ruberg is a staff writer for Planet GameCube and Gaming Age, a freelance games journalist, and the author of Heroine Sheik, a blog dedicated to investigating sexuality in gaming cultures. Today, we have the pleasure of running a piece she's written for the site about a topic that's been brought up more than once in the comments here on Slashdot. "For Zelda fans, this is a time of anticipation. The Legend of Zelda: Twilight Princess is officially on its way, and everybody is talking. By now, we've all seen the pre-release screenshots and videos. Nintendo has made some major changes with the series' latest installment, and the gaming world has let out a unanimous gasp at the results." Read on for the rest of her analysis of this oft-debated issue. [Source: Slashdot Org latest news headlines]
New Data Center Standard mstansberry writes to tell us that the Telecommunications Industry Association (the people who brought you the CAT standards for unshielded twisted pair cabling) recently published a 148 page document meant to standardize the design considerations for every single aspect of a data center. The standard covers everything from site selection to rack mounting methods. [Source: Slashdot Org latest news headlines]
WinFS Beta 1 Released Early Mouldy Punk writes "Infoworld is reporting that WinFS Beta 1 has been released. The new relational file system for Windows is posted on MSDN Subscriber Downloads. This release is designed to offer developers a preview of WinFS capabilities. WinFS will be in beta when Windows Vista ships and will RTM afterwords. WinFS, when it ships, will be available for download for Windows Vista and possible support for Windows XP is being considered. The distribution mechanism for WinFS will be through an add-on download much like the .NET framework is today. Tom Rizzo also notes that there is a new blog dedicated to Win FS." [Source: Slashdot Org latest news headlines]
Google Talk Claims Openness, Lacks S2S Support rm writes "This LiveJournal entry by Nugget quite well sums up the disappointment in Google Talk among many Jabber users, caused by the service's complete lack of XMPP server-to-server communication support: '...Google has uncharacteristically missed the real strength of the Jabber design. Despite all their self-congratulation about open communications they've only embraced the smaller, less important aspect of the Jabber openness.'" [Source: Slashdot Org latest news headlines]
The Invasion of The Chinese Cyberspies HorsesAss writes "Time Magazine has an article up entitled 'The Invasion Of The Chinese Cyberspies and the Man Who Tried to Stop Them', which outlines how Chinese PRC is cracking DOD networks and downloading massive sets of files detailing every aspect of military planning and practice." From the article: "The hackers he was stalking, part of a cyberespionage ring that federal investigators code-named Titan Rain, first caught Carpenter's eye a year earlier when he helped investigate a network break-in at Lockheed Martin in September 2003. A strikingly similar attack hit Sandia several months later, but it wasn't until Carpenter compared notes with a counterpart in Army cyberintelligence that he suspected the scope of the threat. Methodical and voracious, these hackers wanted all the files they could find, and they were getting them by penetrating secure computer networks at the country's most sensitive military bases, defense contractors and aerospace companies." [Source: Slashdot Org latest news headlines]
Comparison of Java and .NET security prostoalex writes "The Computer Science Department at the University of Virginia has published a comparative study of security in Java and .NET in Portable Document Format. DevMktg blog on MSDN summarizes the findings saying that due to careful design process, .NET presents security advantages over Java platform in several areas." From the article: "Where Java evolved from an initial platform with limited security capabilities, .NET incorporated more security capability into its original design. With age and new features, much of the legacy code of Java still remains for backwards compatibility including the possibility of a null SecurityManager, and the absolute trust of classes on the bootclasspath. Hence, in several areas .NET has security advantages over Java because of its simpler and cleaner design." [Source: Slashdot Org latest news headlines]
Digital People: From Bionic Humans to Androids Aeonite writes "Cybernetics (that is to say, the sort associated with Cyberpunk) has long been an interest of mine, and so I was eager to dive into Digital People: From Bionic Humans to Androids , which is about exactly what it proclaims to be about. Sort of. The book does indeed cover everything from Bionic Humans to Androids, but the continuum of artificial beings is heavily weighted towards one end of the spectrum. Overall, the book is quite comprehensive in dealing with physical aspects of artificial intelligences, but when it comes to the nature of intelligence itself, the book barely dips its toe in the water. As the author himself says, the question here is not "Can machines think?", like Turing, but rather 'Can machines live?'" Read on for the rest of Aeonite's review. [Source: Slashdot Org latest news headlines]
Kurt Cagle's OpenSVG Keynote Metaphorically writes "Kurt Cagle has posted a summary of his keynote speech from the SVG Open 2005. Inspiring for an SVG enthusiast, informative for any geek. He covers a lot of ground on XML and the next generation of GUI. It connects a lot of technologies that people might otherwise not totally grasp. If you haven't been following the development of XForms, E4X, SVG and XAML then this is a great way to catch up." [Source: Slashdot Org latest news headlines]
Rootkits: Subverting the Windows Kernel nazarijo (Jose Nazario) writes "A group of people out there, let's call them 'elite hacker d00ds,' are able to skillfully craft Windows rootkits that evade almost any known detection system. Some people want to know how this is done, be they aspiring elite hackers, security professionals who have to try and find these rootkits, or just interested parties. If you're one of them, Grog Hoglund and James Butler's new book, Rootkits: Subverting the Windows Kernel is for you. It's focused like a laser on how to defeat detection at various levels in the Windows OS once you're in." Read on for the rest of Nazario's review. [Source: Slashdot Org latest news headlines]
FedEx Cracks Down on Box Furniture, Citing DMCA nospmiS remoH writes "Wired is running an article about a guy with no money making furniture out of FedEx boxes. If that weren't strange enough, FedEx is going after him, legally citing the DMCA. Yes, the DMCA. Apparently they are not upset about the furniture itself but rather this site that he put up with pictures of his creations (pretty good work really). My favorite quote from the article, '...Avila clearly intended to operate a business from his website because he used the .com domain suffix, the "commercial level domain," rather than .net.' You just can't make this stuff up." [Source: Slashdot Org latest news headlines]