
I have been waiting for Windows Home Server since Microsoft announced the product. I have been anxious to download it through my MSDN subscription and test it out. As long time user, fan, and programmer of Microsoft technologies, I like to investigate their products so that I can recommend products to fill the needs of my clients, friends, and family.
Someone I work with was showing me his copy of Home Server, which he purchased. Very excited to test it for myself, I went out to MSDN, only to find that it is not available on MSDN. After a little searching, I found this blog that talks about why WHS is not available on MSDN.
Read more »
February 8, 2008
Posted by
Broken Bokken |
.Net, Personal |
.Net, Advocate, ASP.NET, Developer, Development, Information Technology, License, Licensing, Linux, Microsoft, MSDN, Personal, Programming, rant, Server, Subscription, Technology, Thoughts, Trial, WHS, Windows, Windows Home Server |
No Comments
While running one or more ASP.NET websites, it is valuable to have a system where errors encountered by your users are automatically reported so that you can fix them. It is bad practice to let the user’s see the error and it is horribly evil to force them to report the errors themselves. The answer: an automatic exception handler. I developed this handler for use in websites so that any error encountered would be e-mail to a list of developers as well as recorded to the log if desired.
I also give the option of filtering out 404 (Page not found) and 403 (access denied) errors in case you only care about hard exceptions. It the past, I did see one application where we used 404 handling because the structure of the site changed. We implemented an automatic redirection for users who had bookmarks, and we caught 404 errors to find gaps in our redirector.
Read more »
February 7, 2008
Posted by
Broken Bokken |
.Net |
.Net, ASP.NET, C#, Cookie, csharp, dotnet, Error, Error Log, Exception, Global, Handler, Handling, Programming, Querystring, System.Web.HttpContext, Technology, Transform, Transformation, Web, Web Development, XML, XSLT |
No Comments
Validating data is a very important part of any application that takes user input. Without validation, users can enter whatever they feel like. This is especially bad when needing specific data, like an e-mail address.
To make things easy for myself, I have all my common validation methods in one library. Validating user input is done using regular expressions. While I do my validation on the backend, it is a common practice to use validators do do much of your validation on the client. This saves the user from having to do a postback to the server only to get an error back. I agree that this is a good practice, but for every javascript validation I do, I also validate it on the server. The reason behind this is that a user can download your html to their computer, strip out the validation, and post to your server. This was something I tested when working on websites for a certain polling and market research company. Because of this flaw, we developed a standard practice to only use required field validators for client side validation and test all other validation on the backend.
Read more »
February 5, 2008
Posted by
Broken Bokken |
.Net |
.Net, ASP.NET, C#, Client, Client Side, Data, Data Validation, Decimal, E-mail, email, Information Technology, Integer, IT, Numeric, Programming, Regex, Regular Expressions, Server, Server Side, Technology, User Input, Validation, VB, VB.NET, Web Development |
1 Comment
In the times of feudal Japan, a samurai would travel through Japan in Musha Shugyo. These wandering Samurai are not to be confused with Ronin, or “Masterless Samurai.” Ronin are samurai who have been expelled by their master, or their master has been killed in battle. A shugyosha is a samurai who has left his family and school to travel from town to town, taking challenges and learning at various schools to hone their skills. This time is also used to seek a daimyo to serve. The shugyosha would carry only a few supplies, their swords (or weapon of choice), and would hire themselves out for food or money. During this time, the shugyosha would not be protected by his family or school. The most famous shugyosha was Miyamoto Musashi.
Being an IT consultant is much like the life of a Shugyosha. Being a consultant and being a samurai require a lot of training and skill. There are good consultants and bad consultants, just like there are skilled samurai and unskilled samurai.
Read more »
January 31, 2008
Posted by
Broken Bokken |
Japanese, Life, Personal |
Consultant, Consulting, Information Technology, Japan, Japanese, Musings, Personal, Programming, Ronin, Samurai, Shugyosha, Technology, Thoughts |
No Comments
As an experienced web developer, I have seen all kinds of crazy login workflows. The security question workflow, however, is the absolute dumbest workflow ever. Not only are most questions geared at public domain information, but how many people are actually going to remember what they typed in for their answer? Also, depending on how good (or bad) the programmers are, if the answer is case senstive, or miss-spelled, you are hosed. I can’t stand sites who use this workflow when there are much better, and more secure ways to allow users to regain control of their account.
Read more »
January 29, 2008
Posted by
Broken Bokken |
.Net |
.Net, .Net 2.0, ASP.NET, C#, Forgot Password, Internet, Login Workflow, Programming, Security, Security Question, Technology, Web Development, Workflow |
No Comments