Search Results

160 posts. Showing page 8 of 16.

ASP.NET Web Forms

ASP.NET Request object cheat sheet

by John Avis | August 8, 2014

Personally I can never remember which of the Request object properties I need to use to get the requested URL or certain parts of the requested URL.

ASP.NET Web Forms Databases

Using SqlDataReader NextResult to improve performance

by John Avis | July 31, 2014

On database-driven websites it is commonplace to execute multiple database queries to generate just one page. For example, on the home page of an ecommerce website you might get a list of categories, a list of banner advertisements to display, a list of featured products, and a list of top selling products. I investigate whether it was more efficient to put these multiple queries into one stored procedure and use the SqlDataReader's Next Result method to get the data all in one go.

Classic ASP

Classic ASP functions for database queries and SQL injection protection

by John Avis | July 28, 2014

If writing database queries in SQL in Classic ASP for SQL Server, rather than using ADO or parameterised queries, you can use these functions to correctly format your data and protect against SQL injection.


How to view 'Entity Framework DbEntityValidation Exception was unhandled by user code' errors?

by John Avis | July 23, 2014

If you are using Entity Framework and have received this error message and have been frustrated by not being able to see what the actual problem is in Visual Studio then there is a simple solution.

Web Security

Best practices for membership systems, login pages and password resets

by John Avis | July 23, 2014

Developing a secure membership system can be complicated as there are many potential danger areas that you must be aware of. In this post I hope to cover all of the areas you need to think about and plan for.

Electrical Repairs

How to fix Fisher & Paykel DW60CSW1 dishwasher

by John Avis | June 23, 2014

My parent in-law's Fisher & Paykel DW60CSW1 dishwasher stopped working. When you turn it on all lights came on but none of the buttons did anything.

ASP.NET Web Forms

How to reset scroll position after an UpdatePanel post back?

by John Avis | June 6, 2014

If you use ASP.NET UpdatePanels, most of the time you want to maintain the window scroll position but there are occasions when you don't want to scroll back to the top or to a specific control.

ASP.NET Web Forms

Suggestions for ValidationSummary HeaderText

by John Avis | June 6, 2014

I often use the standard ASP.NET ValidationSummary to display form validation error messages but often struggle what to write for the Headertext property.

Web Design

Visual Studio bug when deleting a line with word wrap enabled

by John Avis | May 30, 2014

I have put up with a bug in Visual Studio for some time, but recently finally got around to reporting it. I need your vote to get this bug fixed.

Classic ASP ASP.NET Web Forms

How to share Session securely between Classic ASP and ASP.NET

by John Avis | March 22, 2014

Looking at the Google search results, it seems that there has been plenty of demand to share Session values between Classic ASP and ASP.NET. This is usually a result of supporting legacy Classic ASP.NET with new development in ASP.NET.

ASP.NET Html Forms ASP.NET MVC ASP.NET Web Forms ASP.NET Web Pages Bootstrap C# Classic ASP Cool Websites Databases eBay and PayPal Electrical Repairs General Hardware HTML/CSS Jquery/Javascript Media Center Mobile Phones Responsive Web Design Reviews SEO and Social Networking Web Design Web Development Web Security web+db Website Hosting Windows XP Youtube

About me

...mostly about web development and programming, with a little bit of anything else related to the Internet, computers and technology.


Get the latest posts delivered to your inbox.