This month: memory access issues in multi-core systems and diagnosing and avoiding false sharing in your parallel computing applications.
Stephen Toub, Igor Ostrovsky, and Huseyin Yildiz
MSDN Magazine October 2008
View Complete Post
Crosspost from RIA Services forum: http://forums.silverlight.net/forums/t/196466.aspx
I'm creating a Dynamic Data application in VS2010 and have recently
switched to using a Domain Service to give greater control over the
data presented to the client. I've noticed that the
AutoGenerate<Action>Button attributes on my GridView are being
ignored. The presence of the Edit and Delete buttons appear to be
contingent on the existence of Update and Delete methods on the partial
classes autogenerated in the Domain Service, but i'm not seeing how to
control the generation of the Select button. Is there a way to control this from
within the Domain Service class?
I have two web applications:
1. http://www.mysite.com - primary app running at the root of the web server
2. http://www.mysite.com/second_app - running in a virtual directory
At user authentication, I'm using FormsAuthenticationTicket to set up authentication cookies. Is it possible to share the same cookie for both the apps?
Any help would be much appreciated.
We are considering to use unity container in fairly big application. Having learned ins and outs of unity I found most examples on microsoft site creates contains in a using clause such as
using(IUnityContainer container = new UnityContainer())
Ideally, we want to use "container" object across application not just one place. I would like to ask community here who have used unity in their applications how would you share "container" across projects in a solution. From the fact that "container" should be disposed as soon as you use it, if doing so would not make "container" available in the whole solution.
What pattern should be used to create container and disposing and make it available across solution?
Does keeping "container" alive for long time hit performance of the application?
We've updated some of our projects from VS2008 to VS2010. When these projects are deployed the w3svc is restarted on the target machine, even when restartwwwservice = false in the vdproj file.
This was a problem in 2008 until SP1 (http://forums.asp.net/p/1300097/2534736.aspx). Does this same problem exist in VS2010?
This is a major problem for us - we need to be able to deploy projects without restarting IIS.
I've tried creating a new web deployment package and setting the restartWWWService field to false, but this still does a restart when it's installed.
Has anyone come across this problem in VS2010?
Exceptions in .NET are the fundamental mechanism by which errors and other exceptional conditions are communicated. This month's column provides information about how to aggregate exceptions to help manage a variety of scenarios in which multiple exceptions might result from one operation, including scenarios involving parallelism and concurrency.
MSDN Magazine August 2009
In this month's installment, Stephen Toub examines some techniques for enforcing dependencies in the running order of asynchronous operations and builds a DependencyManagement class to help.
MSDN Magazine April 2009
This month we demonstrate how you can use the ThreadPool to support ordered execution without having to build custom thread pools yourself.
MSDN Magazine February 2009
Stephen Toub shows you how to add round-robin scheduling support on top of the ThreadPool for more granular processing control.
MSDN Magazine January 2009
Learn how you can peer-enable business applications by allowing them to share state in a serverless peer network.
MSDN Magazine July 2008
In this month's installment of .NET Matters, columnist Stephen Toub answers reader questions concerning asynchronous I/O .
This month Stephen Toub discusses asynchronous stream processing.
MSDN Magazine March 2008
This month Stephen Toub explains how to make the most of dual processors when running encryption and compression tasks.
MSDN Magazine February 2008
The author creates a managed wrapper to use the new IFileOperations interface in Windows Vista from managed code.
MSDN Magazine December 2007
Find out how to use finalizers as a way to warn developers who use your custom types when they are garbage collected without having been disposed of correctly.
MSDN Magazine November 2007
This month Stephen Toub discusses deadlocks that can occur when synchronizing threads.
MSDN Magazine October 2007
Stephen Toub and Shawn Farkas discuss creating an adapter that takes the functionality of RNGCryptoServiceProvider and adapts it to the interface of Random.
Stephen Toub and Shawn Farkas
MSDN Magazine September 2007
Many developers who use the Microsoft .NET Framework think that application type is tied to the libraries that can be used in that application. Stephen Toub clarifies.
MSDN Magazine June 2007