ASP.NET Basics

HTML Basics
ASP.NET Web Server
Advanced HTML
Application Designing
Using Visual Studio
ASP.NET Standards
ASP.NET Styling
ASP.NET Navigation

ASP.NET Tips

ASP.NET Validation
HTML forms
CSS Styling
CSS Advanced
ASP.NET Features
ASP.NET Image Effects
Common mistakes
DB Design tips

Building Applications

Design Secure Apps
Build Secure Apps

1. Eager to Code

« Previous Chapter

Next Chapter »

The first mistake most programmers make is that they start coding too soon because programmers are too eager to code. You have to first have a thorough design of the application and should have thought through any backup plans when you get stuck while coding. So to avoid this, you make sure that you have an idea on these application designs issues:

How will my access to the Database be handled?

You should have a clear mind whether:

  • You will use ASP.NET data source controls like the new “SqlDataSource” or whether you will write your own custom data access classes.
  • You will use SQL statements in the code itself or whether you will use stored procedures to store the SQL statements in the database

How will my state information be passed from page to page?

You should have a clear mind whether:

  • You will use the ASP.NET’s session-state feature
  • You will pass query strings to application’s pages

How will I protect my application from security breaches?

You should have a clear mind on:

  • What ways is the application vulnerable to attacks for example: SQL injections
  • How you should design the application to protect itself from such attacks

How will my application handle error situations?

You should know:

  • How you want it to respond to a database connection problem.

Handle these issues and you are ready to start on your coding. When developing complex applications, it’s a good practice to do a simple version of the application before you write the complete application to get an overall idea how the complex application will look like.

These simple applications are also called the proof-of-concept versions. They focus on the most difficult parts in the application. Once you get the whole picture you will get the knowledge and feel the confidence that you can do the final application.

« Previous Chapter

Next Chapter »

Table of Contents

» Chapter 1 - Eager to Code
Chapter 2 - Improper Documentation
Chapter 3 - Lack of Testing
Chapter 4 - Improper use of State features
Chapter 5 - Improper Validation of Data
Chapter 6 - Trying to do too much
Chapter 7 - Always seek Support

[top]