Posts

how to retry a backgroundworker

hi, i have application uses backgroundworker downloads lot of data database, in order keep main form responsive. bgw can raise timeout exception: in case want stop bgw , want retry bgw until execution performed , finished without exception raised. in meanwhile - - main window must responsive, can't use cycle in main thread. can me? thank you bgw.runworkercompleted += (s, e) => { if (e.error != null) { console.writeline(e.error); bgw.runworkerasync(); } }; if not handle exception in dowork event, bgw assign exception error property. in runworkercompleted event, can check e.error property. if exception occurs, reset backgroud worker , run again. one more thing should uncheck enable c...

Architecture...

hi    i have 1 doubt..   our application windows based .net 2.0 application.. has centralised database can accesed inside company.   now our clients wants next version devoloped supports globally. ie., our application running in many parts of country or accross countries too. (databse common users)   they have propsed design in .net2.0 , sql server.. (windows application only)   my role design architecture design   can 1 suggest design this.. have no idea on soa.. soa used these kind of projects   regards rajesh rajesh;   based on have said , requirements know, go soa architecture. remember soa enables delivery of new generation of dynamic applications , architectural design pattern concerns defining loosely-coupled relationships between producers , consumers.   i separate design multiple tiers, i.e., dal on database, business logic/rules/processes on middle tier, rich/web clients on front, etc. also, during design of business logic/rules/process...

Azure - Extra App pools and web sites

Image
hello, i have basic iaas sharepoint web front end built in azure. i have noticed additional application pools , web sites in iis - don't know or how got there. there dlls related wssg. having 6 app pools seems unreasonable overhead. this? marcel hello marcel, thank posting here! i not sure why dll files created. might related third party tools or extensions, have been installed in system. we researching on query our backend team , hence revert once there response backend team. regards, swikruti if post answers question, please click mark answer on post , vote helpful. Microsoft Azure  >  Azure API Management

Catalog Import Adapter

hi, want use catalog adapter make changes products price. need in import message accomplish this? - < mscommercecatalogcollection2 version =" 1.0 " > < catalog name =" "adventure works catalog" " > < product id =" aw1000 " listprice =" 71 " /> </ catalog > </ mscommercecatalogcollection2 > fixed Commerce Server  >  Commerce Server 2007

where is "Add Component"?

i beginner of c#.this 1 step of c# exercise: in exercise, create component represents doughnut making machine. class create , manage instances of doughnut class , expose collection of doughnuts. in addition, implement member events inform containing component when doughnut ready. to create doughnutmachine component from project menu, choose add component. add new item window appears. name component doughnutmachine.cs appropriate, , click ok. the component designer opens. i can't find "add component",and view when click project: so "add component"?how can add component? there several different ways add new component, depending upon project type.  windows forms project can right-click project in solution explorer, select add -> component.  alternatively right-click project in solution explorer , select add -> new item , scan down , select component class in new items dialog.  either way puts in add new item dialog component class selecte...

C#: how to detect window application is running and not launch the same application again?

we have winform application (.net framework 3.5). sometime winform application is running in calling hide(); if user click on ~.exe again, need know if winform application running, if so, 1) should not launch application again. 2) , should show running winform hide() show(). how achieve that? thx! janec single instance application implementation been described here by  scott  and it's easy follow. please click "mark answer" if serve purpose.\n regards, nairs Visual Studio Languages  ,  .NET Framework  >  Visual C#

Auditing CRM Response

hey folks, have biztalk 2009 implementation import batches of records wcf-sql adapter , map them crm records using crm adapter.  have auditing capabilities combine results of each response message crm 1 or more fields either original sql message or crm request message.  far have built our implementation without orchestrations and, if possible, keep way incur less overhead. thinking of promoting fields need source side, retrieving , adding them somehow response message, possibly via custom pipeline.  possible?  use two-way send port send , retrieve crm data, context appears lost time response comes back. missing easy , obvious?  there suggestions, or links solid references figure out? or advice appreciated! hi, the epm:correlation context property ties the request , response each message. (guid).  use it in custom pipeline component write response database auditing of hl7 messages (associates ack/nack message sent partner)...