Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Sample Code » CLR and BCL   (RSS)

Process Creation and Coordination

function ToggleDisplay (label, control) { if (control.style.display == "none") { control.style.display = "block"; label.innerText = "Hide Code"; } else { control.style.display = "none"; label.innerText = "Show Code ..."; } } In some previous posts ( Out
Posted by JackG | 1 Comments
Filed under: ,

Attachment(s): WaitForProcessStartup.zip

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)

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,

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

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

.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

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

Out of Process IPC/TCP Remoting code

function ToggleDisplay (label, control) { if (control.style.display == "none") { control.style.display = "block"; label.innerText = "Hide Code"; } else { control.style.display = "none"; label.innerText = "Show Code ..."; } } Click this link for a description

.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

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,

.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
Posted by JackG | 12 Comments
Filed under: ,

.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
Posted by JackG | 2 Comments
Filed under: ,

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
Posted by JackG | 0 Comments

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

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)
Posted by JackG | 2 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker