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
October 12, 2014
The Modern Pioneer
An individual who is the first to explore or discover a concept, location or ideology is called a pioneer. Most likely you are a modern pioneer and don’t even realize it!
September 28, 2014
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…)
April 17, 2014
Create HTML Using CSS-Shorthand
Creating HTML markup requires a lot of typing. For nearly every opening tag there is a closing tag. There is a shorter, faster way to create HTML!
(more…)
March 20, 2014
CSS3 Table-less Page Layout
For years CSS scholars taught that tables are for displaying information while div and span tags are designed for layout. Unfortunately CSS3 fails to provide a simple set of properties that can make table-less layout adoption popular. In light of the complexity required to support a table-less page layout most developers continue to use tables for page layout. Today’s post offers an alternative option addressing the pains of table-less page layout.
(more…)
January 30, 2014
Authenticating Users To Your Site Using OAuth/OpenID Provider in ASP.NET MVC
Do you want to allow users to login to your site via an OAuth or OpenID provider such as facebook, twitter or google? I’ll show you how to do this easily using SimpleAuthentication.
SimpleAuthentication is an ASP.NET library that makes it really simple for developers to add Social Authentication code to an ASP.NET application. The library only deals with authentication , once you get the user details for the person logging in, you can do whatever you want with that (such as, create a new user or update an existing user). You can take advantage of the Glimpse plugin so you can see what magic is happening under the hood if you need to debug. You can install it via Nuget, and it supports MVC3, MVC 4 or NancyFx project types.
Follow the steps below to add it to your MVC 4 application:
1. Install the Nuget Package for MVC 4.
View original post 231 more words
January 6, 2014
Required Automatically Enforced On Input Tags in Internet Explorer
A month ago I discovered an odd behavior while regression testing a web application. When I typed the exact value that is in the title attribute of an input tag the field became required disabling form submission until the value was changed. The new behavior had me stumped until I realized it only happens in Internet Explorer 10 and greater.
(more…)
Documentation for the Agile Team
Tags: Agile, Agile Manifesto, Business Analysis, Code Comments, Documentation, Project Management, Requirements, User Stories
The second point of the Agile Manifesto states, “We value working software over comprehensive documentation. That is, while there is value in the items on the right, we value the items on the left more.”
(more…)