Browse by Tags

Tagged Content List
  • Blog Post: Process Creation and Coordination

    In some previous posts ( Out of Process IPC/TCP Remoting code , .Net Remoting (AppDomains, Out of Process, Two Way, etc.. ) ) I showed some sample code using .Net remoting over a process boundary. As a result, I received a few questions about the process creation and how to handle the process coordination...
  • Blog Post: Extensibility; Clients and Services calling each other

    In this post I will be showing sample code (also found on our CodePlex site ) as well as an execution sequence diagram. I will show sample code addressing some frequently asked questions; A Host calling AddIn services, AddIns calling (aka. Automation) a Host, AddIns calling AddIns, Managing AddIns (utilizing...
  • Blog Post: You asked for it (AddIn pipeline generator)

    After all, our job is to make your life easier. I have received a *lot* of requests for a tool that can generate the Add-In pipeline segments. Ever since we mistakenly left comments in our MSDN articles code about the pipeline source being machine generated, some of you noticed that we may have been...
  • Blog Post: Winforms, WPF and AppDomain isolation

    We just posted a solution to consider for the F.A.Q. of how to enable isolatable WinForms applications. Check out this link . This solution may be considered relative to my previous post and subsequent comments. Note that WPF startup performance costs may be mitigated by applying the [LoaderOptimization...
  • Blog Post: TechEd 2007 F.A.Q.

    Hola! I just returned from TechEd 2007 held in Barcelona, Spain. Barcelona is a beautiful city with incredible new and old architecture. The people are very friendly and even I was able to navigate the clean public transportation systems. Yes, I am one of those people that get lost easily and never...
  • Blog Post: .Net framework source code released

    Recently I was speaking to a group of ISV's and Enterprise partners and as we spoke about the continued transparency of Microsoft, I vaguely mentioned more is coming. Well, here it is. ScottGu's blog post goes into the details of opening up our framework source code to the developer community. Enjoy...
  • Blog Post: Enumerating AppDomains

    Recently I was writing a sample app showing some new MAF (Managed Add-In Framework) features that will be released very soon. Stay tuned. As I was showing isolation and unload-ability, I wanted to enumerate the AppDomain's in the current process. Surprisingly there is no managed API in the BCL to...
  • Blog Post: Out of Process IPC/TCP Remoting code

    Click this link for a description of the source code I have attached the VS solutions in the file : SourceSolution.zip View Source: Show Code ... HostApp project – RemotingSamples Program.cs using System; using System.Collections.Generic; using System.Text; // RemotingServices...
  • Blog Post: .Net Remoting (AppDomains, Out of Process, Two Way, etc..)

    I previously wrote about bi-directional remoting over IPC (see .Net Remoting continued and .Net Remoting ). Several people asked for complete sample code. Ok, the squeaky wheel gets the attention. This could be an indication of my poor writing skills ;-) or the difficulty in figuring out remoting, or...
  • Blog Post: Secret revealed

    In a previous post ( Extra, Extra – Read all about it! ) I mentioned an upcoming highly requested feature. Well, it’s here. Last night we released the Visual Studio, code name “Orcas” March 2007 CTP. In this release you will find a number of VS, Language, and Platform features. And the System AddIn library...
  • Blog Post: .Net Remoting continued

    After several frustrating hours troubleshooting issues with objects flowing in both directions (i.e., From Client to Sever and vice versa), I have some more information that may help you. This information is a continuation of the previous post on the subject found here . In my previous posting...
  • Blog Post: .Net Remoting

    I was recently writing some code that was simulating a Client application calling into a Server application across a process boundary. That is, the Client and Server application were running in different processes. I was prototyping some code where the Client was invoking a member on a MarshalByRef object...
  • Blog Post: PInvoke, InterOp and Portability

    I want to thank Josh Williams from the CLR team, for pointing out a couple bugs in my sample code. The bugs were related to some missing IntPtr’s for portability. For those interested in more information on Josh’s posts on 64-bit and PInvoke, check out Josh’s blog . I have updated the sample code...
  • Blog Post: An ISV insight into the CLR and .Net framework 2.0 features

    This was my first webcast , so please be patient through the beginning. It gets much better there after. Participants polled, thought so :-) The primary theme of this webcast was to show how much the developer division has embraced the community through openness and solicitation of product feedback...
  • Blog Post: Performance enhancements (TryParse, LCG, StopWatch) sample code

    using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; // msgbox using System.Diagnostics; // Stopwatch using System.Reflection; // LCG (Light Weight CodeGen) using System.Reflection.Emit; // LCG (Light Weight CodeGen) namespace Perf ...
  • Blog Post: Network Information sample code

    using System; using System.Collections.Generic; using System.Text; using System.Net.NetworkInformation; // NetworkInformation namespace NetworkInfo { class Program { static int Main ( string [] args) { if (! NetworkInterface .GetIsNetworkAvailable()) return 1; // Command...
  • Blog Post: 32/64bit sample code

    // Updated 05/19/06: 32/64bit sample code using System; using System.Collections.Generic; using System.Text; namespace PlatformPointer { class Test { static int Main ( string [] args) { if (args.Length != 1) { System. Console .WriteLine( "Usage : ReadFile <FileName>...
  • Blog Post: FTP, Console, Gzip compression sample code

    using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; // Trace using System.IO; // FTP using System.Net; // FTP using System.IO.Compression; // GZip compression namespace FTP { class Program { static void Main ( string [] args...
Page 1 of 1 (18 items)