TechBubbles Microsoft Technology BLOG

Application Architecture for .NET Applications – Part1

Introduction

This Article series helps the .NET developers and architects to design the effective applications on .NET latest technologies. There are so many articles,books on application architecture but it is still challenging for developers to understand best practices, principles for the application design.

This post speaks about the fundamentals concepts of Application Architecture and principles.

What is Application Architecture?

Defining a solution which meets all technical and operational requirements by optimizing performance,security and manageability.

Why Architecture?

Software must built on a solid considerations and failing to meet the key scenarios and understand the design problems will lead to long term consequences. The application needs to address the following concerns .

  • How the end user be using your application?
  • What about quality attributes security,performance,concurrency, internationalization and configuration.
  • What architecture suits for your application now or after it has been deployed?

Goals of Architecture

Application Architecture builds the bridge between business requirements and technical requirements. Good architecture reduces the business risks associated with the solution.

Architecture should consider

  • Structure of the system not the implementation details
  • User case scenarios
  • Concerns of stake holders
  • functional and quality requirements

Approach to Architecture

You must determine the type of application that you are building and architecture styles that will be used and cross cutting technologies.

  • Identify the type of application
  • How the application will be deployed?
  • Drill down for architecture styles and technologies
  • Considering Quality attributes and cross=cutting concerns.

Application Type

Key part in architecture and design is identifying the type of application.

The application types can be

  • Rich Client application designed to run on client PC.
  • Rich Internet applications.
  • SOA applications designed to support communication between loosely coupled components.
  • Smart client applications.

Deployment Strategy

When you design your application you must plan the infrastructure to deploy your application. Your application must accommodate any restrictions that exist in the environment. Identify infrastructure architecture early in the design process.

Architectural Style

Architectural style is set of policies and rules that we used in the component design later that we use in the application.

Examples of architecture styles

  1. Client-server
  2. Layered architecture
  3. MVC
  4. SOA

Cross cutting concerns

These concerns are key areas in your design that are not related to any layer in your application.  You must consider the following concerns when you are designing your application.

Authentication Determine how to authenticate users and pass the identities across the layers.

Authorization Ensure proper authorization across the trusted boundary.

Caching Identify what should be cached and where to cache to improve your application’s performance and responsiveness.

Communication Choose appropriate protocols to protect sensitive data passing over the network.

Exception Management Catch exceptions at the boundaries and show meaning full messages to the end users.

Instrumentation and Logging Instrument all business and system-critical events and log sufficient details. Do not log  sensitive information.

Conclusion

This post explained the fundamentals of application architecture and in the next part of the series I am going to explain about Architecture and Design guidelines.

Share this post :

About the author

Kalyan Bandarupalli

My name is kalyan, I am a software architect and builds the applications using Microsoft .NET technologies. Here I am trying to share what I feel and what I think with whoever comes along wandering to Internet home of mine.I hope that this page and its contents will speak for me and that is the reason I am not going to say anything specially about my self here.

Add Comment

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud