PV247 – Development I Introduction to ASP.NET and related technologies.

Slides:



Advertisements
Similar presentations
REST Vs. SOAP.
Advertisements

REST Introduction 吴海生 博克软件(杭州)有限公司.
General introduction to Web services and an implementation example
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Slide 1 EE557: Server-Side Development Lecturer: David Molloy Room: XG19 Mondays 10am-1pm Notes:
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
06 | Implementing Web APIs Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Web Services CS Web Services Internet-available services using XML messaging, for computer-computer interaction Not tied to any OS or language Self-describing:
Handling Security Threats in Kentico CMS Karol Jarkovsky Sr. Solution Architect Kentico Software
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
IT 210 The Internet & World Wide Web introduction.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
AJAX in ASP.NET James Crowley Developer Fusion
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
February 16, Aaron Cuffman Andy Nagle Adam Schultz Web Site.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Writing various AJAX forms in Drupal 7 1. Overview of Form API 2. Ctools 2.1 Ctools features 3. Ajax 3.1 Ajax Forms in Drupal 4. Putting it all together.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Python and REST Kevin Hibma. What is REST? Why REST? REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Open Data Protocol * Han Wang 11/30/2012 *
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
Cross-Language Demo Demonstrates mixing C# and VB.NET code C# Class CSDemoClass.cs VB.NET Class VBDemoClass.vb “Main” class (C#) Demo.cs.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Christopher M. Pascucci Basic Structural Concepts of.NET Managing State & Scope.
Server Control Tips & Tricks Presented by: Patrick Hynds Microsoft Regional Director CriticalSites CTO MCSD, MCSE+I, MCDBA, MCSA, MCP+Site Builder, MCT.
Anatomy of an ASP.NET Page. Slide 2 Compiling an ASP.NET Page An ASP.NET page is compiled when it is rendered for the first time A page is compiled to.
Beginning ASP.NET (Part 3).NET 2.0 Core Libraries Tuc Goodwin.
API Crash Course CWU Startup Club. OUTLINE What is an API? Why are API’s useful? What is HTTP? JSON? XML? What is a RESTful API? How do we consume an.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
Week Six : Writing Web Services Aims: Creating and Consuming student’s first Web Services Learning Outcomes: Familiarity with VS.NET for creating and consuming.
Representational State Transfer (REST). What is REST? Network Architectural style Overview: –Resources are defined and addressed –Transmits domain-specific.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Chapter 7: Creating and Consuming XML Web Services Understanding XML Web Services Creating XML Web Services Deploying and Discovering XML Web Services.
CSCE 315 – Programming Studio Spring Goal: Reuse and Sharing Many times we would like to reuse the same process or data for different purpose Want.
Understanding Web Applications Lesson 4. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understanding Web Page Development Understand Web.
Web Services An Introduction Copyright © Curt Hill.
REST By: Vishwanath Vineet.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Introduction  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
Svetlin Nakov Telerik Corporation
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
PostBack  When an initial request for a page (a Web Form) is received by ASP.NET, it locates and loads the requested Web Form (and if necessary compiles.
1 Introduction to Web Application Review. 2 Five Layers Architecture HTML, CSS, Java Script ASP.net User ’ s.dll, Nunit, Web Services ADO.net SQL Server,
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
ASP.NET WEB Applications. ASP.NET  Web application framework developed by Microsoft  Build dynamic data driven web applications and web services  Subset.
ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd
National College of Science & Information Technology.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Better RESTFul API – Best Practices
WEB SERVICES.
Cosc 5/4730 REST services.
AJAX and REST.
Unit – 5 JAVA Web Services
GF and RS, Dept. of CS, Mangalore University
An introduction to REST for SharePoint 2013
Test Case Structure Test Case Module(depend on framework) MocoServer
Dominik Pinter, CMS.IO, Authentication Dominik Pinter,
Ashish Pandit IT Architect, Middleware & Integration Services
Testing RESTful Web APIs
RESTful Web Services.
Python and REST Kevin Hibma.
Chengyu Sun California State University, Los Angeles
Presentation transcript:

PV247 – Development I Introduction to ASP.NET and related technologies

Overview o ASP.NET Basics o What is ASP.NET? o What is a request? o How does ASP.NET deal with stateless http? o ASP.NET request/page/control life cycle o REST Services o Kentico CMS Platform Basics o CMS.IO namespace

What is ASP.NET? Active Server Pages.NET Platform for creating dynamic web applications You can use any.NET language as a code-behind Development of ASP.NET WebForms applications can be similar to the development of WinForms applicatons. Similar, not same!

Example of ASP.NET page

ASP.NET page – code behind

What is a request?

Main thing you need to remember about HTTP protocol: HTTP is stateless protocol! But we need state in dynamic web applications!

How does ASP.NET deal with stateless http? The answer is... ViewState! It is a technique used by an ASP.NET Web page to persist changes to the state of a Web Form across postbacks (HTTP POST to the same page that the form is on). Use ViewState carefuly and only when it‘s really needed! It‘s helpful technique, but it might become too greedy and can cause the application to be less effective.

ViewState – How is it send within requests?

ASP.NET page/control life cycle To be able to work with ASP.NET pages and controls properly you need to understand the life cycle of these elements. Most importat phases of page/control life cycle are: PreInit Init Load PreRender Render

ASP.NET page/control life cycle Source:

Where to get more information? Where to start: More about page life cycle: More details about how the ViewState works:

Let‘s have a REST! Representational state transfer (REST) is a style of a service architecture Instead of complex technologies (RPC, SOAP, etc.) you use simple HTTP requests which are supported by all the clients! Commonly used formates of REST responses are XML, JSON, AtomPub

Let‘s have a REST! Conforming to the REST constraints is referred to as being "RESTful„ service – Access the objects within the system defining clear structure of URLs – The structure of URLs should be self-explaining and self-navigating Kentico CMS supports RESTful service

How to request a REST Service Create request Wait for response That‘s all! DEMO

CMS.IO Layer between Kentico CMS and System.IO CMS.IO Kentico CMS business layer Kentico CMS business layer System.IO Azure blob API...

CMS.IO Allows the system to use various IO providers (local file system, Azure Blob, Amazon S3, …) To implement a provider you inherit from the base class and override the IO methods – Directory – File – FileStream – etc.