F9 Group Marketing and Technology Blog

Marketing, Technology, and current news at http://www.f9group.com/

Entries Tagged ‘reference’

Comparing the Performance of Visual Studio’s Web Reference to a Custom Class

As developers, we all make assumptions when programming. Perhaps the biggest assumption we make is that those libraries and tools that ship with the .NET Framework are the best way to accomplish a given task. For example, most developers assume that using ASP.NET’s Membership system is the best way to manage user accounts in a website (rather than rolling your own user account store). Similarly, creating a Web Reference to communicate with a web service generates markup that auto-creates a proxy class , which handles the low-level details of invoking the web service, serializing parameters, and so on.

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

IEventHandlerService Already Exists in the Service Container

If you encounter this warning while compiling a Windows Form application in Visual Studio: The service System.Windows.Forms.Design.IEventHandlerService already exists in the service container. Parameter name: serviceType The solution is not very obvious, and the help provides no guidance.  After a little experimenting, I discovered an easy solution: Exit Visual Studio. Open Explorer, and navigate to the folder Related posts: Visual Studio 2008 and .NET 3.5 Service Pack 1 Released Adding Assemblies to the Visual Studio "Add Reference" Dialog Web Service Stumper: “Ambiguous Type”

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz