The Blog of Travis Gneiting
  • Home
KEEP IN TOUCH

Posts in category Software Engineering

Microsoft Project Code Name “Velocity”

Sep25
2008
Written by admin

Microsoft Velocity provides distributed in-memory web application caching. This provides highly scalable, high-performance application caching. “Velocity Caching” can be used to cache any Common Language Runtime (CLR is the Virtual Machine of Microsoft’s .NET initiative) through simple API’s. From a general standpoint, Velocity was created with the goal of providing performance, scalability and availability.

The main application for providing scalable, available, high-performance applications using Velocity is by fusing the memory between multiple computers to give a single/unified cache view for the application to employ. The application can they store any CLR object that is serializable.

http://blogs.msdn.com/velocity/

Posted in ASP.NET - Tagged ASP.NET, Velocity

A better way to get a querystring

Aug01
2008
Written by admin

If (Not String.IsNullOrEmpty(Request.QueryString("qString"))) Then qString = Request.QueryString("qString")
End if

Posted in ASP.NET, Patterns & Practices - Tagged .net, ASP.NET, querystring

Software Development: Patterns And Practices

Jul31
2008
Written by admin

http://msdn.microsoft.com/en-us/practices/default.aspx

http://msdn.microsoft.com/en-us/library/cc467894.aspx

http://www.codeplex.com/AppArchGuide

According to Microsoft P&P (Patterns and Practices) were created to meet the demands of architects and application developers. By following proven patterns and practices it is suggested that more sound applications will be the result. Included in P&P

  • How to design
  • Develop
  • Deploy
  • Operate architecturally sound applications on a Microsoft platform.

P&P for Web Applications
http://msdn.microsoft.com/en-us/practices/bb969054.aspx#web_apps

PHP Patterns and Practices
http://www.phppatterns.com/docs/start

Posted in ASP.NET, Patterns & Practices

Agile Software Development

Jul14
2008
Written by admin

Agile Software development

Agile Development is a methodologies that promotes iterations, open collaboration and process adaptability through out the life-cycle of a project.

Software that is developed in iterations that typically last from two to four weeks.  These iterations are referred to as “Timeboxes”. Each iteration passes through the complete software development cycle.
1.Planning
2.Requirements Analysis
3.Design
4.Unit Testing
5.Coding
6.Demonstration to share holders

The goal is to have a bug free release at the end of each iterations. At the end of each iteration, stakeholders can re-evaluate project priorities with a view to optimize their ROI.

Agile development emphasizes bug free working software as the primary measure of progress.  If a stakeholder requires documentation as a higher priority than working software, the working software priority shall be changed.

This form of software development is meant to combat the downfalls and political bureaucratic way software has been development in the past.

The Agile Manifesto

•    Customer satisfaction by rapid, continuous delivery of useful software
•    Working software is delivered frequently (weeks rather than months)
•    Working software is the principal measure of progress
•    Even late changes in requirements are welcomed
•    Close, daily cooperation between business people and developers
•    Face-to-face conversation is the best form of communication (Co-location)
•    Projects are built around motivated individuals, who should be trusted
•    Continuous attention to technical excellence and good design
•    Simplicity
•    Self-organizing teams
•    Regular adaptation to changing circumstances

Contrasting development techniques
1.    Waterfall Model
2.    Cowboy Coding
For best practices using Agile, daily kickoff and review of goals meetings should be held. There should be short release cycles of software functionality. A responsive development approach should be taken. Generalize.
As this approach to software engineering become more widely accepted, and defined. The benefit to the stakeholders is apparent. While development time may be extended while inviting changes throughout the development cycle, scope creep will always be a part of software engineering.
Agile has many benefits from a RAD (Rapid Application Development) point of view. By providing working functionality to the stakeholder, a faster product is delivered over a longer period of time.

Tagged Agile Software Development Engineering

ASP.NET Page and Application Tracing

Apr17
2008
Written by admin

Tracing

The tracing feature in ASP.NET is useful in tracking the execution of an application. This is helpful to display the trace in a way that doesn’t affect the programs output.

To enable tracing on a page-by-page level, set the Page directive in any ASP.NET page to True:

<%@ Page Language=”C#” Trace=”true” TraceMode = “SortByCategory” Inherits = “System.Web.UI.Page” CodeFile=”Default.aspx.cs” %>

To enable tracing for an entire application add tracing settings to the web.config:

<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<compilation debug=”false” />
<authentication mode=”Windows” />
<trace enabled =”true” pageOutput =”True” requestLimit =”20″ traceMode =”SortByTime ” />
</system.web>
</configuration>

The page-level setting will take precedence over the web.config setting.

How to view Trace Data.

In the Page_Load event call System.Diagnostics.Trace.Write(). Make sure the pageOutput=True in the webConfig.

What’s being displayed

1. Request Details
ASP.NET Session ID, Character encoding of the request.

2. Trace information
All Trace.write methods called in the HTTP request. This is helpful to find methods that are taking a long time to execute.

3. Control Tree
HTML of ASP.NET Control Tree.

4. Session State
List all keys and values for users session .

5. Application State
List all keys and values for application.

6. Request Cookies Collection
List all cookies passed in during page request.

7. Response Cookies Collection
List all cookies passed back during page response.

8. Headers Collection
Shows all headers passed in during request from browser.

9. Response Headers Collection
Shows all headers passed back during response.

10. Form Collection
Displays dump of Form Collection and all keys and values.

11. Querystring Collection
Displays dump of Querystring collection and all keys and values.

12. Server Variables
Displays dump of Server Variables with keys and values.

The Trace.axd
Page output only displays information of the current page. If you want to create a collection use Trace.axd.

http://localhost/application-name/trace.axd

Trace.axd will display all tracing data up to the present limit.

Trace Forwarding

ASP.NET allows to forward trace message to System.Diagnostics.Trace:write to DiagnosticsTrace

<trace enabled =”true” requestLimit =”20″ writeToDiagnosticsTrace =”true ” pageOutput =”true”/>

Posted in Debugging - Tagged Trace Debug ASP.NET

Zend Framework Quickstart

Apr16
2008
Written by admin

Zend Framework

I’ve been using the Zend Framework to build a new website in PHP. I came across a good quickstart tutorial for anyone interested in learning how to use the MVC (Model, View, Controller) with Zend.

Zend Framework Quickstart Tutorial

Posted in PHP ZEND - Tagged Beginner, Framework, PHP, Tutorial, Zend
Newer Entries »

Programming

  • ASP.NET
  • MSDN
  • Visual Studio Offical Website
  • www.w3.org

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Welcome to My Programming Blog

This is my brain dump. I use it to post thing I may use again, interesting things I have run into and programming helps.

Tags

.net Agile Software Development Engineering ASP.NET attack Beginner Blueprint CSS Database Deployment DevExpress Framework Functional hacked Hotmail How to test software HTTP IIS Javascript JQuery MIME New Website Checklist PHP querystring Software Testing Specification spoof Status Codes Testing Trace Debug ASP.NET Tutorial Velocity webmethod Website Testing Zend

Blog Archive

  • January 2012
  • November 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • February 2011
  • January 2011
  • November 2010
  • October 2010
  • August 2010
  • July 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • February 2009
  • January 2009
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • April 2008

EvoLve theme by Theme4Press  •  Powered by WordPress The Blog of Travis Gneiting