microsoft-bits

Using Clickonce Deployment with Background intelligent transfer service

蹲街弑〆低调 提交于 2019-12-02 05:17:19
We are thinking about the deployment and update strategy for a fairly large framework throughout our organization. The application will be in .NET 3.5 and will run on Windows XP, Vista and Win 7 machines. I have used Clickonce few times and it works well for sure. Has anyone thought of, or have implemented the BITS feature of Windows with Clickonce. I feel the trickle upgrade approach of BITS would make the frequent framework updates pretty user friendly. Any help appreciated. The thing is that BITS is used to transfer data in the background, while CLICKONCE is more-or-less a JIT downloader of

Background Intelligent Transfer Service In C#

可紊 提交于 2019-11-29 02:27:52
Anyone successfully using this in c# or is there a better alternative to this? Also any good working project that I can look at and get a good feel? most projects i have come across is in C++ and was looking for a C# project Yes, we're using it in a tool to let customers upload logs, dumps, etc. to our customer support department. You could use it directly via PInvoke/COMInterop, but I suggest to have a look at SharpBITS.NET , which wraps the BITS interface nicely. I'm the PM for the BITS team at Microsoft -- and we have a new docs.microsoft.com page that talks about using BITS and C#, plus a

Background Intelligent Transfer Service In C#

余生颓废 提交于 2019-11-27 16:47:01
问题 Anyone successfully using this in c# or is there a better alternative to this? Also any good working project that I can look at and get a good feel? most projects i have come across is in C++ and was looking for a C# project 回答1: Yes, we're using it in a tool to let customers upload logs, dumps, etc. to our customer support department. You could use it directly via PInvoke/COMInterop, but I suggest to have a look at SharpBITS.NET, which wraps the BITS interface nicely. 回答2: I'm the PM for the

A field initializer cannot reference the non-static field, method, or property

随声附和 提交于 2019-11-27 03:27:12
问题 Following is my code : private BitsManager manager; private const string DisplayName = "Test Job"; public SyncHelper() { manager = new BitsManager(); } BitsJob uploadBitsJob = manager.CreateJob(DisplayName, JobType.Upload); I am getting following error : A field initializer cannot reference the non-static field, method, or property 'BITSIntegrationModule.SyncService.SyncHelper.manager' 回答1: The line BitsJob uploadBitsJob = manager.CreateJob(DisplayName, JobType.Upload); can't access manager