Geeks With Blogs
Blog Moved to http://podwysocki.codebetter.com/ Blog Moved to http://podwysocki.codebetter.com/ Background Intelligent Transfer Service
Day 10 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you In the previous installment, I actually gave the source code which is available if you go to the Day 9 post. Anyhow, what we're going to cover today is setting up your IIS to allow for BITS upload functionality. Several things must be done in order for uploads to be supported on your machine. First, we need to install the BITS Extensions for IIS. In order to do so, you must do the following: Go to Add/Remove ......

Posted On Sunday, June 18, 2006 8:05 PM

Day 9 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you Well, I was having troubles connecting to CVS on my Managed BITS Sourceforge Project over my VPC, so while I figure it out, I decided to upload the source code plus binaries to SaveFile for the time being. Let me know if you have any questions or problems regarding this. Now that I got that out of the way, let's get back to where we left off. In the previous lesson, we talked about implementing the IBackgroundCopyCallback ......

Posted On Thursday, June 8, 2006 3:34 PM

Day 8 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you Well, I finally managed to get a spot for the Managed BITS Wrapper on SourceForge.net. I have not uploaded any files just yet, as I am cleaning up one or two things as well as trying to add some test cases to it. I will let people know when I actually have a release out there available. The first available release will be in Managed C++ and then the second release will be in C++/CLI. I left off last time looking ......

Posted On Friday, June 2, 2006 11:44 AM

Day 7 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you In previous days, I discussed the methods and properties to be implemented with the BITS wrapper BackgroundCopyJob. Let's go over some of them today. Let's start off with the IDisposable pattern which must be implemented when using these unmanaged objects. Here is the simple implementation required: // BackgroundCopyJob finalizer Podwysocki::Services::Backg... ......

Posted On Friday, May 26, 2006 12:01 PM

Day 6 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
UPDATE: See Day 9 of the Background Intelligent Transfer Service (BITS) Managed Wrapper for the source code plus binaries. In previous lessons, I covered the BackgroundCopyManager and how I wrapped the IBackgroundCopyManager in Managed C++. Today, I'll go a step further to look at the BackgroundCopyJob wrapped class. The BackgroundCopyJob wraps the following interfaces: * IBackgroundCopyJob * IBackgroundCopyJob2 * IBackgroundCopyJob3 As we are dealing with unmanaged types, we must also take into ......

Posted On Wednesday, May 24, 2006 6:47 PM

Day 5 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you Sorry about the delay about getting back to this, but I have been rebuilding a clean build environment for this tool for both Visual Studio 2003 and Visual Studio 2005 which required a little bit of work. I'm in the process of getting some sort of hosting so that I can share the source code, but if you need or want it in the mean time, please do not hesitate to contact me. Anyhow, we left off with the total ......

Posted On Monday, May 15, 2006 3:08 PM

Day 4 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
UPDATE: See Day 9 of the Background Intelligent Transfer Service (BITS) Managed Wrapper for the source code plus binaries. In previous lessons, I laid out the basic API for BITS. Now I think it's time for us to start doing the actual planning on how to wrap this API. Let's start by mapping out the BITS types and then creating our own wrapped types. Below, I have a table of those native types and what the wrapped types will be: Enumerations Unmanaged BITS Type Wrapped Type BG_AUTH_SCHEME AuthenticationScheme ......

Posted On Wednesday, May 10, 2006 7:37 AM

Day 3 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you In the previous lesson, I left off with the basic understanding of the IBackgroundCopyManager. Today, we're going to dive a little deeper into what exactly the IBackgroundCopyManager creates, the IBackgroundCopyJob. There are many methods in the IBackgroundCopyJob and so much so that it's really difficult to talk about each one in detail. As the versions of BITS evolved, more interfaces were added to support ......

Posted On Wednesday, May 10, 2006 7:34 AM

Day 2 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you In my previous lesson, I gave a brief overview of the Background Intelligent Transfer Service. Today we will dig a bit deeper into some of the API as well as give reasons why I chose Managed C++ over a C# implementation. First off, there was plenty of reading to do from the last time. If you want to read more about the uses of BITS as well as the key technologies behind it, please check out this link: http://msdn.microsoft.com/l... ......

Posted On Wednesday, May 10, 2006 7:33 AM

Day 1 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Update: Put a comment in if you want the C# version of this code and I will get it to you A large client of mine wanted an automated way of delivery large files picture files throughout their network. After listening to their initial solution of FTP, I realized after some research that the Background Intelligent Transfer Service (BITS) would be a good alternative. I could programatically use BITS to transfer files automatically to the other computer using upload job types. BITS has an advantage over ......

Posted On Tuesday, May 9, 2006 12:47 PM

Copyright © Matthew Podwysocki | Powered by: GeeksWithBlogs.net