|
|
|
|
|
Total Hits: 18 | Today: 0
|
Author: mikeperetz
|
Rating:
|
|

This article is the last part of the three part series on SynchronizationContext. SynchronizationContext is a class introduced by .NET 2.0 with little documentation or explanation of how to use it. I have tried to explain in part one how to use this class, and in part two, how to create your own SynchronizationContext. In part two, I showed how to build a SynchronizationContext that will marshal code from any .NET thread into a STA thread. I have done this so I can execute COM code that needs to...
|
|
|
|
Total Hits: 17 | Today: 1
|
Author: mikeperetz
|
Rating:
|
|

In part one, I explained the role of SynchronizationContext within the .NET framework 2.0. It is mostly used to allow threads to communicate with the UI thread. We have learned in part one that the SynchronizationContext by itself does nothing to marshal code between threads; in fact, this class should be an abstract class. The .NET framework provided us a version of this class to marshal code into the UI thread, but what about coding your own version of SynchronizationContext to do something el...
|
|
|
|
Total Hits: 26 | Today: 0
|
Author: mikeperetz
|
Rating:
|
|

I don't know why, but there is really not much information about this new class within the .NET Framework. The MSDN documentation contains very little information on how to use SynchronizationContext. Initially, I must say that I had a hard time understanding the reason for this new class and how to use it. After reading a lot on the subject, I finally understood the purpose of this class and how it should be used. I decided to write this article to help other developers understand how to use th...
|
|
|
|
Total Hits: 38 | Today: 0
|
Author: webmaster
|
Rating:
|
|

So you are designing a web application and you finally get to version 1.0 and deploy it to your server. As with most projects, you’re not anywhere close to being completely done now are you? One of the most dreaded tasks of any developer is updated your applications SQL tables and stored procedures on your live server to get it up to speed with the latest build. Not only is it a frustrating to create these scripts, once deployed the threat of bugs in your script can haunt you (ok haunt maybe be ...
|
|
|
|
Total Hits: 45 | Today: 0
|
Author: mikeperetz
|
Rating:
|
|

I don't know why, but there is really not much information about this new class within the .NET framework. The MSDN documentation contains very little information on how to use SyncrhronizationContext. Initially, I must say that I had a hard time understanding the reason for this new class and how to use it. After reading a lot on the subject, I finally understood the purpose of this class and how it should be used. I decided to write this article to help other developers understand how to use t...
|
|
|
|
Total Hits: 105 | Today: 0
|
Author: Mark Nischalke
|
Rating:
|
|

Windows SharePoint Services (WSS) and Microsoft Office SharePoint Server (MOSS) are great tools for providing useful information and analysis of that information. One of the basic components for making this information visible to end users is the List. These lists can then be used to form different views of the data, filtered by specified criteria to focus on essential information. MOSS can also use these lists as the basis for creating Key Performance Indicators (KPI)....
|
|
|
|
Total Hits: 81 | Today: 0
|
Author: Narayana Vyas Kondreddi
|
Rating:
|
|

In a previous review, I looked at SwisSQL SQLOne Console from AdventNet, that converts SQL statements from one SQL dialect to another. That's a generic SQL Converter and supports conversion to and from Microsoft SQL Server, Sybase, Oracle, IBM DB2, Informix, MySQL, PostgreSQL and ANSI SQL. Now it's time to review yet another migration related product from AdventNet. It is called "AdventNet SwisSQL Sybase to SQL Server Migration Tool 2.1". As the name suggests, this migration product automates th...
|
|
|
|
Total Hits: 100 | Today: 0
|
Author: David Burgett
|
Rating:
|
|

Performance is an important concern for any application, but becomes critical when the app is a Web Service accessed by thousands of clients simultaneously. One hardware approach to distributing Web Services requests evenly is a Web farm consisting of multiple servers. Once on a Web farm, Web Service performance can be improved by using ADO.NET DataSet objects to cache frequently accessed data, reducing round-trips to the database. Here the author describes data caching in a Web farm environment...
|
|
|
|
Total Hits: 87 | Today: 1
|
Author: Ted Pattison
|
Rating:
|
|

My last three Basic Instincts columns have examined techniques for using asynchronous delegates and creating secondary threads. Those columns demonstrated how to introduce multithreaded behavior into your applications. In this month's column, I am going to discuss the need for thread synchronization and introduce the fundamentals of writing thread-safe code. After all, I've already shown how you can get into trouble by getting your code to run on multiple threads at once. Now, I feel obligated t...
|
|
|
|
Total Hits: 76 | Today: 0
|
Author: Spencer Ruport
|
Rating:
|
|

With the days of the single cored processor drawing to a close and users demanding more robust user interfaces by the day, knowledge of multi-threaded programming techniques is quickly becoming a requirement of any competitive application developer. The code compiles just fine, and depending on how lucky you are it might even execute properly once or twice. But, keep pressing your luck and sooner or later you'll receive an error. Eventually a context switch will happen at just the wrong moment r...
|
|
|
|
Total Hits: 77 | Today: 1
|
Author: Jeffrey Richter
|
Rating:
|
|

By far, the most common use of thread synchronization is to ensure mutually exclusive access to a shared resource by multiple threads. In the Win32® API, the CRITICAL_SECTION structure and associated functions offers the fastest and most efficient way to synchronize threads for mutually exclusive access when the threads are all running in a single process. The Microsoft® .NET Framework doesn't expose a CRITICAL_SECTION structure, but it does offer a similar mechanism allowing mutually exclusive ...
|
|
|
|
Total Hits: 66 | Today: 1
|
Author: Robert Saccone and Alexander Taskov
|
Rating:
|
|

Windows Vista ships with a raft of new and exciting technologies for developers, including Windows® Presentation Foundation, Windows Communication Foundation, and Windows Workflow Foundation. In fact, Windows Vista™ has introduced so many new .NET-friendly technologies that it is easy to overlook all the new features and functionalities that native C/C++ developers can put to work in their apps. In this article, we discuss some of the new capabilities in Windows Vista that impact native C/C++...
|
|
|
|
|
|