View RSS Feed

jmurrayhead

  1. Custom Authorization with ASP.NET MVC

    by on July 28th, 2010 at 04:05 PM
    Lately, I've been doing a lot of work with the ASP.NET MVC framework. One of the greatest attributes of MVC over Web Forms is its extensibility. Authorization is important to any application and being able to customize it to meet your project's needs is equally important.

    In the ASP.NET MVC framework, developers can use attributes to control things like validation and authorization. To have custom authorization in your MVC project, start off by inheriting from the AuthorizeAttribute ...

    Updated May 9th, 2011 at 11:28 AM by jmurrayhead

    Categories
    Programming & Scripting , ASP.NET , MVC
  2. JmhCommonControl - Providing Common Controls with Validation

    by on March 10th, 2010 at 01:41 PM
    If you're like me, you don't like rewriting/copy & pasting validation code for controls that we use all the time. This enticed me to build a collection of these common controls that I can reuse in every application and save myself from a lot of typing. Thus the birth of JmhCommonControl.

    Currently, the JmhCommonControl assembly consists of 6 controls: NameEntry, PhoneNumber, SocialSecurity, Url, ZipCode, and CustomTextBox. Continue reading for information on each of these.
    ...
    Attached Thumbnails Attached Files
  3. The Username or Password is Incorrect when Logging into Server 2008 from XP

    by on April 25th, 2009 at 10:55 AM
    After I upgraded to Windows Server 2008, I was unable to remotely log in via Remote Desktop. The client machine I'm trying to connect from is Windows XP SP2. When I tried from a Vista machine, everything worked fine.

    Here's how I solved the "username or password is incorrect" problem:

    First off, I noticed that the Routing and Remote Access service wasn't started on the server. To resolve this, do the following:

    1. Click Start, point to Programs ...
  4. Strong Passwords and Password Security

    by on April 6th, 2009 at 09:27 PM
    Introduction

    Passwords are the keys to the Personally Identifiable Information (PII) stored on your computer and online accounts. If a criminal or any other type of malicious user were to gain access to this information, they could potentially use your name to open new credit card accounts or even pose as you when purchasing items online.

    What Makes a Password Strong?

    To an attacker, your password should look like a bunch of random characters, with no meaning
    ...
    Categories
    Security
  5. .NET Business Object Base Class

    by on January 7th, 2009 at 07:52 PM
    Like my other .NET Development blogs, I preach about building applications with a layered, Object-Oriented architecture. Now I'm going to discuss how to create a base class that all of your business objects can inherit.

    This base class will contain methods and properties that, when inherited, will be available to any class that inherits it. In Visual Studio, we will start by creating a new Class Library (*.vb or *.cs) in the App_Code directory. We will name this file BizObject.vb ...

    Updated May 9th, 2011 at 11:30 AM by jmurrayhead

    Categories
    Programming & Scripting , ASP.NET
Page 1 of 2 1 2 LastLast

SEO by vBSEO