.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

.NET Matters: Scope and More

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net
 

This month Stephen Toub explains how you can get some of the functionality found in the TransactionScope class in your own classes.

Stephen Toub

MSDN Magazine September 2006




View Complete Post


More Related Resource Links

'Model' cannot be declared in this scope

  

I have a complex partial view (ugly stuff), the view page has this line:- 

<% Html.RenderPartial("PartialIndicatorWeighting", indicator);%>
and inside the ugly partial view I have this,
<td><%: Model.Active %><%: Html.CheckBoxFor(Model => Model.Active)%></td>
I'm trying to display a list of checboxes to show if the item is active or not, I get the following error:-
 
A local variable named 'Model' cannot be 

.NET Matters: Aggregating Exceptions

  

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.

Stephen Toub

MSDN Magazine August 2009


.NET Matters: Parallelizing Operations With Dependencies

  

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.

Stephen Toub

MSDN Magazine April 2009


.NET Matters: Ordered Execution With ThreadPool

  

This month we demonstrate how you can use the ThreadPool to support ordered execution without having to build custom thread pools yourself.

Stephen Toub

MSDN Magazine February 2009


Net Matters: Round-Robin Access To The ThreadPool

  

Stephen Toub shows you how to add round-robin scheduling support on top of the ThreadPool for more granular processing control.

Stephen Toub

MSDN Magazine January 2009


.NET Matters: False Sharing

  

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


.NET Matters: Asynchronous I/O with WebClient

  

In this month's installment of .NET Matters, columnist Stephen Toub answers reader questions concerning asynchronous I/O .

Stephen Toub

MSDN Magazine July 2008


.NET Matters: Asynchronous Stream Processing

  

This month Stephen Toub discusses asynchronous stream processing.

Stephen Toub

MSDN Magazine March 2008


.NET Matters: Stream Pipeline

  

This month Stephen Toub explains how to make the most of dual processors when running encryption and compression tasks.

Stephen Toub

MSDN Magazine February 2008


.NET Matters: IFileOperation in Windows Vista

  

The author creates a managed wrapper to use the new IFileOperations interface in Windows Vista from managed code.

Stephen Toub

MSDN Magazine December 2007


.NET Matters: Debugging finalizers

  

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.

Stephen Toub

MSDN Magazine November 2007


.NET Matters: Deadlock monitor

  

This month Stephen Toub discusses deadlocks that can occur when synchronizing threads.

Stephen Toub

MSDN Magazine October 2007


.NET Matters: Tales from the CryptoRandom

  

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


.NET Matters: Handling Messages in Console Apps

  

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.

Stephen Toub

MSDN Magazine June 2007


.NET Matters: Restart Manager and Generic Method Compilation

  

This month Stephen Toub answers questions pertaining to the Windows Vista Restart Manager API and generic method compilation.

Stephen Toub

MSDN Magazine April 2007


.NET Matters: Deserialization Progress, and More

  

Build a standard progress bar that indicates how much deserialization has completed and how much still remains. Plus, System.Collection.Generics performance.

Stephen Toub

MSDN Magazine December 2006


.NET Matters: Event Accessors

  

Creating events on classes by adding the event keyword to a delegate member variable declaration.

Stephen Toub

MSDN Magazine November 2006


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend