Mark Harr Multi-Tier Development in.Net.

Slides:



Advertisements
Similar presentations
Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
Advertisements

DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
ICS 434 Advanced Database Systems
COM vs. CORBA.
09/04/2015Unit 2 (b) Back-Office processes Unit 2 Assessment Criteria (b) 10 marks.
Objectives In this session, you will learn to:
Introduction to.NET Technology Marcello Benati Software Engineer.NET Architect.
CSLA Presenter Sergey Barskiy, senior consultant at Magenic Technologies your questions Send an in order.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 5 Database Application Security Models.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Advanced Object-Oriented Programming Features
Distributed Information Systems - The Client server model
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
12 Chapter 12 Client/Server Systems Hachim Haddouti.
Chapter 5 Database Application Security Models
Securing Enterprise Applications Rich Cole. Agenda Sample Enterprise Architecture Sample Enterprise Architecture Example of how University Apps uses Defense.
Visual Basic 6.0 Derived from BASIC Developed by Microsoft in 1998 An event driven programming language Associated with a development environment.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.
IS 4506 Database Connectivity.  Overview Two and Three-Tier C/S Architecture ASP Database Connection ODBC - Connection to DBMS Overview of transaction.
Database Application Security Models
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
The Design Discipline.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
Kuali Rice at Indiana University Rice Setup Options July 29-30, 2008 Eric Westfall.
VS.NET Syllabus By Peter Huang.
Networked Application Architecture Design. Application Building Blocks Application Software Data Infrastructure Software Local Area Network Server Desktop.
Obsydian OLE Automation Ranjit Sahota Chief Architect Obsydian Development Ranjit Sahota Chief Architect Obsydian Development.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Developing and Deploying Business Components using PowerJ.
Business Solutions Using Microsoft ® Office SharePoint ® Server ROADSHOW.
Enterprise JavaBeans. What is EJB? l An EJB is a specialized, non-visual JavaBean that runs on a server. l EJB technology supports application development.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Tom Castiglia Hershey Technologies
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Personal Computer - Stand- Alone Database  Database (or files) reside on a PC - on the hard disk.  Applications run on the same PC and directly access.
What’s new in Kentico CMS 5.0 Michal Neuwirth Product Manager Kentico Software.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
CSC 480 Software Engineering Lecture 18 Nov 6, 2002.
Building High Performance, Robust Server Applications with Internet Information Server 5.0 Van Van IIS - Program Manager Microsoft Corporation.
Module 4: Creating a Web Application with Web Forms
Ms Dynamics Ax 2012 By Johnkrish. MSD Ax is a Customizable, Multi-language, Multi-Currency ERP Solution. Completely integrated & Web-enabled Supports.
Chapter 1 Revealed Distributed Objects Design Concepts CSLA.
GP 2015 Client Event. Management Reporter As of 5/1/2015 the most recent version of MR is 2012 Cumulative Update 12. Mainstream Support for FRx 6.7 ended.
SYSTEMSDESIGNANALYSIS 1 Chapter 21 Implementation Jerry Post Copyright © 1997.
Copyright c 2004 OSIsoft Inc. All rights reserved. By Mark Hughes OSIsoft, Inc. Update on Status and Directions.
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
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.
BI Reporting Tools Kalyn Kelly June 10, BI – Business Intelligence  A set of theories, methodologies, architectures, and technologies that transform.
ADO .NET from. ADO .NET from “ADO .Net” Evolution/History of ADO.NET MICROSOFT .NET “ADO .Net” Evolution/History of ADO.NET History: Most applications.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Wednesday NI Vision Sessions
SQL Database Management
Building Enterprise Applications Using Visual Studio®
Netscape Application Server
Server Concepts Dr. Charles W. Kann.
Principles of report writing
Please thank our sponsors!
DAT381 Team Development with SQL Server 2005
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
(Authentication / Authorization)
Enterprise Java Beans.
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Mark Harr

Multi-Tier Development in.Net

Traditional “basic” 2 – tier Lots of DB connections Lots of Duplicated code Cons Multi-Tier Development in.Net - History

Moved some common code (usually database access) to common tier Sometimes implemented as moderately complex stored procedures (more business logic than just CRUD) Better performance Multiple apps shared code processes Pros Still limited usually ActiveX EXE Server, single threaded No security Cons Multi-Tier Development in.Net - History

3 –tier using Transaction Server (MTS, Tuxedo) Authentication Authorization Object Pooling, Multiple processes as needed (ActiveX DLL) Features Multi-Tier Development in.Net - History

Much better performance Scalability Security Pros COM Registration Windows / ASP only Cons Multi-Tier Development in.Net - History

“Windows DNA” Components can be distributed Performance Geographic (either branch office or network, even local) Functional Multiple Components within each tier Multi-Tier Development in.Net - History

Implementing Enterprise Architectures Extremely scalable, vertical and horizontal Flexible Pros Still COM based, registration issues Windows / ASP only Cons Multi-Tier Development in.Net - History

Tiers Presentation Services Tier Business Services Tier Data Services Tier Database Multi-Tier Development in.Net

User applicationCode only to handle display and functions for userVery basic validation (numeric, valid date, etc)Windows forms, Web app, Excel, whatever. Multi-Tier Development in.Net – Design

Most of business related logic and validation Calculate shipping costs, sales tax Save order, send to warehouse, send to acctg, upd cust sales totals Integrate data, data sourcesWork to serve Presentation Tier more efficiently Returns either single value, or dataset Application Authentication for user, but run under own account.2 options for classes By major “nouns”, By PT forms Multi-Tier Development in.Net – Design

Only programs with data accessAuthentication for Business Service Tier account only Users not allowed Returns datasetClasses by major “nouns” Multi-Tier Development in.Net – Design

Use Stored Procedures, or not. App database only allow this program to update data Users not allowed Multi-Tier Development in.Net – Design

Class Library or Web Service Multi-Tier Development in.Net

Software Fortresses Multi-Tier Development in.Net

Presentation Tier runs as interactive userBusSvc authenticates user, but runs under own account Data Tier allows only BusSvc account, runs under same account or own account Database access from Data Tier account only If needed, setup Windows users as dbDataReader only Multi-Tier Development in.Net

Fetch (ID): gets one row. If ID not valid or -1, return new row. FetchList (parms): gets narrow list of rows matching parms Update (dataset): Use same function for add or update; let Data Tier figure out which Common functions Delete (ID) Find (parms): if needed for searching, more flexible parms Others as needed Multi-Tier Development in.Net

Do not bubble exceptions through tiers Raise exception or return error, but do not nest errors Throw ApplicationException, ArgumentException Log errors to event log Consider Errors Multi-Tier Development in.Net

Lays out tiers; including setting comm protocols Defines classes, methods, parameters Checks in design Architect version: Cannot change public interface of tiers Can build and add private classes, methods Codes and unit tests class methods Developer version: Tester version Deploys completed components by drag and drop on server models. Architect version: Multi-Tier Development in.Net

Doing Objects in Visual Basic 4.0, Deborah Kurata COM and DCOM; The Microsoft Vision for Distributed Objects, by Roger Sessions Software Fortresses; Modeling Enterprise Architectures, by Roger Sessions Roger Session newsletter, ObjectWatch Multi-Tier Development in.Net