• Strong Names and Signing Assemblies .NET

    Digital signatures are used to verify the integrity of data being passed from the originator (the signer) to a recipient (the verifier). The signatures are generated and verified using public key cryptography. The signer of a message has a pair of cryptographic keys: a public key, which everyone in the world knows, and a private key, which is kept secret by the signer. The verifier knows only the public key, which is used to verify that the signer knew the private key and the message. Strong Named Assemblies Strong names offer a powerful mechanism for giving .NET Framework ...  

  • Generic(Collection) Usage in the .NET Framework

    Generics provide a way for developers to define subroutines, functions, fields, properties as well as classes, structures, interfaces and even delegates in such a way that the parameters are not of any particular type.  In a sense the constructs are defined in a generic approach. The .NET Framework contains the following namespaces:System.Collections, System.Collections.Generic.    The latter mimics very much the features of the former.  System.Collections namespace (nongeneric) ICollection (size, enumeration, thread safety) derives from IEnumerable ...  

  • Asp.net UpdatePanel/UpdateProgress Controls and Overlays (Wait Messages)

    Scenario: While a partial page postback is occurring disable all form fields and give the user a pleasant please wait message that can be used consistently across your application.  We need to create an overlay that works in conjunction with the updatepanel as well as direct from JavaScript. Problem: Design the update progress html and css so that the entire page is overlaid with gray background.  This works pretty good until scrolling on the page is involved.  When the page is tall enough that the browser scrolls the overlay must by sized dynamically with each post.  If you fail to do...  

  • Export SQL Data to Microsoft Excel (using Visual Studio 2008, c#)

    Over the years there have been a number of methods to move SQL data into Microsoft Excel.  Using Automation you can call methods and properties that are specific to excel which gives you the greatest flexibility for specifying the location of your data in the workbook.  The following are two recent approaches to export Sql Server table row data to an excel workbook.  1.) Using Automation you can use transfer data cell by cell 2.) Transfer data in an array to a range of cells I created a WPF application with a button "Export" for this code.  The click event creates performs the the follo...  

  • Microsoft AJAX Features & Implementation Samples

    There are many options within the Microsoft stack of products for AJAX type functionality.  The following article covers the primary mechanisms that utilize the Microsoft out of the box Ajax functionality.  Ajax must be one of the technologies used in all current web applications.  The primary benefit is the improved user experience by providing quick, responsive feedback. Core features include Ajax Client Libraries and Ajax Server Controls.  These libraries and controls enable the developer to quickly implement solutions within any ASP.NET application.  I have also included in this article...  

  • ASP.NET 2.0 Compilation - Again

    There are a few ways of deploying a .NET 2.0 ASP.NET application using Web Site Deployment Project using VS.NET Publish Command using VS.NET Build Command 1.) Using VS.NET Build ASP.NET not Visual Studio performs the build.  ASP.NET builds everything, including .cs and .vb code files and places all resulting assemblies in folder structure under Temporary ASP.NET files directory.  As ASP.NET does all of the compilation, the debug setting in the compilation section of the web.config controls debug or release mode.  Compile with debug=true and you'll find the .pdb debugging symbo...  

    
Friday, October 09, 2009 5:26 PM
Digital signatures are used to verify the integrity of data being passed from the originator (the signer) to a recipient (the verifier). The signatures are generated and verified using public key cryptography. The signer of a message has a pair of cryptographic keys: a public key, which everyone in the world knows, and a private key, which is kept secret by the signer. The verifier ...

Sunday, September 13, 2009 10:00 PM
Within the .NET Framework data types such as Boolean can either be true or false. Right?  Well, with the release of 2.0 Framework it has been possible to create nullable data types.  A nullable type can represent all the values of the underlying type plus empty (or undefined).  In the case of our Boolean it would be True/False and Nothing.   It is only possible to create a nullable types Nullabl...

Saturday, September 12, 2009 7:11 PM
Generics provide a way for developers to define subroutines, functions, fields, properties as well as classes, structures, interfaces and even delegates in such a way that the parameters are not of any particular type.  In a sense the constructs are defined in a generic approach. The .NET Framework contains the following namespaces:System.Collections, System.Collections.Generic.    The latter mim...

 
About Me

An engineer by training and a software developer at heart. My techniques and approaches meld engineering approaches with software technology.

Core to these principles is a systematic approach to the development of software with a strong lifecycle and process management emphasis through adoption of mature technologies.

Ten years designing heavy structural steel and concrete structures and 12 years in the software development profession have embedded strong project management and business knowledge in my approaches.

Subscribe to Rss Feed

Follow me on twitter @dyardy
MSN IM / Email
 
 

Meeting your e-commerce and custom application development needs.

Blog entries highlighed and categorized can be found on the coding page.

Sample code and samples found on the coding pages.