Category: Microsoft
-
The Retiring Tech Generation Leaders
Bill Gates has left Microsoft. Steve Jobs is rumored to be struggling with health problems that may force him to reduce his role at Apple. Many of their peers that emerged in the late 70’s and early 80’s are getting to that age of retirement. Thinking about this, and about leadership styles, I’m struck by […]
-
Debug NUnit Tests With Visual Studio
1. Set a break point in a unit test 2. Open NUnit 3. In Visual Studio, go the tools Menu and choose Attach to Process (or Ctrl-Alt-P) 4. Choose nunit out of the list 5. Run tests. Make sure you run the test where your breakpoint is if you don’t run all tests.
-
JScript.Net and C# Interaction
// lib.cs: using System; namespace Library { public class TestLib { public static void speak(){ Console.WriteLine(“Hello From CSharp Dll”); } } } // hello.js import System; import Library; var a = {name:’JScript Object in Exe’}; a.foo = function (){ Console.WriteLine(‘Hello From ‘ + this.name); }; a.foo(); TestLib.speak(); Compiling: 1. […]
-
Linq to SQL
Background: Linq to Sql is a lightweight data access protocol for the .Net framework. It supports filtering and other lambda features in code, allowing the programmer to treat their data source as if it were a collection of objects that support flexible features. In this way, it can be thought of as an ORM mapper, […]
-
App_Code and Namespaces
When working in Asp.net, I discovered something interesting about namespace. Before I explain what that is, a little background… If a page accesses it’s masterpage through the typical this.Master way, then any custom methods you’ve written aren’t accessible as it as typed as a MasterPage, not your class that inherits it (presumably something like _MyMasterPage). […]