SlideShare a Scribd company logo
1 of 25
ASP.Net Core Services & Basic Concepts by Victor Haydin Eleks Software Ltd.
IIS + ASP.Net: low level concepts
Архітектура типового web-сервера
Стек технологій Microsoft для роботи з Web Web-server: Internet Information Services (IIS) Low-Level: ISAPI Mid-Level (.Net): ASP.Net Core Services High-Level: ASP.NetWebForms,ASP.Net MVC Client-side: ASP.Net AJAX, jQuery
Інтеграція ASP.Net та IIS
ASP.Net Core Services
ASP.Net Core Services Базові сутності: HttpApplication HttpContext ,[object Object]
HttpResponseHttpHandler HttpModule
HttpHandler IHttpHandler: publicinterfaceIHttpHandler{ boolIsReusable { get; } voidProcessRequest(HttpContext context); } IHttpHandlerFactory: publicinterfaceIHttpHandlerFactory { IHttpHandlerGetHandler(HttpContext context,  stringrequestType, stringurl,  stringpathTranslated);   voidReleaseHandler(IHttpHandler handler); }
HttpContext Cache Handler Items Request Response Server Session User etc.
HttpRequest ApplicationPath, FilePath, Path… Browser (UserAgent) Cookies Files Headers HttpMethod IsAuthenticated, IsLocal, IsSecureConnection Params(Form, QueryStringetc.) RawUrl RequestType UserHostAddress (UserHostName) UserLanguages
HttpResponse Redirect() (RedirectToRoute() etc.) Write() (WriteFile() etc.) ContentType Cookies Headers OutputStream (Output) Status (StatusCode, StatusDescription, SubStatusCode etc.)
HttpModule IHttpModule: publicinterfaceIHttpModule { voidInit(HttpApplication context); voidDispose(); }
HttpApplication pipeline BeginRequest AuthenticateRequest AuthorizeRequest ResolveRequestCache [A handler (a page corresponding to the request URL) is created at this point.] AcquireRequestState PreRequestHandlerExecute [The handler is executed.] PostRequestHandlerExecute ReleaseRequestState [Response filters, if any, filter the output.] UpdateRequestCache EndRequest
ASP.Net: Additional Platform Features
Additional platform features Windows/Forms authentication Membership, Roles and Profiles Url-based authorization Data caching Internationalization Performance and monitoring
ASPX Rendering Engine
ASPX-файли Обробляються за допомогою стандартного HttpHandler Компілюються при першому звертанні до них у спеціальний клас, який формує респонс для клієнта Вміст aspx-файла – це декларативний опис HTML-розмітки, яка буде віддана клієнту
ASP.Net: High Level Frameworks
Екосистема ASP.Net
ASP.NetWebForms Плюси ,[object Object]
Низький рівень входження, особливо для програмістів з досвідом написання настільних додатків
Багата бібліотека «рідних» і сторонніх контролів і компонент
Абстрагованість від HTTP

More Related Content

Viewers also liked

Mensageiro Luterano - Novembro 2014
Mensageiro Luterano - Novembro 2014Mensageiro Luterano - Novembro 2014
Mensageiro Luterano - Novembro 2014Noimix
 
CMSM - Reunião 16 de Abril
CMSM - Reunião 16 de Abril CMSM - Reunião 16 de Abril
CMSM - Reunião 16 de Abril Nuno Antão
 
Google drive y dropbox
Google drive y dropboxGoogle drive y dropbox
Google drive y dropboxJasbeth Loaiza
 
Ernesto samonte how to use spybot-s&d
Ernesto samonte how to use spybot-s&dErnesto samonte how to use spybot-s&d
Ernesto samonte how to use spybot-s&dErnesto Samonte
 
Participacion POT 2014
Participacion POT 2014Participacion POT 2014
Participacion POT 2014Ektwr1982
 
Abstraccion de las polis griegas
Abstraccion de las polis griegasAbstraccion de las polis griegas
Abstraccion de las polis griegasnicolrojas0329
 
24 os impérios ibéricos
24   os impérios ibéricos24   os impérios ibéricos
24 os impérios ibéricosCarla Freitas
 
Cronologia tentativa golpe
Cronologia tentativa golpeCronologia tentativa golpe
Cronologia tentativa golpeMarcia Scherer
 
EL GRAN "VIEJO LUCHADOR"
EL GRAN "VIEJO LUCHADOR"EL GRAN "VIEJO LUCHADOR"
EL GRAN "VIEJO LUCHADOR"maurocruz79
 
928485 apostila-merkabah
928485 apostila-merkabah928485 apostila-merkabah
928485 apostila-merkabahGê Rocha
 

Viewers also liked (20)

Modern
ModernModern
Modern
 
Mensageiro Luterano - Novembro 2014
Mensageiro Luterano - Novembro 2014Mensageiro Luterano - Novembro 2014
Mensageiro Luterano - Novembro 2014
 
Resumo matrizreferencia
Resumo matrizreferenciaResumo matrizreferencia
Resumo matrizreferencia
 
CMSM - Reunião 16 de Abril
CMSM - Reunião 16 de Abril CMSM - Reunião 16 de Abril
CMSM - Reunião 16 de Abril
 
Saresp2011
Saresp2011Saresp2011
Saresp2011
 
Google drive y dropbox
Google drive y dropboxGoogle drive y dropbox
Google drive y dropbox
 
Facebook ads,
Facebook ads,Facebook ads,
Facebook ads,
 
Bondia Lleida 31082012
Bondia Lleida 31082012Bondia Lleida 31082012
Bondia Lleida 31082012
 
BonDia Lleida 30092011
BonDia Lleida 30092011BonDia Lleida 30092011
BonDia Lleida 30092011
 
Ernesto samonte how to use spybot-s&d
Ernesto samonte how to use spybot-s&dErnesto samonte how to use spybot-s&d
Ernesto samonte how to use spybot-s&d
 
Participacion POT 2014
Participacion POT 2014Participacion POT 2014
Participacion POT 2014
 
Bondia Lleida 01062011
Bondia Lleida 01062011Bondia Lleida 01062011
Bondia Lleida 01062011
 
Abstraccion de las polis griegas
Abstraccion de las polis griegasAbstraccion de las polis griegas
Abstraccion de las polis griegas
 
matematicasprope2010
matematicasprope2010matematicasprope2010
matematicasprope2010
 
24 os impérios ibéricos
24   os impérios ibéricos24   os impérios ibéricos
24 os impérios ibéricos
 
Cronologia tentativa golpe
Cronologia tentativa golpeCronologia tentativa golpe
Cronologia tentativa golpe
 
Lista 2 matemática
Lista 2 matemáticaLista 2 matemática
Lista 2 matemática
 
EL GRAN "VIEJO LUCHADOR"
EL GRAN "VIEJO LUCHADOR"EL GRAN "VIEJO LUCHADOR"
EL GRAN "VIEJO LUCHADOR"
 
Unidad 1
Unidad 1Unidad 1
Unidad 1
 
928485 apostila-merkabah
928485 apostila-merkabah928485 apostila-merkabah
928485 apostila-merkabah
 

Similar to ASP.Net Core Services

Web service lecture
Web service lectureWeb service lecture
Web service lectureeleksdev
 
10 asp.net
10 asp.net 10 asp.net
10 asp.net eleksdev
 
Aspnet core
Aspnet coreAspnet core
Aspnet coreeleksdev
 
V24 com to_net
V24 com to_netV24 com to_net
V24 com to_netRingonoki
 
11 web services
11 web services11 web services
11 web serviceseleksdev
 
Lec11 користувацькi елементи керування
Lec11 користувацькi елементи керуванняLec11 користувацькi елементи керування
Lec11 користувацькi елементи керуванняcit-cit
 
5 Підсистема введення/виведення. OPC
5 Підсистема введення/виведення. OPC5 Підсистема введення/виведення. OPC
5 Підсистема введення/виведення. OPCПупена Александр
 
Caliburn Micro Overview
Caliburn Micro OverviewCaliburn Micro Overview
Caliburn Micro OverviewKiev ALT.NET
 
"Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ...
"Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ..."Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ...
"Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ...Fwdays
 
Lec12 користувацькi елементи керування ed
Lec12 користувацькi елементи керування edLec12 користувацькi елементи керування ed
Lec12 користувацькi елементи керування edcit-cit
 
UA.SC 2017: Безпека вашого публічного API
UA.SC 2017: Безпека вашого публічного APIUA.SC 2017: Безпека вашого публічного API
UA.SC 2017: Безпека вашого публічного APIOleks Maistrenko
 
DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)
DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)
DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)Drupaltour
 

Similar to ASP.Net Core Services (20)

ASP.Net basics
ASP.Net basics ASP.Net basics
ASP.Net basics
 
Web service lecture
Web service lectureWeb service lecture
Web service lecture
 
10 asp.net
10 asp.net 10 asp.net
10 asp.net
 
ASP.Net part 2
ASP.Net part 2ASP.Net part 2
ASP.Net part 2
 
Aspnet core
Aspnet coreAspnet core
Aspnet core
 
ASP.Net MVC
ASP.Net MVCASP.Net MVC
ASP.Net MVC
 
Html5 - ready yet?(ukr)
Html5 - ready yet?(ukr)Html5 - ready yet?(ukr)
Html5 - ready yet?(ukr)
 
V24 com to_net
V24 com to_netV24 com to_net
V24 com to_net
 
вашенюк
вашенюквашенюк
вашенюк
 
11 web services
11 web services11 web services
11 web services
 
Lec11 користувацькi елементи керування
Lec11 користувацькi елементи керуванняLec11 користувацькi елементи керування
Lec11 користувацькi елементи керування
 
5 Підсистема введення/виведення. OPC
5 Підсистема введення/виведення. OPC5 Підсистема введення/виведення. OPC
5 Підсистема введення/виведення. OPC
 
Caliburn Micro Overview
Caliburn Micro OverviewCaliburn Micro Overview
Caliburn Micro Overview
 
"Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ...
"Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ..."Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ...
"Laravel Tips & Tricks - 7 Steps to Dramatically Improve Performance", Yehor ...
 
Lec12 користувацькi елементи керування ed
Lec12 користувацькi елементи керування edLec12 користувацькi елементи керування ed
Lec12 користувацькi елементи керування ed
 
85082.pptx
85082.pptx85082.pptx
85082.pptx
 
Crawler.pptx
Crawler.pptxCrawler.pptx
Crawler.pptx
 
UA.SC 2017: Безпека вашого публічного API
UA.SC 2017: Безпека вашого публічного APIUA.SC 2017: Безпека вашого публічного API
UA.SC 2017: Безпека вашого публічного API
 
DAL
DALDAL
DAL
 
DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)
DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)
DrupalTour. Khmelnytskyi — Ember (Timur Bolotyuh, stfalcon.com)
 

More from Victor Haydin

IoT: future that has already happened
IoT: future that has already happenedIoT: future that has already happened
IoT: future that has already happenedVictor Haydin
 
How to write your database: the story about Event Store
How to write your database: the story about Event StoreHow to write your database: the story about Event Store
How to write your database: the story about Event StoreVictor Haydin
 
The Renaissance of C++
The Renaissance of C++The Renaissance of C++
The Renaissance of C++Victor Haydin
 
Fast & Furious: building HPC solutions in a nutshell
Fast & Furious: building HPC solutions in a nutshellFast & Furious: building HPC solutions in a nutshell
Fast & Furious: building HPC solutions in a nutshellVictor Haydin
 
Concurrency: how to shoot yourself in both feet. Simultaneously.
Concurrency: how to shoot yourself in both feet. Simultaneously.Concurrency: how to shoot yourself in both feet. Simultaneously.
Concurrency: how to shoot yourself in both feet. Simultaneously.Victor Haydin
 
Hadoop: the Big Answer to the Big Question of the Big Data
Hadoop: the Big Answer to the Big Question of the Big DataHadoop: the Big Answer to the Big Question of the Big Data
Hadoop: the Big Answer to the Big Question of the Big DataVictor Haydin
 
Cloud Computing in a Nutshell
Cloud Computing in a NutshellCloud Computing in a Nutshell
Cloud Computing in a NutshellVictor Haydin
 

More from Victor Haydin (7)

IoT: future that has already happened
IoT: future that has already happenedIoT: future that has already happened
IoT: future that has already happened
 
How to write your database: the story about Event Store
How to write your database: the story about Event StoreHow to write your database: the story about Event Store
How to write your database: the story about Event Store
 
The Renaissance of C++
The Renaissance of C++The Renaissance of C++
The Renaissance of C++
 
Fast & Furious: building HPC solutions in a nutshell
Fast & Furious: building HPC solutions in a nutshellFast & Furious: building HPC solutions in a nutshell
Fast & Furious: building HPC solutions in a nutshell
 
Concurrency: how to shoot yourself in both feet. Simultaneously.
Concurrency: how to shoot yourself in both feet. Simultaneously.Concurrency: how to shoot yourself in both feet. Simultaneously.
Concurrency: how to shoot yourself in both feet. Simultaneously.
 
Hadoop: the Big Answer to the Big Question of the Big Data
Hadoop: the Big Answer to the Big Question of the Big DataHadoop: the Big Answer to the Big Question of the Big Data
Hadoop: the Big Answer to the Big Question of the Big Data
 
Cloud Computing in a Nutshell
Cloud Computing in a NutshellCloud Computing in a Nutshell
Cloud Computing in a Nutshell
 

ASP.Net Core Services

Editor's Notes

  1. This template can be used as a starter file for presenting training materials in a group setting.SectionsRight-click on a slide to add sections. Sections can help to organize your slides or facilitate collaboration between multiple authors.NotesUse the Notes section for delivery notes or to provide additional details for the audience. View these notes in Presentation View during your presentation. Keep in mind the font size (important for accessibility, visibility, videotaping, and online production)Coordinated colors Pay particular attention to the graphs, charts, and text boxes.Consider that attendees will print in black and white or grayscale. Run a test print to make sure your colors work when printed in pure black and white and grayscale.Graphics, tables, and graphsKeep it simple: If possible, use consistent, non-distracting styles and colors.Label all graphs and tables.
  2. Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  3. Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.