From DNA to.NET Design Path. Objectives Sketch up a typical Win DNA Application Sketch up the.NET version Compare Design and Implementation Advantages.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Apache Struts Technology
Objectives In this session, you will learn to:
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
CIM2564 Introduction to Development Frameworks 1 Overview of a Development Framework Topic 1.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Object Oriented System Development with VB .NET
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Managing Employee Earnings Statements: PAYSTUB 3.0 A centralized, intranet-based application used to view employee earnings statements online Published:
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
ASP.NET Programming with C# and SQL Server First Edition
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.NET Framework.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Overview of Microsoft.Net and Vb.Net ITSE 2349 Spring 2002 Material from Microsoft.Net an Overview for ACC faculty by Stuart Laughton and Introduction.
Introduction to.Net and ASP.Net Course Introduction Build Your Own ASP.Net Website: Chapter 1 Microsoft ASP.Net Walkthrough: Creating a Basic Web Forms.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Introduction to .Net Framework
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
VS.NET Syllabus By Peter Huang.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
High thoughts must have high language. Aristophanes
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Native Support for Web Services  Native Web services access  Enables cross platform interoperability  Reduces middle-tier dependency (no IIS)  Simplifies.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
Introduction to .NET Rui Ye.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
Visual Studio ®.NET Data with XML Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft Modified.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
ASP.NET application. Roadmap ASP.NET file types Bin directory Application updates Simple application from start to finish using a virtual directory Behind.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
.Net – The First Glance What Is.Net, Why Use.Net.
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
Lesson 2 What is ASP.NET? What is ASP.NET? What is Web Matrix? What is Web Matrix? What are the features of Web Matrix? What are the features of Web Matrix?
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
1 Visual Studio.NET.NET as a Teaching Tool John D. Haney John M. Lovely Northern Arizona University College of Business Administration.
ASP.NET OPTIMIZATION. Why Optimize? $$$ Whether you build applications for customers or not, enhanced applications save money.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Building High Performance, Robust Server Applications with Internet Information Server 5.0 Van Van IIS - Program Manager Microsoft Corporation.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
ISV Community Day Best Practice Per Ahlberg Developer Evangelist Developer & Platform Evangelism Microsoft Sweden.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
ASP. NET Differences Dave Webster EMEA Technical Team dave
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Apache Struts Technology A MVC Framework for Java Web Applications.
ASP.net Course From Intermediate to Advance level By Arsalan Ahmed 3 Months Course Cell :
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
ASP.NET Programming with C# and SQL Server First Edition
Haritha Dasari Josue Balandrano Coronel -
Moving from ASP to ASP.NET
Web Development Using ASP .NET
ASP.NET Module Subtitle.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Presentation transcript:

From DNA to.NET Design Path

Objectives Sketch up a typical Win DNA Application Sketch up the.NET version Compare Design and Implementation Advantages of.NET Migration from WinDNA to.NET Design Guidelines to Build Windows DNA applications ready for.NET Have a smooth migration Definition of a Migration Strategy

Contents Section 1: Windows DNA Reference Application Section 2: Microsoft.NET Reference Application Section 3: WinDNA vs..NET Design Section 4: Migrating WinDNA to.NET Section 5: WinDNA Design Guidelines Section 6: Migration Guidelines Summary Questions

Section 1: Windows DNA Reference App WinDNA Sample Application DNA Web Application User Interaction DNA Service Application Background Database Updates DNA Web Service Offer 3rd Party Data

WinDNA Web Application Design IIS 5.0 Presentation Layer COM+SQL Server Business LogicData Layer Transporter ASP Business Rules Data Abstraction Stored Procedures Tables (D)COM / XML ADO HTML

WinDNA Service Application & Web Service Design Win32 Application SQL Server Stored Procedures Tables ADO Web Service ASP Listener COM+ Service Implementation SOAP (D)COM / XML

Section 2: Microsoft.NET Reference App Design of the.NET Web Application Design of the.NET Service Application Design of the.NET Web Service

.NET Web Application Design IIS 5.0 Presentation Layer.NET ComponentsSQL Server Business LogicData Layer Transporter ASP.NET Web Forms Business Rules Data Abstraction Stored Procedures Tables DataSet ADO.NET HTML

.NET Service Application & Web Service Design.NET Application SQL Server Stored Procedures Tables ADO.NET Web Service ASP.NET SOAP

Section 3: WinDNA vs..NET Design Compare Web Applications Differences Advantages of.NET Compare Service Applications Differences Advantages of.NET Compare Web Services Differences Advantages of.NET

Web Application Design Differences Similarities Three tiers Business layer divided into three parts HTML User Input Database access via Stored Procedures ASP has become ASP.NET No more (D)COM components DataSets instead of XML Documents ADO is replaced by ADO.NET

Advantages of.NET 1/4 ASP.NET Separation of Layout and Code Object-oriented Programming Model Entire.NET Framework platform available Advanced Session State Management Compiled Code, improved Performance Rich debug and trace Facilities Author in any.NET compatible Language

Advantages of.NET 2/4 No more (D)COM Components No more Registry Entries No more HRESULTS, GUIDS, IUnknown,... No more Conversation to Types recognized by COM The End of DLL Hell DataSets instead of XML Documents No more Conversion inside the Application

Advantages of.NET 3/4 ADO.NET Interoperability through use of XML Open standard Human readable and decipherable text Performance Advantages relative to ADO COM marshalling Data passed as Text (XML) No Conversation to Types recognized by COM

Advantages of.NET 4/4 Summary Improved Time-To-Market Improved Productivity Improved Quality Improved Scalability Improved Performance Improved Maintenance

Service Application Design Differences Similarities Database access via Stored Procedures Web Service access via SOAP.NET Application ADO is replaced by ADO.NET

Advantages of.NET 1/2.NET Application.NET Framework New Design Features (Sizing) Freedom of Language Choice Ease of using ADO.NET Ease of consuming Web Services ADO.NET Interoperability through use of XML Performance advantages relative to ADO COM marshalling

Advantages of.NET 2/2 Summary Improved Time-To-Market Improved Productivity Improved Maintenance

Web Service Design Differences ASP has become ASP.NET No (D)COM Component

Advantages of.NET 1/3 ASP.NET Object-oriented Programming Model Entire.NET Framework platform available Web Service natively supported Compiled Code, improved Performance Rich debug Facilities Author in any.NET compatible Language

Advantages of.NET 2/3 No (D)COM Component No more Registry Entries No more HRESULTS, GUIDS, IUnknown,... No more Conversation to Types recognized by COM The End of DLL Hell

Advantages of.NET 3/3 Summary Improved Time-To-Market Improved Productivity Improved Quality Improved Performance Improved Maintenance

Section 4: Migrating WinDNA to.NET Step 1: ASP to ASP.NET Step 2: COM+ to.NET Component Step 3: MSXML to.NET XML Classes Step 4: ADO to ADO.NET possible further improvements using.NET specifics

Step 1: ASP to ASP.NET Separated into two Parts Transform.asp into.aspx Files Extract Code into code-behind Classes

Transform.asp into.aspx Files 1/2 Automatically done Migration of Visual InterDev Projects to VS.NET Page Directives inserted To do manually Set Language and SessionState Directive Move Code into correct Tags Create PageLoad Event Handling Watch out for Syntax Changes

Transform.asp into.aspx Files 2/2 Strong recommendations Leverage exception handling Leverage tracing features Benefits Compiled ASP‘s Ready for Debugging Updates made easy

Move Code into code-behind Classes 1/2 No Wizard Support To do manually Check for Code includes Create Helper and / or Base Classes Add strong Data and Function Types Decide Accessibility of Class Members

Move Code into code-behind Classes 2/2 Benefits Clean Code Easy to extend Easy to maintain Less error prone Reusable Classes...

Step 2: COM+ to.NET Components 1/3 Automatically done Wizard convert Projects and Classes Wizard corrects Code to comply with Visual Basic.NET Syntax Migration Report To do manually (Logic Layer) Inherit from System.ServicedComponent Object Instantiation Interface Implementation Cast of Value Type and String Return Values Global Modules Transaction Handling

Step 2: COM+ to.NET Components 2/3 To do manually (Presentation Layer) Add Reference to Project Add Import Statement Change Object Instantiation Mark Parameters passed by Reference Strong recommendations Rename components Apply naming conventions Provide registration support page

Step 2: COM+ to.NET Components 3/3 Benefits No more Registry Entries No more Conversation to Types recognized by COM The End of DLL Hell no DLL Locks, better turn-around-handling easy Updates, easy deployment

Step 3: MSXML to.NET XML Classes No Wizard Support To do manually Identify the Classes needed Create Helper to encapsulate commonly used Functionality Replace the Code Benefits Improved Performance Several independent Navigators on one Document No DLL Hell

Step 4: ADO to ADO.NET No Wizard Support To do manually Change central Method to execute Stored Procedure Replace Calls on RecordSets with Calls on DataSets DataReader is not appropriate here Remove RecordSet-to-XML Transformation Benefits Database Resources handled by ADO.NET No more Transformation RecordSet / XML Application wide use of DataSets No DLL Hell

Possible further improvements Web Forms ASP.NET Server Controls Validation Controls User Controls DataBinding Caching Benefits Same Programming Model as Win Forms Support of different Client Types Rapid UI Development

Section 5: WinDNA Design Guidelines 1/2 Consider Windows DNA Design Guidelines Avoid Client-side Scripting Strict Separation of Presentation and Logic inside ASP As less Script Code as necessary Give each Peace of Code as single, well-defined Responsibility Put global Code into Functions / Classes Use XML / XSLT instead of Script Code Avoid Attributes in XML Documents

Section 5: WinDNA Design Guidelines 2/2 Be familiar with OOD / OOP Concepts Use all OO abilities of VB6 As much Class Modules as possible As less Global Modules as needed Put common Functionality into global Modules E.g Access to Stored Procedures Get familiar with Visual Basic language changes Avoid things that don’t match quite well in VB.NET

Section 6: Migration Guidelines Do‘s Check whether to migrate at all Decide what and when to migrate Take the Chances Separate the Migration into small Pieces Handle PageLoad Event Don‘ts Migrate a whole Application in one single Step Migrate just for the sake of having migrated

Summary Become familiar with.NET Concepts Smooth Migration needs a prepared WinDNA Application Not all Migration Work can be done by Wizards.NET offers great Improvements, which makes Migration worth it Helps you to do a good Job Keeps your Customers satisfied Supports your Business

Questions?

Appendix: Exploring the Sample App WinDNA Stock Application Build for Educational Purposes Used over the Internet Scalable Throughput Easy Maintenance Step by Step Migration Reflects the Steps described