file upload using WPF client - file-upload

I have a WPF client application. Through which I want to upload a file to my web server.
How to do that?

WebClient.UploadFile is the way to go in your case. Sample code is provided in the MSDN article (both for C# and VB.NET).

Related

Process Dropbox folders and files from an external app

I'd like to automate a process whereby a client can place lots of files into Dropbox, and then I can read all the files from Dropbox and create database entries for each file/folder within the client's CMS. The CMS is a C# .NET MVC app with lots of client-side javascript. What are my options for tapping into Dropbox from either C# or javascript? Has anyone integrated a C# web app with Dropbox in this way? Can I use the REST api from C# or js?
If this works I'd like to automate the process for many clients, and make Dropbox an integral part of the CMS.
Thanks.
Yes, you can use the REST API from C# and it's the best way to go; you kind of answered yourself.

vb.net - control my windowsform application ALSO via web

I should like to control my old vb.net application also via web.
I should like to duplicate few labels/texts and few buttons/checkbox to control some parameters, simply connecting with a browser to a web page. (Not with Ultravnc or similar)
So, Adding a web interface at the existing project.
I'm note able to find the method to follow.
Can you help me?
Thank you
It sounds like you want to create a VB.net web project.
You'll need to create a new web project for that. You should also factor out any business logic into a separate assembly so it can be used by both the winforms and web application.
You can make connection between your desktop application and web application with this code.

Downloading a file from a SQL Database using Silverlight

I'm trying to develop a Silverlight application that will download a specified file from a SQL database. I'm aware Silverlight can not do this independently, so I am wondering as to what the best way to accomplish this is.
The website that the Silverlight app will run on is asp.net with C# code behind.
Thank you.
An easy way would be to run a web application or service to grab the data. You could have the Silverlight application query the web app for the needed data which would trigger the app to query the database. You would program the web app to return the data in whatever format you needed, JSON, XML, etc.
One way to do this would be to write a simple Asp.Net Handler. The other would be to expose the download functionality via a WCF Service. If this download functionality would be implemented as WCF Rest Service, even non WCF Clients would be able to download the file.

SharePoint WCF service to upload doc

Is it possible to create a WCF client to upload file (doc) to Sharepoint?
My problem, I can upload file to SharePoint use list asmx web service, but it conflict with Oracle.DataAccess.dll on Windows 7 64 bit. So I am thinking if there is any way to do it without web reference.
Thank you
Wes
Uploading document can be achieved using a simple http PUT request

Is any way to upload image to the webserver using silverlight without using WCF Service

i have a doubt is there any possibilities to upload a image into the web server using silverlight 4.0 and without using wcf Service....
my Question is I want to upload a image into the webserver using silverlight not using WCF....
try this:
http://silverlightfileupld.codeplex.com/
Differences from other upload controls
Fast! Does not use webservices to
upload the file