Today we will learn how to instantiate a generic class and execute a generic method without knowing what class type to use when instantiating the generic (i.e. new GenericClass<DynamicParameterType>();
).
(more…)
January 3, 2015
Executing Generics with Dynamic Parameter Types
July 26, 2014
June 28, 2014
Big Brother, Little Brother or No Bother?
Ever see the message, “Your IP Address has been recorded?” In this article we will review what kind of information a web site can gather about you, why a web site may need this information and how to get the information using c#.
(more…)
Web Information
An ASP.Net Page provides simple, convenient access to HTTP Context data like Request, Response, Server, QueryString and Cookies to name a few. While re-factoring code to improve reuse often I find a need to move code from the web page and into a reusable class. (more…)
September 8, 2013
Coding On a Thread and a Prayer
Threading is a powerful concept growing more critical for application development. Modern computers aren’t always faster than computers from even four years ago. Instead, computer manufacturers focus on packing more CPU’s into a smaller package with the idea that workload split across many chips will run on a magnitude faster than the fastest chip. This performance gain can only be realized when an application is intentionally designed to take advantage of the multiple cores. As you begin working with threads, however, you will quickly realize that you must design your applications on a thread and a prayer!
Today’s article will be a little different from previous articles I have written. Instead of explaining what a thread is and how to use it I will be reviewing the various issues I have encountered while working with multiple threads and how I have resolved those issues. I trust that today’s article will help others who have encountered these same issues while developing multi-threaded applications.
April 4, 2011
C Function Calls
One of the the best lessons to learn from sports is the need to continually practice the basics. In any sport or profession you should spend time reviewing the basics to ensure that your skills are sharp. Everything else builds off of the basics.