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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Best approach to handle concurrent requests in winforms

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :.NET Framework
 
I have a windows client application which would be used many users. This application submit requests to run a workflow (note that this is not a WWF or WCF service, its a class library thats gonna do some processing). What would be the best approach to code this? Would processing each request on a separate thread be a correct way? I am a newbie at this. PLease help. Thanks!


View Complete Post


More Related Resource Links

Best approach to handle concurrent requests in winforms

  
I have a windows client application which would be used many users. This application submit requests to run a workflow (note that this is not a WWF or WCF service, its a class library thats gonna do some processing). What would be the best approach to code this? Would processing each request on a separate thread be a correct way? I am a newbie at this. PLease help. Thanks!   

ewa refresh succeeds, but fails with multiple concurrent requests

  

we have about 30 excel web access web parts spread across 6 pages.  they all connect to ssas using windows authentication, and they all work fine.

we have a user that wants to set his browser to open the 6 pages on 6 tabs as his "home" tab arrangement.  so when he launches his browser, all 6 pages open simultaneously.  all of the ewa web parts give the error:

"An error has occurred trying to perform the requested action. Please try again."

when i check the logs, i don't see any exceptions.  i just see the messages below. i have set the "maximum concurrent queries per session" for the trusted file location to 1000.  i've tried changing various other settings in the excel services config.  i have no idea what else to try based on this information:

 

 

10/03/2010 19:19:30.98 	w3wp.exe (0x0AB0)            	0x1160	Excel Services Application  	Excel Calculation Services  	6v6o	Assert 	(0): location: (0) condition:  StackTrace: at Microsoft.Office.Server.Native.dll: (sig=35b73ac2-5d4b-41d9-b101-286fc6f53dd5|2|microsoft.office.server.native.pdb, offset=203FD) at Microsoft.Office.Server.Native.dll: (offset=20959) at xlsrv.dll: (sig=ae42e7c5-84bd-429e-bec2-0fdd9dad3ee7|2|xlsrv.pdb, offset=4C58E8) at xlsrv.dll: (offset=33

Concurrent requests WCF + net.tcp

  

Greetings,

we are using the WCF service and hosted using a console application, now we are using LoadRunner and hitting it concurrently

Where giving 50 hits at a time few requests (26) gets completed successfully and remaining gives error TCP error code 10061: No connection could be made because the target machine actively refused it.

Any help is appreciated.


SDLC Approach or Software Development Life Cycle

  
SDLC process stats from conception to completion of any software project. According to this approach the software development team is responsible for the whole project development life cycle. After doing SRS and requirements analysis; developers follow different models of Software development Life Cycle (SDLC) available, while the most common model is SDLC waterfall model. They divide project in different stages & phases and the output of each stage or phase becomes the input for next stage.

Application Architecture: An N-Tier Approach - Part 1

  
Introduction

Free Trial: SQL Backup Pro
Sponsored by Red Gate
Exceptional DBAs make the most of their office hours. That's why they love Red Gate SQL Backup Pro. Its faster, smaller, secure SQL Server backups mean more time spare to accomplish more tasks and professional training. Make time to be an Exceptional DBA. Download it now! »


Free Trial: SQL Toolbelt
Sponsored by Red Gate
The SQL Toolbelt is a set of twelve powerful and intuitive tools that will help you burn through SQL Server chores with astonishing speed and accuracy. Download it now! »


Download: SQL Backup Evaluation Center
Sponsored by Red Gate
Download the T-SQL scripts in the SQL Backup Evaluation Center to compare Red Gate SQL Backup Pro's compressed backups with the size of backups created using native SQL Server. Download it now! »



MARKETPLACE
Autodesk Inventor®
Go Beyond 3D To Digital Prototyping With Autodesk Inventor. Learn How.
Autodesk.com/Beyond-3d
Virtualization Solutions
Optimize, Simplify, & Save Today. Learn About Microsoft Solutions.
www.microsoft.com
Microsoft SQL Server® 2008 - Free Trial
Download the Free 180-day Trial of SQL Server® 2008 Enterprise Edition!
www.Microsoft.com/SQLServer
Hot Careers in Internet Marketing
Get prepared for your new career with online degrees from Full Sail University!
www.FullSail.edu
Microsoft Te

Entity Framework 4 Tips for WinForms Development

  
I've been recently working on a smart client (WinForms) application backed by Entitiy Framework 4 (EF4) on Visual Studio 2010. In this blog post I will try to give you some tips regarding some limitations and points to be careful about EF4.

Concurrent Affairs: Data-Parallel Patterns and PLINQ

  

Multicore processors are now ubiquitous on mainstream desktop computers, but applications that use their full potential are still difficult to write. Version 4 of the .NET Framework will deliver several tools that programmers can employ to make this task easier. This article explores the use of one of those tools: Parallel LINQ (PLINQ).

Igor Ostrovsky

MSDN Magazine December 2009


Concurrent Affairs: Four Ways to Use the Concurrency Runtime in Your C++ Projects

  

This article describes how to integrate the new parallel computing libraries in the Visual Studio 2010 Beta into existing C++ projects. Based on four common scenarios, the column explains a few of the ways developers can use the APIs and classes that are part of the Parallel Pattern Library (PPL), Asynchronous Agents Library, and Concurrency Runtime.

Rick Molloy

MSDN Magazine October 2009


Concurrent Affairs: Solving The Dining Philosophers Problem With Asynchronous Agents

  

We use the new Asynchronous Agents Library in Visual C++ 2010 to solve the classic Dining Philosophers concurrency problem.

Rick Molloy

MSDN Magazine June 2009


Geneva Framework: A Better Approach For Building Claims-Based WCF Services

  

Here we introduce Microsoft Code Name "Geneva," the new framework for building claims-based applications and services, and federated security scenarios.

Michele Leroux Bustamante

MSDN Magazine December 2008


Easy Async: Build Concurrent Apps From Simple F# Expressions

  

In this article, the author explores how the F# language helps you create asynchronous function libraries that can be called seamlessly from any other .NET-compliant language.

Chance Coble

MSDN Magazine October 2008


Concurrent Affairs: More AsyncEnumerator Features

  

Jeffrey Richter shows you some additional cool features of his AsyncEnumerator class.

Jeffrey Richter

MSDN Magazine August 2008


Transactions: Build Scalable Systems That Handle Failure Without Losing Data

  

Systems that handle failure without losing data are elusive. Learn how to achieve systems that are both scalable and robust.

Udi Dahan

MSDN Magazine July 2008


Concurrent Affairs: Simplified APM with the AsyncEnumerator

  

Here Jeffrey Richter introduces his AsyncEnumerator class, which drives an iterator so that different thread pool threads can execute the same code at different times.

Jeffrey Richter

MSDN Magazine June 2008


Concurrent Affairs: Simplified APM with C#

  

Jeffrey Richter introduces his AsyncEnumerator class and explains how it harnesses some recent additions to the C# programming language that make working with the asynchronous programming model significantly easier.

Jeffrey Richter

MSDN Magazine November 2007


Concurrent Affairs: Asynchronous Device Operations

  

Jeff Richter uses the AsyncResult class to implement the CLR's Asynchronous Programming Model to perform hardware device operations asynchronously.

Jeffrey Richter

MSDN Magazine June 2007


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