SlideShare a Scribd company logo
ASP.NetCore Services & Basic Conceptsby Victor HaydinEleks Software Ltd.
IIS + ASP.Net: low level concepts
Архітектура типового web-сервера
Стек технологій Microsoft для роботи з WebWeb-server: Internet Information Services (IIS)Low-Level: ISAPIMid-Level (.Net): ASP.Net Core ServicesHigh-Level: ASP.NetWebForms,ASP.Net MVCClient-side: ASP.Net AJAX, jQuery
Інтеграція ASP.Net та IIS
ASP.Net Core Services
ASP.Net Core ServicesБазові сутності:HttpApplicationHttpContextHttpRequest
HttpResponseHttpHandlerHttpModule
HttpHandlerIHttpHandler:publicinterfaceIHttpHandler{boolIsReusable { get; }voidProcessRequest(HttpContext context);}IHttpHandlerFactory:publicinterfaceIHttpHandlerFactory {IHttpHandlerGetHandler(HttpContext context, stringrequestType, stringurl, stringpathTranslated);  voidReleaseHandler(IHttpHandler handler);}
HttpContextCacheHandlerItemsRequestResponseServerSessionUseretc.
HttpRequestApplicationPath, FilePath, Path…Browser (UserAgent)CookiesFilesHeadersHttpMethodIsAuthenticated, IsLocal, IsSecureConnectionParams(Form, QueryStringetc.)RawUrlRequestTypeUserHostAddress (UserHostName)UserLanguages
HttpResponseRedirect() (RedirectToRoute() etc.)Write() (WriteFile() etc.)ContentTypeCookiesHeadersOutputStream (Output)Status (StatusCode, StatusDescription, SubStatusCode etc.)
HttpModuleIHttpModule:publicinterfaceIHttpModule {voidInit(HttpApplication context);voidDispose();}
HttpApplication pipelineBeginRequestAuthenticateRequestAuthorizeRequestResolveRequestCache[A handler (a page corresponding to the request URL) is created at this point.]AcquireRequestStatePreRequestHandlerExecute[The handler is executed.]PostRequestHandlerExecuteReleaseRequestState[Response filters, if any, filter the output.]UpdateRequestCacheEndRequest
ASP.Net Core Services
ASP.Net: Additional Platform Features
Additional platform featuresWindows/Forms authenticationMembership, Roles and ProfilesUrl-based authorizationData cachingInternationalizationPerformance and monitoring
ASPX Rendering Engine
ASPX-файлиОбробляються за допомогою стандартного HttpHandlerКомпілюються при першому звертанні до них у спеціальний клас, який формує респонс для клієнтаВміст aspx-файла – це декларативний опис HTML-розмітки, яка буде віддана клієнту
ASP.Net: High Level Frameworks
Екосистема ASP.Net
ASP.NetWebFormsПлюсиБазовий фреймворк для ASP.Netз моменту його появи
Низький рівень входження, особливо для програмістів з досвідом написання настільних додатків
Багата бібліотека «рідних» і сторонніх контролів і компонент
Абстрагованість від HTTP

More Related Content

PPTX
Web Development: Yesterday, Today, Tomorrow
PPT
Антон Скрипник "Сервер паралельного підрахунку голосів"
PPTX
Distributed vcs basics + hg
PPTX
Databases in .NET
PDF
Not Only Java [JDay Lviv 2013]
PPTX
Віктор Чех “Ріст від 0 до 20 людей з допомогою фріланс бірж”
PDF
Marketing by nerds: how R&D actually works
PPTX
Web Development: Yesterday, Today, Tomorrow
Антон Скрипник "Сервер паралельного підрахунку голосів"
Distributed vcs basics + hg
Databases in .NET
Not Only Java [JDay Lviv 2013]
Віктор Чех “Ріст від 0 до 20 людей з допомогою фріланс бірж”
Marketing by nerds: how R&D actually works

Viewers also liked (20)

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

Similar to ASP.Net Core Services (20)

PPTX
10 asp.net
PPTX
Web service lecture
PPTX
ASP.Net basics
PPTX
ASP.Net part 2
PDF
Корнілов Андрій
PPTX
PPTX
Aspnet core
PDF
"Hancture Mediator Architecture: The Secret Ingredient of a Successful Applic...
PPTX
ASP.NET Core лекція 02.pptx
PPTX
Lviv MDDay 2014. Дмитро Андреєв “знайомство з .Net micro framework”
PDF
"Key considerations in implementing a distributed message-sending system usin...
PPT
Технологія Web 2.0
PPT
Web 2 0
PPT
Web 2 0
PPT
Web 2 0
PPT
Основні поняття Android. Роман Мазур
PPTX
Advanced c sharp part 3
ODT
Андрій Корнілов Asterisk
PPTX
Автомат розроб сайтів_огляд_web2
PPTX
System programing module 2. Threads
10 asp.net
Web service lecture
ASP.Net basics
ASP.Net part 2
Корнілов Андрій
Aspnet core
"Hancture Mediator Architecture: The Secret Ingredient of a Successful Applic...
ASP.NET Core лекція 02.pptx
Lviv MDDay 2014. Дмитро Андреєв “знайомство з .Net micro framework”
"Key considerations in implementing a distributed message-sending system usin...
Технологія Web 2.0
Web 2 0
Web 2 0
Web 2 0
Основні поняття Android. Роман Мазур
Advanced c sharp part 3
Андрій Корнілов Asterisk
Автомат розроб сайтів_огляд_web2
System programing module 2. Threads
Ad

More from Victor Haydin (7)

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

ASP.Net Core Services

Editor's Notes

  • #2: 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.
  • #6: 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.
  • #14: 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.