background preloader

.net development

Facebook Twitter


Funny Visual Studio bug. Joe Pruitt - PowerShell ABCs. SyntaxHighlighter.all(); iControl isn’t just SOAP anymore… No, iControl isn’t getting lazy.

Joe Pruitt - PowerShell ABCs

While taking it easy is an important part of life, I’m talking about the other kind of REST. REST, or “REpresentational State Transfer” for you technically inclined, is a style of architectural principals with which you can design web services that focus on a system’s resources. It also defines how resource states are address... Note: As of 11.4, WebAccelerator is now a part of BIG-IP Application Acceleration Manager.

This is article nine of ten in a series on DevCentral’s implementation of WebAccelerator. DevCentral is a lot different now from nearly 8 years since when it was a website on a desktop under my desk. In September, Cisco announced that it was ceasing development and pulling back on sales of its Application Control Engine (ACE) load balancing modules. The Problem Application performance testing is a tricky beast. 101 LINQ Samples. Introducing WCF WebHttp Services in .NET 4 - The .NET Endpoint. This is a great series and gave me a great jump start on building a WCF REST service.

I just wanted to post a few gotchas that I encountered when deploying to IIS 6. These mostly pertain to using routes (no svc file) so if you're using a svc these may not apply. 1. If you use routes you won't have an extension so you need to use a wildcard application map. - IMPORTANT: Make sure you select the 4 version of the aspnet_isapi.dll - IMPORTANT: When setting up the wildcard, make sure the checkbox for "Verify that file exists" is unchecked. Instructions for setting up the wildcard mapping can be found here (thanks to Maarten Balliauw for the great article):


Hate Add-Member? (PowerShell's Adaptive Type System to the Rescue) - Windows PowerShell Blog. Do you hate Add-Member as much as I do?

Hate Add-Member? (PowerShell's Adaptive Type System to the Rescue) - Windows PowerShell Blog

Wait - maybe you aren't familiar with Add-Member or the glory of PowerShell's Adaptive Type System. (ATS). When I looked at the .NET type system, my reaction was "....almost". I'm not trying to throw a rock at .NET - anyone that knows me knows how much I love .NET but the reality is that it's type system "almost" meets the needs of a management system ... but doesn't. That is why we invented the Adaptive Type System. There are 4 main components of ATS: Type Adapters.

A lot of technologies implement their own type systems within .NET. We adapt that object so it looks like this: ExitCode : 0 Name : AeLookupSvc ProcessId : 1068 StartMode : Auto State : Running Status : OK Extended Metadata System .NET gives you a meat-and-potatoes type system giving you properties, fields, methods, interfaces and events. Type MashUps One of the most powerful and least used aspects of PowerShell is it's type mashup system. the interop wiki! Tf Command-Line Utility Commands. Threading in C# - Free E-book.

Threading in C# Joseph Albahari Last updated: 2011-4-27 Translations: Chinese | Czech | Persian | Russian | Japanese Download PDF Part 1: Getting Started C# supports parallel execution of code through multithreading.

Threading in C# - Free E-book

A C# client program (Console, WPF, or Windows Forms) starts in a single thread created automatically by the CLR and operating system (the “main” thread), and is made multithreaded by creating additional threads. All examples assume the following namespaces are imported: using System; using System.Threading; class ThreadTest{ static void Main() { Thread t = new Thread (WriteY); t.Start(); for (int i = 0; i < 1000; i++) Console.Write ("x"); } static void WriteY() { for (int i = 0; i < 1000; i++) Console.Write ("y"); }} The main thread creates a new thread t on which it runs a method that repeatedly prints the character “y”.

Once started, a thread’s IsAlive property returns true, until the point where the thread ends. Done static void Go(){ if (! Done Done (usually!)