View the original article here
Tag Archives: Custom
DCOM Interop: Generate Custom Managed C++ Wrappers for Easier COM Interoperation Using DCOMSuds
.NET Remoting: Create a Custom Marshaling Implementation Using .NET Remoting and COM Interop
View the original article here
Smarter Art: Create Custom SmartArt Graphics For Use In The 2007 Office System
Create Custom SmartArt Graphics For Use In The 2007 Office SystemThis article discusses: SmartArt graphic data modelCreating XML for custom SmartArt graphicsAlgorithms, constraints, and rulesTesting and debugging custom SmartArt graphicsThis article uses the following technologies: The 2007 Microsoft Office SystemCode download available at: SmartArt2007_02.exe (152 KB) Browse the Code Online The 2007 Microsoft Office system [...]
Basic Instincts: Designing With Custom Attributes
Designing With Custom AttributesOne of the most powerful aspects of the Microsoft® .NET Framework is its support for attributes. Attribute-based programming is extremely powerful because it adds a declarative dimension to designing and writing software. Declarative programming provides an elegant new way for developers to leverage services and functionality from reusable libraries and frameworks as [...]
The Perfect Host: Create And Host Custom Designers With The .NET Framework 2.0
Create And Host Custom Designers With The .NET Framework 2.0This article discusses: Understanding designers and servicesCreating a hosting formBuilding and using a toolboxLoading and managing designersThis article uses the following technologies: Windows Forms, Visual Studio 2005Code download available at: DesignerHosting.exe (229 KB) Browse the Code Online Version 1.0 of the Microsoft® .NET Framework provided a [...]
Test Run: Testing Custom Transform Streams
Testing Custom Transform StreamsCode download available at: TestRun2007_03.exe (156 KB) Browse the Code Online One of the first things that developers new to the Microsoft .NET Framework learn is how to read from and write to text files using methods from the FileStream class of the System.IO namespace. However, the .NET I/O stream model also [...]
Passing own argument as a control custom attribute Asp.Net C#
I learn something new today that I want to share with you. How can you pass your own argument to any JavaScript Element object from code behind that you can access it like property of that object from JavaScript? Let’s say you are using custom validator and you want to highlight the control with red [...]
Customizing C# Dynamic Binding Asp.Net
Custom binding is a form of dynamic binding which occurs when a dynamic object implements IDynamicMetaObjectProvider (IDMOP). Whilst you can implement IDynamicMetaObjectProvider on types that you which are written in C#, the more common use-case is that you have been given an IDMOP object from a dynamic language (such as IronPython or IronRuby) that is [...]
Understanding Custom Extensions in Asp.Net MVC C#
When playing with the latest ASP.NET MVC 3 Preview 1 bits, some people have mentioned their dislike of the .cshtml extension used for the “razor” view engine that comes with ASP.NET MVC 3 and also WebMatrix. Well there are a number of ways you can change this. For the purposes of learning and tinkering, I [...]