about 3 months ago - 4 comments
StructureMap If you haven’t heard about dependency injection, it is something you should definitely look into. It can save tons of time when coding. StructureMap is a dependency injection framework that makes it easy to create new instances of objects and even cache an instance of an object so various references to the object use the [...]
about 7 months ago - No comments
Keeping your project files organized will help you navigate through your projects and help you find what you are looking for to make changes faster. Here are some tips that I use to help keep my ASP.NET MVC solutions organized: Use multiple projects to separate sections of the program. Use folders to group interfaces, classes, and factories [...]
about 7 months ago - 1 comment
By default, IIS 6 does not work with ASP.NET MVC and needs to be configured to use wild-card mapping to get MVC’s routing and clean URLs to work correctly. Unfortunately, IIS 6 does take a performance hit because all requests are processed by ASP.NET. Static files, such as images, CSS, and JavaScript are processed as [...]
about 7 months ago - 2 comments
When writting web applications, there may be times when you would like to perform some task automatically at the same time or every X number of hours. Web applications only execute their code when a request is made from a client’s browser. Because of this, scheduled tasks within the web application will not work. There are [...]
about 7 months ago - No comments
When I write a program, no matter which tool I use, one problem I face is how to design the application. No matter if you use Java, PHP, or Visual Basic; if you design the application badly, you will have problems later when you try to fix bugs or enhance the product to the next version. [...]
about 7 months ago - 1 comment
If you’re like me, you like to have control over how your websites look and the HTML returned to the browser. ASP.NET MVC gives you that control by letting you keep your HTML separate from the core application code. If you learn to use tools like CSS and JavaScript, you can use them in the [...]
about 10 months ago - 12 comments
If you are using ASP.NET MVC and you want to authenticate your users against Active Directory using LDAP, you need to do a little work to get everything set up. It is pretty easy to authenticate users with Active Directory using the <Authorize()> attribute, but I ran into some problems when I wanted to authorize [...]
about 10 months ago - 4 comments
In working with ASP.NET MVC, I came across the need to send an email with the URL of a document that is to be approved. There are helper functions accessible from the View to build an ActionLink or get the URL of an action, but I had problems finding how to build this URL from [...]
about 1 year ago - 13 comments
Introduction This article explains the process I go through to setup the CodeIgniter framework and how to configure it so that I can start developing an application. What is CodeIgniter? If you don’t already know, CodeIgniter is an MVC framework built on PHP. There are many features and built in functions that make building a web [...]
about 1 year ago - 13 comments
If you’ve heard the buzz about Apache’s open source search engine, Lucene, then you probably already know what a great search engine tool it is. The search engine is fast, has ports to various languages, and was written to be able to share the search index between the different Lucene ports. The PHP version of [...]