| .NET Delegates: A C# Bedtime Story |
| Sells Brothers |
| Once upon a time, in a strange land south of here, there was a worker named Peter. He was a diligent worker who would readily accept requests from his boss. However, his boss was a mean, untrusting man who insisted on steady progress reports. Since Peter did not want his boss standing in his office looking over his shoulder, Peter promised to notify his boss whenever his work progressed. |
|
| .NET My Services and Visual Studio .NET |
| MSDN |
| Visual Studio .NET allows you to create .NET My Services clients quickly and easily by handling the actual interaction with the Web Service on your behalf, allowing you to maintain a high-level view of your application and not have to dig down into the actual XML data that's being passed around. In order to appreciate the value that Visual Studio .NET brings to the development process, it helps to take a closer look at the protocols used by .NET My Services and other Web Services, and the costs of handling these protocols manually. |
|
| Ask the DotNetJunkies: Consuming Remote Web Services in ASP.NET |
| DotNetJunkies |
| Is there any way one can call web services remotely? Suppose I have a web service which returns a DataSet. I want to call this web service from another URL and use the returned DataSet to display or enter it into my database. - The .NET Framework has made creating and consuming web services quite easy for developers. Using built in technology you can create a function, declare it as a WebMethod and you have a web service. On the other side of that, consuming web services is just as easy. |
|
| ASP.NET Web Service |
| The Code Project |
| We can now use ASP.NET to create Web Service that is based on industrial standards included XML, SOAP and WSDL. This is a basic introduction to building Web services. |
|
| Asynchronous Command Execution in ADO.NET 2.0 |
| MSDN |
| Get an overview of the new asynchronous execution functionality in ADO.NET 2.0, the scenarios it was developed to enable, plus some of the issues to keep in mind when using this feature. |
|
| Asynchronous Delegates in VB |
| STANDARDIO.ORG |
| My last article demonstrated the basics of using delegates. In this article, I will demonstrate using asynchronous delegates. Calling delegates asynchronously allows your program to continue with other tasks while waiting for the results of the delegate. Asynchronous delegates can be used in two distinct ways: polling and callbacks. To call an asynchronous delegate you create an instance of a delegate and call the BeginInvoke method. The BeginInvoke method returns an IAsychResult object that you can monitor for the delegates completion. When the IAsychResult.IsCompleted property is true, the delegate has completed its task. Call the EndInvoke method to get the delegates output and return values.Here is a simple delegate polling example in a console application: |
|
| Asynchronous Trace Route in C# |
| GotDotNet |
| This is an implementation of tracert in C# using System.Net.Sockets. Comes with a sample Windows Forms app to show how to use it. Lots of properties available (e.g. number of packets & TTL), but can be as simple to use as traceRoute = new TraceRoute(new AsyncCallback(TraceRouteCallBack)); traceRoute.SendTrace(ServerName.Text); Enjoy! - Clay |
|
| Authentication of a Web Service Using Microsoft .NET Passport |
| MSDN |
| This article discusses the issues encountered during the development of the authentication component for the ColdStorage sample Web services |
|
| Avoid This Web Services Gotcha |
| Visual Studio Magazine |
| When they first use Web Services, many developers begin to think of innovative ways to use them in an asynchronous fashion. There is one big "gotcha," however, that most developers will hit the first time they try this. When using with Web Services, you have to realize that when code is executing in your callback, you are likely to be on a different thread than your user interface code. |
|
| Blog Reader Add-In for Visual Studio .NET |
| The Code Project |
| A blog reader, integrated into Visual Studio. Shows a list of blogs, blog entries, and which entries you haven’t read yet |
|
| Building a real-life web-experience : Don´t trip over the threads. |
| DotNetJunkies |
| In my previous contribution I took a look at calling web-services. There I
showed how to asynchronously invoke a web-service from a Windows form. Behind
the scenes the project involved a lot of threading issues. The .NET framework is
very good at handling these but there is one thing I overlooked. In this paper I
will dive deeper into the matter and build build a more complicated service
which serves jpeg pictures. A windows form consumer will make asynchronous invocations
of the web-service to |
|
| C# 2.0: Create Elegant Code with Anonymous Methods, Iterators, and Partial Classes |
| MSDN |
| Take a sneak peek at the most important new language features in C# 2.0, including anonymous methods, iterators, partial classes, and more. |
|
| C# TELNET Client |
| C# Help |
| The telnet application makes use of Callback Function to recieve data from a socket in asyncronous mode. |
|
| Check Your Email With Style - Updated |
| DotNetJunkies |
| Have you ever wanted to write your own POP3 email client? Well now you can with the help of my C# example. This article explains how to use .NET to connect to a POP3 mail server, and the different commands to use with the server to get the results you want. |
|
| COM+ Subscription Viewer |
| The Code Project |
| This sample shows how to retrieve a subscriptions registered in the Event System store using C#. |
|
| Consuming an XML Web Service |
| DotNetJunkies |
| An XML Web Service consumer is an application that invokes the methods of an XML Web Service made available by a provider; the consumer feeds on the data derived from the XML Web Service provider. A consumer application may be another Web application, XML Web Service, Windows desktop application, or any other type of application with access to the XML Web Service using HTTP. |
|
| Consuming an XML Web Service |
| DotNetJunkies |
| An XML Web Service consumer is an application that invokes the methods of an XML Web Service made available by a provider; the consumer feeds on the data derived from the XML Web Service provider. A consumer application may be another Web application, XML Web Service, Windows desktop application, or any other type of application with access to the XML Web Service using HTTP. |
|
| Exploring Delegates |
| C# Corner |
| Delegates are a kind of type safe function pointers which are actually declared as class derived from System.MulticastDelegate. |
|
| How to handle events during a web service call ? |
| The Code Project |
| c#-class that allows to run web service asynchronous to handle events during them |
|
| Improve XML Web Services' Performance by Compressing SOAP |
| DotNetJunkies |
| In this article, Mike covers compression of SOAP messages, using in-memory data compression, that are transferred over a network during an XML Web service request/response cycle. XML/SOAP is a text stream that can be compressed up to 80%, substantially decreasing the amount of data transferred, making this a viable solution in a variety of applications. |
|
| Integrating an HTML returning C# Web Service with our Websites |
| C#Today |
| In this article, Andrew Krowczyk discusses a relatively simple but useful Web Service that fulfills the following scenario. Lets say for example, Yahoo decided to write a Web Service that would allow anyone with a website to integrate a Recent News box into their own site. The data would be generated by Yahoo or its Content Provider, but would add the capability for anyone to encapsulate this piece of functionality into their own site seamlessly. As Andrew shows us, this is quite easy to do using .NET Web Services. |
|
| Interoperating Java, VB6, and .NET Web Services |
| C#Today |
| In this article, Catalin Tomescu illustrates the integration and interoperability of web services. He creates a Tax Calculator web service, which integrates two existing applications: a State Tax Calculator and a Federal Tax Calculator. To further complicate things, the two web services that our tax calculator integrates are built using different technologies the state tax calculator application is built using Apache SOAP for Java and the federal tax calculator application is built using Visual Basic 6.0 and the MS SOAP 2.0 Toolkit. Finally, we see how to call our Tax Calculator web service from a variety of clients - a C# console application, a VB 6 console application, and an ASP.NET web application. |
|
| LCE Subscription Viewer |
| The Code Project |
| Couple years ago I wrote a small utility to retrieve subscriptions registered in the Event System store in LCE COM+ service. This small tool allows me to asynchronously monitor my subscriptions, remove or enable/disable them from the ES store. The tool has been designed and implemented using component technologies such as COM and ATL. To keep in touch new technologies, I spent my last weekend rewriting my tool using a C# and .Net framework to validate my original design concept. |
|
| Receive Notification when a Stream Changes |
| The Code Project |
| Streams are a fundamental part of .NET, but lack the ability to notify the client of changes. NotifyStream and VersionStream attempt to solve this notification problem. |
|
| The Delegate Type in J# |
| MSDN |
| Use the Delegate Type in Microsoft Visual J# .NET to treat methods as data. |
|