The third part of the Parallel Programming in .NET tutorial examines the parallel ForEach loop. This iterates through the items in a collection, executing the same code for each with the potential for the data to be decomposed and processed in parallel.
Tag: Development
Emitting Exceptions from LINQ to SQL classes in ASP.NET MVC Validation Summary
(Bipin Joshi) Recently while developing a sample application in ASP.NET MVC, I came across a peculiar situation. There was a LINQ to SQL class with several extensibility methods defined (OnXXXXChanging kind of methods where XXXX is the name of a property).
Manage Pages Across the Web Site from One Location
(Peter Vogel) Sometimes there is some processing that needs to be added to every page on the site. For instance, I had a client who wanted to add code to every WebForm’s PreInit event to set Page’s Theme property dynamically. Changing every PreInit event in every page sounded like the definition of
Few important tips that you should know while using ASP.NET Session
(Abhijit Jana) While working with ASP.NET web application you must be familiar with one of most important state management technique “Session”.
Treating User Interface (UI) Widgets Like Finite State Machines
(Ben Nadel) Lately, I’ve been thinking a lot about JavaScript-heavy, thick-client applications and Finite State Machines. I’ve seen the way that Finite State Machines can take a large, complex tasks and break it down into smaller, much more manageable states.
General Event Handling in .NET
(Zoran Horvat) This article continues the analysis by posing a very high goal – attempting to subscribe handlers to events which are completely unknown at compile time. As will be shown, CLR does not support such intentions and specific approach must be employed to solve the problem.
Using The JQuery Tooltip Plugin in a GridView
(junnark) You want a little pop-up window to show additional information when you hover over a field on the gridview. The example below shows information about the respective related table (foreign key) when you hover over the link.
Insider: Design Patterns and Dynamic Runtime Configuration
(Peter Vogel) On a couple of occasions I’ve used Reflection to load classes at runtime rather than add references to those classes at design time. I won’t say that it’s made my applications easier to deploy, but I think that dynamic loading falls naturally out of object-oriented design principles.
Delete Functionality in GridView with Confirmation using JQuery UI Dialog
(junnark) You’re using a GridView web control to list records from a particular data source and you want a delete functionality for each row of data. A dialog must be presented to the user to confirm deletion. There’s also a possibility of error when deleting a record from your data source and you a
Creating Basic RSS Reader in ASP.NET MVC 3
(Jalpesh P. Vadgama) In this post I am going to explain you how we can create a basic RSS Reader with the help of Linq-To-Xml and ASP.NET MVC3 Razor. Those who are writing or reading Blogs already knows what is RSS Reader. But those who does not know What is RSS. Below is the definition for RSS as
