Posts

Transfering a file from one server to another on the intranet on same domain

hello all   i new .net development platform. have following issue. have form in asp.net in user attach photo , excel or word document that i place in location on server different 1 web page hosted. using file upload can file on server web page runnig. stuck when point transfer files different server store file.   both of servers on intranet on same domain. suggests reading or exampoles might explain methods on how this? how transfer files on server other server?   thank much   sincerely   you share location want copy files on target server , copy files over.   daniel roth Archived Forums A-B  >  ASMX Web Services and XML Serialization

Threads in Windows Form Application

hi, i want create thread , use textbox, buttons or case on wondows.form.but when try use in thread errors "cross-thread operation not valid: control 'textbox1' accessed thread other thread created on." check solve problem. http://stackoverflow.com/questions/142003/cross-thread-operation-not-valid-control-accessed-from-a-thread-other-than-the http://stackoverflow.com/questions/6690789/cross-thread-operation-not-valid-control-listbox1-accessed-from-a-thread-ot cheers. peter koueik Visual Studio Languages  ,  .NET Framework  >  Visual C#

How to remove disconnected sockets

i using socket server program accepting more 1000 clients concurrently. there few things 1. client device make connection server. 2. sending data every 10 seconds without disconnection. 3. client device not concerned acknowledgment. sending data every 10 seconds , forget. 4. server knows data format client sending. there few questions...  1. how receive data client without disconnection (unless client disconnects itself)?  2. updating no of clients connected in file. seems no of clients increasing (some time decreasing increase rate higher). how keep connected clients count more accurate? here code... public static manualresetevent alldone = new manualresetevent(false); // private static datatable dtserviceid = general.getallserviceid(); private static int numconnections; private static int disconnected; public static void startlistening() { ipendpoint ipendpoint = new ipendpoint(dns.resolv...

Need help with making a client with SOAP

hi.   i have develop application creates client using soap. made asp.net web service application , put there methods exposed xml of service (actually, far headers, because haven't made client side yet). now, read on net should create console application , implement client. should first use wsdl.exe generate proxy class xml. i'm having trouble doing since address of xml doesn't end in .asmx?wsdl, in "?wsdl". if cut "?wsdl" out, xml can not located. i know after generating proxy class , compiling ,  i should add web reference xml, question is: coudn't add web reference , create client without generating proxy class? understood, proxy class created because don't want alter original xml. there possibility xml not standard - written, unfortunately it's not xml , can't change it.   any ideas how can go through problem? or go around it?   tx.     this means wsdl file (the xml file describes service) missing type definitio...

Powershell error: 'Get-AzureRole' is not recognized as the name of a cmdlet

i trying  get pip information on instances of role using windows powershell as per document - "https://msdn.microsoft.com/library/azure/dn690118.aspx" when execute command in doc in powershell: get-azurerole -servicename ftpinazure -slot production -instancedetails the following error msg pops up: 'get-azurerole' not recognized name of cmdlet. what's wrong? thanks thank morris i installed azure powershell , fixed it. thank morris Microsoft Azure  >  Azure Scripting and Command Line Tools

Synchronous service intermediary in BizTalk

we use biztalk server 2009 service intermediary in synchronous scenarios. today use biztalk message-bus typical asynchronous publish-subscribe scenarios, big success. reason why use biztalk server service intermediary is, give possibility mapping of requests/responses , use broad variety of adapters , of course monitoring using bam. we have made proof-of-concept on synchronous scenarios , works fine, latency in periods of heavy-load isn’t acceptable because of biztalk’s pub/sub architecture, synchronous messages aren’t prioritized. have tried following without success: ·          working send port priority ·          assign synchronous work dedicated host ·          make load-test both small , big files, no differences on result our main problem can’t find way prioritize asynchronous communication on asynchronous. my question now; have experience or best-practices setting / using biztalk in synchronous scenarios? in environments used heavy asynchronous communication in peri...

Problem building blender batch app

hi on win7, 64bit , try build azure batch app blender, based on : https: /github.com/azure/azure-batch-apps.blender it tells me install visual studio (done) microsoft azure batch apps cloud sdk (done) python tools visual studio (done) azure batch apps python client , it's required packages ( problem ) when try build solution several warnings , errors (first 2): warning    1    could not resolve reference. not locate assembly "microsoft.azure.batch.apps.cloud". check make sure assembly exists on disk. if reference required code, may compilation errors.    blender.cloud error    2    the type or namespace name 'azure' not exist in namespace 'microsoft' (are missing assembly reference?)    c:\users\arnd\desktop\blender.cloud\applicationdefinition.cs    31    17    blender.cloud the next 20 errors bascially repeat number...