{"id":399,"date":"2023-02-03T14:21:28","date_gmt":"2023-02-03T14:21:28","guid":{"rendered":"https:\/\/dijix.com.ua\/blog\/?p=399"},"modified":"2023-02-03T14:21:28","modified_gmt":"2023-02-03T14:21:28","slug":"statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7","status":"publish","type":"post","link":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/","title":{"rendered":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7"},"content":{"rendered":"<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043b\u0456\u0447\u0438\u043b\u044c\u043d\u0438\u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0434\u043b\u044f \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0441\u0430\u0439\u0442\u0443.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0443, \u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 ASP.NET Core Web Application (\u0412\u0435\u0431-\u0434\u043e\u0434\u0430\u0442\u043e\u043a ASP.NET Core), \u044f\u043a\u0438\u0439 \u043c\u0456\u0441\u0442\u0438\u0442\u0438\u043c\u0435 \u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a, \u0432\u043b\u0430\u0441\u043d\u0438\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 middleware \u0456 \u043c\u0456\u043d\u0456\u043c\u0430\u043b\u044c\u043d\u0443 \u043b\u043e\u0433\u0456\u043a\u0443 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u0431\u0430\u0437\u043e\u044e \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 EF Core.<\/p>\n<p>\u042f \u043e\u0447\u0456\u043a\u0443\u044e \u0432\u0456\u0434 \u0432\u0430\u0441 \u043c\u0456\u043d\u0456\u043c\u0430\u043b\u044c\u043d\u0456 \u0437\u043d\u0430\u043d\u043d\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0456\u0439 Entity Framework Core \u0456 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0443 MVC, \u0442\u043e\u043c\u0443 \u0432 \u0434\u0435\u044f\u043a\u0438\u0445 \u043c\u0456\u0441\u0446\u044f\u0445, \u0432\u0434\u0430\u0432\u0430\u0442\u0438\u0441\u044f \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u0438\u0446\u0456 \u043d\u0435 \u0441\u0442\u0430\u043d\u0443.<\/p>\n<h2>\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7<\/h2>\n<p><a href=\"#createProject\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0443<\/a><\/p>\n<p><a href=\"#configString\">\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f<\/a><\/p>\n<p><a href=\"#modelRepository\">\u041c\u043e\u0434\u0435\u043b\u044c \u0456 \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0439<\/a><\/p>\n<p><a href=\"#configDatabase\">\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u043b\u044c\u043d\u0438\u043a\u0430 \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445 \u0456 \u043a\u043b\u0430\u0441\u0443 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443<\/a><\/p>\n<p><a href=\"#createDatabase\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445<\/a><\/p>\n<p><a href=\"#createMiddleware\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043a\u043b\u0430\u0441\u0443 middleware<\/a><\/p>\n<p><a href=\"#createControllers\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0430 \u0442\u0430 \u043f\u043e\u0434\u0430\u043d\u044c<\/a><\/p>\n<h2 id=\"createProject\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0443<\/h2>\n<p>\u0429\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u0440\u043e\u0454\u043a\u0442 <strong>VisitsCounter<\/strong>, \u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c Visual Studio \u0456 \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0443 \u043c\u0435\u043d\u044e <strong>File<\/strong> (\u0424\u0430\u0439\u043b) &#8211; <strong>New Project<\/strong> (\u0421\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u041f\u0440\u043e\u0454\u043a\u0442). \u0412\u043a\u0430\u0436\u0456\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0443 <strong>ASP.NET Core Web Application<\/strong> (\u0412\u0435\u0431-\u0434\u043e\u0434\u0430\u0442\u043e\u043a ASP.NET Core).<\/p>\n<p>\u0412\u0432\u0435\u0434\u0456\u0442\u044c <strong>VisitsCounter<\/strong>, \u0443 \u043f\u043e\u043b\u0456 <strong>Name<\/strong>, \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456\u0439 \u0441\u0442\u043e\u0440\u0456\u043d\u0446\u0456 \u0432\u043a\u0430\u0436\u0456\u0442\u044c Framework .Net 7.0 \u0456 \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 Create:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-295\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/1-min-1.jpg\" alt=\"\" width=\"887\" height=\"621\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/1-min-1.jpg 887w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/1-min-1-300x210.jpg 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/1-min-1-768x538.jpg 768w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/p>\n<h2 id=\"configString\">\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f<\/h2>\n<p>\u0414\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u043c\u043e \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0443<strong> Entity Framework Core Sql Server<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-296\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/2-min-1.jpg\" alt=\"Entity Framework Core Sql Server\" width=\"780\" height=\"389\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/2-min-1.jpg 780w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/2-min-1-300x150.jpg 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/2-min-1-768x383.jpg 768w\" sizes=\"auto, (max-width: 780px) 100vw, 780px\" \/><\/p>\n<p>\u0410\u0431\u043e \u0447\u0435\u0440\u0435\u0437 Package Manager Console:<\/p>\n<pre class=\"lang:default decode:true \">Install-Package Microsoft.EntityFrameworkCore.SqlServer<\/pre>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c\u043e \u0443 \u0444\u0430\u0439\u043b <strong>appsettings.json<\/strong> \u0456 \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c\u043e \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0442\u0430 \u043b\u043e\u0433\u0443\u0432\u0430\u043d\u043d\u044f:<\/p>\n<pre class=\"lang:default decode:true \">{\r\n  \"ConnectionStrings\": {\r\n    \"DefaultConnection\": \"Server=(localdb)\\mssqllocaldb;Database=visitsCounterDb;Trusted_Connection=True;\"\r\n  },\r\n  \"Logging\": {\r\n    \"LogLevel\": {\r\n      \"Default\": \"Information\",\r\n      \"Microsoft.AspNetCore\": \"Information\"\r\n    }\r\n  },\r\n  \"AllowedHosts\": \"*\"\r\n}\r\n<\/pre>\n<p>\u0420\u044f\u0434\u043a\u0438 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u044e\u0442\u044c\u0441\u044f \u0443 \u0444\u0430\u0439\u043b\u0456 appsettings.json, \u0443 \u043a\u043e\u0434\u0456 \u0432\u0438\u0449\u0435 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043e \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0440\u044f\u0434\u043a\u0430 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u0411\u0414 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 GameStore. \u0423 \u043f\u0440\u043e\u0454\u043a\u0442\u0456 \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432\u0435\u0440\u0441\u0456\u044f LocalDB \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0443 SQL Server, \u044f\u043a\u0430 \u0441\u043f\u0440\u043e\u0454\u043a\u0442\u043e\u0432\u0430\u043d\u0430 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0456\u0432 \u0456 \u043d\u0435 \u0432\u0438\u043c\u0430\u0433\u0430\u0454 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0430\u0431\u043e \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0438\u0445 \u0434\u0430\u043d\u0438\u0445.<\/p>\n<p>\u0412\u0438 \u0437\u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u0430\u043d\u0456 \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0438\u0442\u0438, \u0449\u043e\u0431 \u0440\u044f\u0434\u043e\u043a \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0431\u0443\u0432 \u0454\u0434\u0438\u043d\u0438\u043c \u043d\u0435\u0440\u043e\u0437\u0440\u0438\u0432\u043d\u0438\u043c \u0440\u044f\u0434\u043a\u043e\u043c. \u0424\u043e\u0440\u043c\u0430\u0442 \u0440\u044f\u0434\u043a\u0430 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0456\u0447\u043d\u0438\u0439 \u0434\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445.<\/p>\n<p>\u041d\u0430\u0432\u0456\u0442\u044c \u0443 \u043f\u0440\u043e\u0454\u043a\u0442\u0456, \u0449\u043e \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043b\u0438\u0448\u0435 \u043d\u0435\u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u043e\u0431\u0441\u044f\u0433 \u0434\u0430\u043d\u0438\u0445, \u0432\u0430\u0436\u043b\u0438\u0432\u043e \u0440\u043e\u0437\u0443\u043c\u0456\u0442\u0438 \u0437\u0430\u043f\u0438\u0442\u0438 \u0456 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 SQL, \u044f\u043a\u0456 \u0456\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Entity Framework Core \u043f\u043e\u0441\u0438\u043b\u0430\u0454 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445.<\/p>\n<h2 id=\"modelRepository\">\u041c\u043e\u0434\u0435\u043b\u044c \u0456 \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0439<\/h2>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u0430 <strong>VisitsCounter<\/strong> \u0491\u0440\u0443\u043d\u0442\u0443\u0432\u0430\u0442\u0438\u043c\u0435\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0430\u0445, \u0430 \u0441\u0430\u043c\u0435: \u0434\u0430\u0442\u0456 \u0432\u0456\u0437\u0438\u0442\u0443, \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0432\u0456\u0437\u0438\u0442\u0456\u0432 \u0456 \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0437\u0430 \u0434\u043e\u0431\u0443. \u0421\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u043f\u0430\u043f\u043a\u0443 <strong>Models<\/strong> \u0456 \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u0432 \u043d\u0435\u0457 \u0444\u0430\u0439\u043b \u043a\u043b\u0430\u0441\u0443 \u043d\u0430 \u0456\u043c&#8217;\u044f <strong>Visitor.cs<\/strong> \u0437 \u0442\u0430\u043a\u0438\u043c \u0432\u043c\u0456\u0441\u0442\u043e\u043c:<\/p>\n<pre class=\"lang:default decode:true \">public class Visitor\r\n    {\r\n        public Guid Id { get; set; }\r\n        public int Visitors { get; set; }\r\n        public int Views { get; set; }\r\n        public DateTime Date { get; set; }\r\n    }\r\n<\/pre>\n<p>\u0423 \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u0456 \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0434\u043e \u0434\u0430\u043d\u0438\u0445 \u0443 \u0411\u0414 \u0456\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Entity Framework Core \u043f\u043e\u043a\u043b\u0430\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u043b\u0430\u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443 \u0411\u0414. \u0429\u043e\u0431 \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0438\u0442\u0438 \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u0432 \u043f\u0430\u043f\u043a\u0443 <strong>Models<\/strong> \u0444\u0430\u0439\u043b \u043a\u043b\u0430\u0441\u0443 \u043d\u0430 \u0456\u043c&#8217;\u044f <strong>ApplicationContext.cs<\/strong> \u0456\u0437 \u0442\u0430\u043a\u0438\u043c \u043a\u043e\u0434\u043e\u043c:<\/p>\n<pre class=\"lang:default decode:true \">public class ApplicationContext : DbContext\r\n    {\r\n        public ApplicationContext(DbContextOptions&lt;ApplicationContext&gt; context) : base(context)\r\n        {\r\n\r\n        }\r\n        public DbSet&lt;Visitor&gt; Visitors { get; set; }\r\n    }\r\n<\/pre>\n<p>\u041c\u0435\u043d\u0456 \u043f\u043e\u0434\u043e\u0431\u0430\u0454\u0442\u044c\u0441\u044f \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0443\u0432\u0430\u0442\u0438 \u0443\u0437\u0433\u043e\u0434\u0436\u0435\u043d\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0434\u0430\u043d\u0438\u0445 \u0443 \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0443 \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c \u043f\u0430\u0442\u0435\u0440\u043d\u0443 &#8220;\u0421\u0445\u043e\u0432\u0438\u0449\u0435&#8221; (Repository), \u0443 \u044f\u043a\u043e\u043c\u0443 \u0456\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454 \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456 \u0442\u0430 \u043c\u0435\u0442\u043e\u0434\u0438, \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0456 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0434\u043e \u0434\u0430\u043d\u0438\u0445, \u0430 \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u043c\u0435\u0445\u0430\u043d\u0456\u0437\u043c\u043e\u043c \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u043a\u043b\u0430\u0441 \u0440\u0435\u0430\u043b\u0456\u0437\u0430\u0446\u0456\u0457.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0432\u0430\u0433\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043f\u0430\u0442\u0435\u0440\u043d\u0443 &#8220;\u0421\u0445\u043e\u0432\u0438\u0449\u0435&#8221; \u043f\u043e\u0432&#8217;\u044f\u0437\u0430\u043d\u0430 \u0437 \u043f\u043e\u043b\u0435\u0433\u0448\u0435\u043d\u043d\u044f\u043c \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0447\u0430\u0441\u0442\u0438\u043d\u0438 MVC \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0443, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0456\u0437 \u0442\u0438\u043c, \u0449\u043e \u0434\u0435\u0442\u0430\u043b\u0456, \u044f\u043a\u0456 \u0441\u0442\u043e\u0441\u0443\u044e\u0442\u044c\u0441\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445, \u043f\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u0456 \u0432\u0456\u0434 \u0456\u043d\u0448\u0438\u0445 \u0447\u0430\u0441\u0442\u0438\u043d \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0443.<\/p>\n<p>\u0429\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0456\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441\u0445\u043e\u0432\u0438\u0449\u0430, \u0441\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u043f\u0430\u043f\u043a\u0443 <strong>Interfaces<\/strong> \u0456 \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u0432 \u043d\u0435\u0457 \u0444\u0430\u0439\u043b \u0456\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 \u043d\u0430 \u0456\u043c&#8217;\u044f <strong>IVisitor.cs<\/strong> \u0437 \u0442\u0430\u043a\u0438\u043c \u0432\u043c\u0456\u0441\u0442\u043e\u043c:<\/p>\n<pre class=\"lang:default decode:true \">public interface IVisitor\r\n    {\r\n        Task&lt;IEnumerable&lt;Visitor&gt;&gt; GetStatisticsByDate(DateTime startDate, DateTime endDate);\r\n        Task IncrementVisitors();\r\n        Task IncrementViews();\r\n    }\r\n<\/pre>\n<p>\u041c\u0435\u0442\u043e\u0434 <strong>GetStatisticsByDate()<\/strong>, \u0434\u0430\u0441\u0442\u044c \u0437\u043c\u043e\u0433\u0443 \u043e\u0442\u0440\u0438\u043c\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u0437\u0430 \u0437\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u043c\u0438 \u0447\u0430\u0441\u043e\u0432\u0438\u043c\u0438 \u0432\u0456\u0434\u0440\u0456\u0437\u043a\u0430\u043c\u0438, \u043c\u0435\u0442\u043e\u0434\u0438 I<strong>ncrementVisitors() <\/strong>\u0456<strong> IncrementViews()<\/strong>, \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456 \u0434\u043b\u044f \u0437\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0456 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0440\u0435\u0441\u0443\u0440\u0441\u0443.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u043a\u043b\u0430\u0441 \u0440\u0435\u0430\u043b\u0456\u0437\u0430\u0446\u0456\u0457 \u0441\u0445\u043e\u0432\u0438\u0449\u0430, \u0449\u043e\u0431 \u0437\u0432\u0435\u0440\u0442\u0430\u0442\u0438\u0441\u044f \u0434\u043e \u0434\u0430\u043d\u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u043a\u043b\u0430\u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443, \u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e \u043f\u0430\u043f\u043a\u0443 <strong>Repository<\/strong> \u0456 \u0434\u043e\u0434\u0430\u043c\u043e \u0442\u0443\u0434\u0438 \u043a\u043b\u0430\u0441 \u043d\u0430 \u0456\u043c&#8217;\u044f <strong>VisitorRepository<\/strong>, \u0437 \u0442\u0430\u043a\u0438\u043c \u0432\u043c\u0456\u0441\u0442\u043e\u043c:<\/p>\n<pre class=\"lang:default decode:true \">public class VisitorRepository : IVisitor\r\n    {\r\n        private ApplicationContext _context;\r\n\r\n        public VisitorRepository(ApplicationContext context)\r\n        {\r\n            _context = context;\r\n        }\r\n        public async Task&lt;IEnumerable&lt;Visitor&gt;&gt; GetStatisticsByDate(DateTime startDate, DateTime endDate)\r\n        {\r\n            return await _context.Visitors.Where(e =&gt; e.Date &gt;= startDate &amp;&amp; e.Date &lt;= endDate).ToListAsync();\r\n        }\r\n\r\n        public async Task IncrementViews()\r\n        {\r\n            if (_context.Visitors.Any(e =&gt; e.Date.Equals(DateTime.Today)))\r\n            {\r\n                await _context.Database.ExecuteSqlRawAsync($\"UPDATE Visitors SET [Views] += 1 WHERE Date = '{DateTime.Today.ToString(\"yyyy\/MM\/dd\")}'\");\r\n            }\r\n            else\r\n            {\r\n                await _context.Visitors.AddAsync(new Visitor\r\n                {\r\n                    Date = DateTime.Today,\r\n                    Visitors = 1,\r\n                    Views = 1\r\n                });\r\n                await _context.SaveChangesAsync();\r\n            }\r\n        }\r\n\r\n        public async Task IncrementVisitors()\r\n        {\r\n            if (_context.Visitors.Any(e =&gt; e.Date.Equals(DateTime.Today)))\r\n            {\r\n                await _context.Database.ExecuteSqlRawAsync($\"UPDATE Visitors SET [Visitors] += 1, [Views] += 1 WHERE Date = '{DateTime.Today.ToString(\"yyyy\/MM\/dd\")}'\");\r\n            }\r\n            else\r\n            {\r\n                await _context.Visitors.AddAsync(new Visitor\r\n                {\r\n                    Date = DateTime.Today,\r\n                    Visitors = 1,\r\n                    Views = 1\r\n                });\r\n                await _context.SaveChangesAsync();\r\n            }\r\n        }\r\n    }\r\n<\/pre>\n<h2 id=\"configDatabase\">\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u043b\u044c\u043d\u0438\u043a\u0430 \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445 \u0456 \u043a\u043b\u0430\u0441\u0443 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443<\/h2>\n<p>\u0414\u043e\u0434\u0430\u0439\u0442\u0435 \u0432 \u043a\u043b\u0430\u0441 <strong>Program.cs<\/strong> \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457, \u0449\u043e\u0431 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u0438\u0442\u0438 \u0456\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 Entity Framework Core \u043f\u0440\u043e \u0442\u0435, \u044f\u043a\u0438\u043c \u0447\u0438\u043d\u043e\u043c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0440\u044f\u0434\u043e\u043a \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f, \u044f\u043a\u0438\u0439 \u043c\u0430\u0454 \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u043b\u044c\u043d\u0438\u043a \u0411\u0414, \u0456 \u044f\u043a \u043a\u0435\u0440\u0443\u0432\u0430\u0442\u0438 \u043a\u043b\u0430\u0441\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443:<\/p>\n<pre class=\"lang:default decode:true\">IConfigurationRoot _confString = new ConfigurationBuilder().\r\n    SetBasePath(AppDomain.CurrentDomain.BaseDirectory).AddJsonFile(\"appsettings.json\").Build();\r\n\r\nbuilder.Services.AddDbContext&lt;ApplicationContext&gt;(options =&gt;\r\noptions.UseSqlServer(_confString.GetConnectionString(\"DefaultConnection\")));\r\n\r\nbuilder.Services.AddTransient&lt;IVisitor, VisitorRepository&gt;();\r\n<\/pre>\n<p>\u041c\u0435\u0442\u043e\u0434 <strong>AddDbContext&lt;T&gt;()<\/strong>, \u0449\u043e \u0440\u043e\u0437\u0448\u0438\u0440\u044e\u0454, \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043b\u0430\u0441\u0443 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443, \u0432\u043a\u0430\u0437\u0443\u0454 \u0456\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0456 Entity Framework Core, \u044f\u043a\u0438\u0439 \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u043b\u044c\u043d\u0438\u043a \u0411\u0414 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 (\u0443 \u0446\u044c\u043e\u043c\u0443 \u0440\u0430\u0437\u0456 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043c\u0435\u0442\u043e\u0434\u0443 UseSqlServer(), \u0430\u043b\u0435 \u0434\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u043b\u044c\u043d\u0438\u043a\u0430 \u0411\u0414 \u043f\u0435\u0440\u0435\u0434\u0431\u0430\u0447\u0435\u043d\u043e \u0441\u0432\u0456\u0439 \u043c\u0435\u0442\u043e\u0434), \u0456 \u043d\u0430\u0434\u0430\u0454 \u0440\u044f\u0434\u043e\u043a \u043f\u0456\u0434&#8217;\u0454\u0434\u043d\u0430\u043d\u043d\u044f.<\/p>\n<h2 id=\"createDatabase\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445<\/h2>\n<p>\u0423 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044c\u043e\u043c\u0443 \u0440\u043e\u0437\u0434\u0456\u043b\u0456 \u0434\u043b\u044f \u0456\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438 Entity Framework Core \u0431\u0443\u043b\u043e \u0432\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u0438\u0434 \u0434\u0430\u043d\u0438\u0445, \u0449\u043e \u043f\u0456\u0434\u043b\u044f\u0433\u0430\u044e\u0442\u044c \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044e, \u0456 \u0441\u043f\u043e\u0441\u0456\u0431 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445. \u0414\u0430\u043b\u0456 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0411\u0414.<\/p>\n<p>\u0406\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Entity Framework Core \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0454 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u0441\u0456\u0431, \u0437\u0432\u0430\u043d\u0438\u0439 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u044f\u043c\u0438, \u044f\u043a\u0456 \u044f\u0432\u043b\u044f\u044e\u0442\u044c \u0441\u043e\u0431\u043e\u044e \u043d\u0430\u0431\u043e\u0440\u0438 \u0437\u043c\u0456\u043d, \u0449\u043e \u0441\u0442\u0432\u043e\u0440\u044e\u044e\u0442\u044c \u0430\u0431\u043e \u043c\u043e\u0434\u0438\u0444\u0456\u043a\u0443\u044e\u0442\u044c \u0411\u0414 \u0437 \u043c\u0435\u0442\u043e\u044e \u0457\u0457 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0456\u0437\u0430\u0446\u0456\u0457 \u0437 \u043c\u043e\u0434\u0435\u043b\u043b\u044e \u0434\u0430\u043d\u0438\u0445.<\/p>\n<p>\u0414\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u0454\u044e, \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0442\u0430\u043a\u0443 \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0443:<\/p>\n<pre class=\"lang:default decode:true \">Microsoft.EntityFrameworkCore.Tools<\/pre>\n<p>\u0414\u043b\u044f \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u0457 \u0443 \u0432\u0456\u043a\u043d\u0456 <strong>Package Manager Console<\/strong> \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u0442\u0430\u043a\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true \">Add-Migration Init<\/pre>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u044e, \u044f\u043a\u0430 \u044f\u0432\u043b\u044f\u0454 \u0441\u043e\u0431\u043e\u044e \u0432\u0441\u044c\u043e\u0433\u043e \u043b\u0438\u0448\u0435 \u043d\u0430\u0431\u0456\u0440 \u0456\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u0439, \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043d\u044c\u043e. \u0406\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u0457 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u0457 \u043f\u043e\u0432\u0438\u043d\u043d\u0456 \u0431\u0443\u0442\u0438 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u0456, \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0411\u0414, \u044f\u043a\u0430 \u0437\u043c\u043e\u0436\u0435 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u0434\u0430\u043d\u0456 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438. \u0414\u043b\u044f \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0456\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u0439 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u0457, \u0443 \u0432\u0456\u043a\u043d\u0456<strong> Package Manager Console<\/strong> \u0432\u0438\u043a\u043e\u043d\u0430\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true \">Update-Database<\/pre>\n<p>\u0406\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Entity F\u0433amework Core \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445, \u0437\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e\u0433\u043e \u0432 \u0440\u044f\u0434\u043a\u0443 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f, \u0456 \u0432\u0438\u043a\u043e\u043d\u0430\u0454 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438 \u0432 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u0457. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0431\u0443\u0434\u0435 \u0411\u0414, \u044f\u043a\u0443 \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u043e\u0431&#8217;\u0454\u043a\u0442\u0456\u0432 Visitor.<\/p>\n<h2 id=\"createMiddleware\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043a\u043b\u0430\u0441\u0443 middleware<\/h2>\n<p>\u0423 \u043f\u0440\u043e\u0454\u043a\u0442 \u0434\u043e\u0434\u0430\u043c\u043e \u043f\u0430\u043f\u043a\u0443 <strong>Middleware<\/strong>, \u0430 \u0432 \u043d\u0456\u0439 \u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e \u043a\u043b\u0430\u0441 <strong>VisitorCounterMiddleware<\/strong>, \u0437 \u0442\u0430\u043a\u0438\u043c \u0432\u043c\u0456\u0441\u0442\u043e\u043c:<\/p>\n<pre class=\"lang:default decode:true \">public class VisitorCounterMiddleware\r\n    {\r\n        private readonly RequestDelegate _requestDelegate;\r\n        public VisitorCounterMiddleware(RequestDelegate requestDelegate)\r\n        {\r\n            _requestDelegate = requestDelegate;\r\n        }\r\n\r\n        public async Task Invoke(HttpContext context, IVisitor _visitors)\r\n        {\r\n            string visitorId = context.Request.Cookies[\"VisitorId\"];\r\n            if (visitorId == null)\r\n            {              \r\n                context.Response.Cookies.Append(\"VisitorId\", Guid.NewGuid().ToString(), new CookieOptions()\r\n                {\r\n                    Path = \"\/\",\r\n                    HttpOnly = true,\r\n                    Secure = false,\r\n                    Expires = DateTimeOffset.UtcNow.AddDays(1)\r\n                });\r\n                await _visitors.IncrementVisitors();\r\n            }\r\n            else\r\n            {\r\n                await _visitors.IncrementViews();\r\n            }\r\n\r\n            await _requestDelegate(context);\r\n        }\r\n    }\r\n<\/pre>\n<p>\u041a\u043b\u0430\u0441 middleware \u0437\u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u0430\u043d\u0438\u0439 \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u044f\u043a\u0438\u0439 \u043f\u0440\u0438\u0439\u043c\u0430\u0454 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0442\u0438\u043f\u0443 <strong>RequestDelegate<\/strong>. \u0427\u0435\u0440\u0435\u0437 \u0446\u0435\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u0456\u043d \u043e\u0442\u0440\u0438\u043c\u0443\u0454 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 \u0434\u0435\u043b\u0435\u0433\u0430\u0442 \u0437\u0430\u043f\u0438\u0442\u0443, \u044f\u043a\u0438\u0439 \u0441\u0442\u043e\u0457\u0442\u044c \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u043c \u0443 \u043a\u043e\u043d\u0432\u0435\u0454\u0440\u0456 \u043e\u0431\u0440\u043e\u0431\u043a\u0438 \u0437\u0430\u043f\u0438\u0442\u0443.<\/p>\n<p>\u0422\u0430\u043a\u043e\u0436 \u0443 \u043a\u043b\u0430\u0441\u0456 \u043c\u0430\u0454 \u0431\u0443\u0442\u0438 \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u043c\u0435\u0442\u043e\u0434, \u044f\u043a\u0438\u0439 \u043c\u0430\u0454 \u043d\u0430\u0437\u0438\u0432\u0430\u0442\u0438\u0441\u044f \u0430\u0431\u043e <strong>Invoke<\/strong>, \u0430\u0431\u043e <strong>InvokeAsync<\/strong>. \u041f\u0440\u0438\u0447\u043e\u043c\u0443 \u0446\u0435\u0439 \u043c\u0435\u0442\u043e\u0434 \u043c\u0430\u0454 \u043f\u043e\u0432\u0435\u0440\u0442\u0430\u0442\u0438 \u043e\u0431&#8217;\u0454\u043a\u0442 Task \u0456 \u043f\u0440\u0438\u0439\u043c\u0430\u0442\u0438 \u044f\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0437\u0430\u043f\u0438\u0442\u0443 &#8211; \u043e\u0431&#8217;\u0454\u043a\u0442 <strong>HttpContext<\/strong>. \u0426\u0435\u0439 \u043c\u0435\u0442\u043e\u0434 \u0432\u043b\u0430\u0441\u043d\u0435 \u0456 \u0431\u0443\u0434\u0435 \u043e\u0431\u0440\u043e\u0431\u043b\u044f\u0442\u0438 \u0437\u0430\u043f\u0438\u0442.<\/p>\n<p>\u0421\u0443\u0442\u044c \u0434\u0456\u0457 \u043a\u043b\u0430\u0441\u0443 \u043f\u043e\u043b\u044f\u0433\u0430\u0454 \u0432 \u0442\u043e\u043c\u0443, \u0449\u043e \u043c\u0438 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u044f\u0454\u043c\u043e, \u0447\u0438 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0430 \u043a\u0443\u043a\u0443 \u0437 \u0456\u043c&#8217;\u044f\u043c &#8220;<strong>VisitorId<\/strong>&#8220;, \u044f\u043a\u0449\u043e \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043e, \u0442\u043e \u0442\u0430\u043a\u0438\u0439 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447 \u0443\u0436\u0435 \u0431\u0443\u0432 \u0441\u044c\u043e\u0433\u043e\u0434\u043d\u0456 \u043d\u0430 \u0441\u0430\u0439\u0442\u0456, \u0442\u043e\u043c\u0443 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438 \u0442\u0456\u043b\u044c\u043a\u0438 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432. \u042f\u043a\u0449\u043e \u0436 \u043a\u0443\u043a\u0430 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u044f, \u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0446\u0435 \u043d\u043e\u0432\u0438\u0439 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447, \u0456 \u043a\u0440\u0456\u043c \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432, \u0437\u0431\u0456\u043b\u044c\u0448\u0443\u0454\u043c\u043e \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432. \u041d\u0430\u043f\u0440\u0438\u043a\u0456\u043d\u0446\u0456 \u043c\u0435\u0442\u043e\u0434\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0454\u043c\u043e \u0437\u0430\u043f\u0438\u0442 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u043c\u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0443, \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0432\u0448\u0438 \u043c\u0435\u0442\u043e\u0434<strong> _next.Invoke()<\/strong>.<\/p>\n<p>\u0414\u043b\u044f \u0434\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 middleware, \u044f\u043a\u0438\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0454 \u043a\u043b\u0430\u0441, \u0443 \u043a\u043e\u043d\u0432\u0435\u0454\u0440 \u043e\u0431\u0440\u043e\u0431\u043a\u0438 \u0437\u0430\u043f\u0438\u0442\u0443 \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u043c\u0435\u0442\u043e\u0434 <strong>UseMiddleware()<\/strong>. \u0414\u043e\u0434\u0430\u043c\u043e \u0432 \u043a\u043b\u0430\u0441 <strong>Program.cs<\/strong>, \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a:<\/p>\n<pre class=\"lang:default decode:true \">app.UseMiddleware(typeof(VisitorCounterMiddleware));<\/pre>\n<p>\u0417\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043c\u0435\u0442\u043e\u0434\u0443 <strong>UseMiddleware&lt;T&gt;<\/strong>, \u0443 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043e\u0431&#8217;\u0454\u043a\u0442\u0430 <strong>VisitorCounterMiddleware<\/strong> \u0431\u0443\u0434\u0435 \u0432\u043f\u0440\u043e\u0432\u0430\u0434\u0436\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u043e\u0431&#8217;\u0454\u043a\u0442 \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 RequestDelegate next. \u0422\u043e\u043c\u0443 \u044f\u0432\u043d\u0438\u043c \u0447\u0438\u043d\u043e\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e.<\/p>\n<h2 id=\"createControllers\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0430 \u0442\u0430 \u043f\u043e\u0434\u0430\u043d\u044c<\/h2>\n<p>\u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0443 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0456 <strong>HomeController<\/strong> \u0434\u0456\u044e \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0456 \u0437\u0430\u043b\u0438\u0448\u0438\u043c\u043e \u0434\u0456\u0457 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c, \u0434\u043b\u044f \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u043d\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u0457 \u0441\u0430\u0439\u0442\u043e\u043c:<\/p>\n<pre class=\"lang:default decode:true\">public class HomeController : Controller\r\n    {\r\n        private readonly IVisitor _visitors;\r\n\r\n        public HomeController(IVisitor visitors)\r\n        {\r\n            _visitors = visitors;\r\n        }\r\n        public async Task&lt;IActionResult&gt; GetStatistics()\r\n        {\r\n            var today = DateTime.Today;\r\n             var statistic = await _visitors.GetStatisticsByDate(today.AddMonths(-1), today);\r\n            return View(statistic);\r\n        }\r\n        public IActionResult Index()\r\n        {\r\n            return View();\r\n        }\r\n\r\n        public IActionResult Privacy()\r\n        {\r\n            return View();\r\n        }\r\n\r\n        [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]\r\n        public IActionResult Error()\r\n        {\r\n            return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });\r\n        }\r\n    }\r\n<\/pre>\n<p>\u0423 \u0434\u0456\u0457 <strong>GetStatistics<\/strong>, \u043e\u0442\u0440\u0438\u043c\u0443\u0454\u043c\u043e \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u0437\u0430 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0430\u043c\u0438 \u0456 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0430\u043c\u0438 \u0437\u0430 \u043c\u0438\u043d\u0443\u043b\u0438\u0439 \u043c\u0456\u0441\u044f\u0446\u044c (\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044c-\u044f\u043a\u0456 \u0434\u0456\u0430\u043f\u0430\u0437\u043e\u043d\u0438) \u0456 \u043f\u0435\u0440\u0435\u0434\u0430\u0454\u043c\u043e \u0432 \u043f\u043e\u0434\u0430\u043d\u043d\u044f. \u0423 \u043f\u0430\u043f\u0446\u0456 <strong>Views \/ Home<\/strong>, \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u043f\u043e\u0434\u0430\u043d\u043d\u044f <strong>GetStatistics.cshtml<\/strong>, \u0437 \u0442\u0430\u043a\u0438\u043c \u0432\u043c\u0456\u0441\u0442\u043e\u043c:<\/p>\n<pre class=\"lang:default decode:true \">@{\r\n    ViewData[\"Title\"] = \"Site Statistics\";\r\n}\r\n@model IEnumerable&lt;Visitor&gt;\r\n\r\n&lt;table class=\"table\"&gt;\r\n    &lt;tr&gt;\r\n        &lt;th&gt;Date&lt;\/th&gt;\r\n        &lt;th&gt;Visitors&lt;\/th&gt;\r\n        &lt;th&gt;Views&lt;\/th&gt;\r\n    &lt;\/tr&gt;\r\n    @foreach (Visitor visitor in Model)\r\n    {\r\n        &lt;tr&gt;\r\n            &lt;td&gt;@visitor.Date.ToShortDateString()&lt;\/td&gt;\r\n            &lt;td&gt;@visitor.Visitors&lt;\/td&gt;\r\n            &lt;td&gt;@visitor.Views&lt;\/td&gt;\r\n        &lt;\/tr&gt;\r\n    }\r\n&lt;\/table&gt;\r\n<\/pre>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c\u043e \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043e\u043a, \u043f\u043e\u0432\u0456\u0434\u043a\u0440\u0438\u0432\u0430\u0454\u043c\u043e \u0440\u0456\u0437\u043d\u0456 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438, \u043f\u043e\u0442\u0456\u043c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c\u043e \u0437\u0430 \u0430\u0434\u0440\u0435\u0441\u043e\u044e \u0456 \u043f\u043e\u0434\u0438\u0432\u0438\u043c\u043e\u0441\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443. \u041c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043a\u0443\u043a\u0443, \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043e \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 \u0443 \u0440\u0435\u0436\u0438\u043c\u0456 \u0456\u043d\u043a\u043e\u0433\u043d\u0456\u0442\u043e.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c\u043e \u0437\u0430 \u0430\u0434\u0440\u0435\u0441\u043e\u044e: <a href=\"https:\/\/localhost:XXXX\/Home\/GetStatistics\">https:\/\/localhost:XXXX\/Home\/GetStatistics<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-298\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/3-min.jpg\" alt=\"\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u0441\u0435\u0449\u0435\u043d\u0438\u0439 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0430\" width=\"926\" height=\"455\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/3-min.jpg 926w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/3-min-300x147.jpg 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/3-min-768x377.jpg 768w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/p>\n<p>\u041d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0432\u0441\u0435. \u0414\u043e\u0434\u0430\u0442\u043e\u043a \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u043c\u0456\u043d\u0456\u043c\u0430\u043b\u044c\u043d\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0456\u043e\u043d\u0430\u043b, \u0434\u043b\u044f \u0443\u0441\u043f\u0456\u0448\u043d\u043e\u0433\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0432 \u043f\u0440\u043e\u0454\u043a\u0442\u0430\u0445.<\/p>\n<p>\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u0439 \u043a\u043e\u0434 \u0443 \u043c\u043e\u0454\u043c\u0443 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0457 \u2014 <a href=\"https:\/\/github.com\/murzilaka2\/VisitsCounter\">Github<\/a>.<\/p>\n<p>\u041f\u043e\u0434\u0456\u043b\u0456\u0442\u044c\u0441\u044f \u0432\u0430\u0448\u043e\u044e \u0434\u0443\u043c\u043a\u043e\u044e \u0432 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f\u0445, \u0432\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u0435 \u0433\u043e\u0442\u043e\u0432\u0456 \u0441\u0435\u0440\u0432\u0456\u0441\u0438 \u0430\u043d\u0430\u043b\u0456\u0442\u0438\u043a\u0438 \u0434\u043b\u044f \u0432\u0430\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u0456\u0432 \u0447\u0438 \u043f\u0438\u0448\u0435\u0442\u0435 \u0432\u043b\u0430\u0441\u043d\u0456?<\/p>\n<p>\u0422\u0430\u043a \u0441\u0430\u043c\u043e \u0432\u0430\u043c \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0446\u0456\u043a\u0430\u0432\u0430 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f \u0441\u0442\u0430\u0442\u0442\u044f:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"GznCQg4baS\"><p><a href=\"https:\/\/dijix.com.ua\/blog\/uk\/checkbox-list-v-asp-net-core-mvc\/\">Checkbox List \u0432 Asp.net Core Mvc<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Checkbox List \u0432 Asp.net Core Mvc&#8221; &#8212; Dijix -  \u0411\u043b\u043e\u0433\" src=\"https:\/\/dijix.com.ua\/blog\/uk\/checkbox-list-v-asp-net-core-mvc\/embed\/#?secret=lNr6KmDyH3#?secret=GznCQg4baS\" data-secret=\"GznCQg4baS\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<hr \/>\n<h4><strong>\u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043d\u0430\u0432\u0447\u0438\u0442\u0438\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u0438 \u043a\u043e\u0434 \u043c\u043e\u0432\u043e\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f C#?<\/strong><\/h4>\n<p>\u0421\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u0440\u0456\u0437\u043d\u0456 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0439\u043d\u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u0438, \u0449\u043e \u0441\u043a\u043b\u0430\u0434\u0430\u044e\u0442\u044c\u0441\u044f \u0437 \u0441\u0430\u0439\u0442\u0456\u0432, \u043c\u043e\u0431\u0456\u043b\u044c\u043d\u0438\u0445 \u043a\u043b\u0456\u0454\u043d\u0442\u0456\u0432, \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432, \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0431\u043e\u0442\u0456\u0432 \u0442\u043e\u0449\u043e.<\/p>\n<p><a href=\"https:\/\/dijix.com.ua\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-94 size-full\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand.png\" alt=\"\" width=\"355\" height=\"77\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand.png 355w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand-300x65.png 300w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><\/p>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u044c\u0442\u0435 \u0434\u043e \u043d\u0430\u0441 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 Dijix \u0456 \u043e\u0437\u043d\u0430\u0439\u043e\u043c\u0442\u0435\u0441\u044f \u0437 \u0443\u043c\u043e\u0432\u0430\u043c\u0438 \u043d\u0430\u0432\u0447\u0430\u043d\u043d\u044f, \u043c\u0438 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u0456\u0437\u0443\u0454\u043c\u043e\u0441\u044f \u0442\u0456\u043b\u044c\u043a\u0438 \u043d\u0430 \u0456\u043d\u0434\u0438\u0432\u0456\u0434\u0443\u0430\u043b\u044c\u043d\u0438\u0445 \u0437\u0430\u043d\u044f\u0442\u0442\u044f\u0445, \u044f\u043a \u0434\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0456\u0432\u0446\u0456\u0432, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0443\u043d\u0443\u0442\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0456\u0441\u0442\u0456\u0432. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u044f\u0442\u0438 \u044f\u043a \u043e\u0434\u043d\u0435 \u0437\u0430\u043d\u044f\u0442\u0442\u044f \u0434\u043b\u044f \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u043f\u0438\u0442\u0430\u043d\u043d\u044f, \u0449\u043e \u0432\u0430\u0441 \u0446\u0456\u043a\u0430\u0432\u0438\u0442\u044c, \u0442\u0430\u043a \u0456 \u043a\u0456\u043b\u044c\u043a\u0430, \u0434\u043b\u044f \u0431\u0456\u043b\u044c\u0448 \u0449\u0456\u043b\u044c\u043d\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438. \u0417\u0430\u0432\u0434\u044f\u043a\u0438 \u043e\u0441\u043e\u0431\u0438\u0441\u0442\u043e\u043c\u0443 \u043a\u0430\u0431\u0456\u043d\u0435\u0442\u0443, \u043a\u043e\u0436\u0435\u043d \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u043f\u0456\u0434\u0432\u0438\u0449\u0438\u0442\u044c \u044f\u043a\u0456\u0441\u0442\u044c \u0441\u0432\u043e\u0433\u043e \u043d\u0430\u0432\u0447\u0430\u043d\u043d\u044f, \u0443 \u0432\u0430\u0448\u043e\u043c\u0443 \u0440\u043e\u0437\u043f\u043e\u0440\u044f\u0434\u0436\u0435\u043d\u043d\u0456:<\/p>\n<ul>\n<li>\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b\u0443<\/li>\n<li>\u0422\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0456 \u0441\u0442\u0430\u0442\u0442\u0456<\/li>\n<li>\u0411\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0430 \u043a\u043d\u0438\u0433<\/li>\n<li>\u041e\u043d\u043b\u0430\u0439\u043d \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f<\/li>\n<li>\u0421\u043f\u0456\u043b\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0437\u0430\u043a\u0440\u0438\u0442\u0438\u0445 \u0433\u0440\u0443\u043f\u0430\u0445<\/li>\n<\/ul>\n<blockquote>\n<p style=\"text-align: right;\"><a href=\"https:\/\/dijix.com.ua\/uk\/\">https:\/\/dijix.com.ua<\/a><\/p>\n<p style=\"text-align: right;\"><a href=\"https:\/\/ms.dijix.com.ua\/\">\u0416\u0438\u0432\u0438 \u0443 \u0441\u0432\u043e\u0454\u043c\u0443 \u0441\u0432\u0456\u0442\u0456, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0439 \u0443 \u043d\u0430\u0448\u043e\u043c\u0443<\/a>.<\/p>\n<\/blockquote>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043b\u0456\u0447\u0438\u043b\u044c\u043d\u0438\u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0434\u043b\u044f \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0441\u0430\u0439\u0442\u0443. \u0414\u043b\u044f \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0443, \u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 ASP.NET Core Web Application (\u0412\u0435\u0431-\u0434\u043e\u0434\u0430\u0442\u043e\u043a&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\">Continue reading<span class=\"screen-reader-text\">\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":299,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"uk","_original_post":"https:\/\/dijix.com.ua\/blog\/?p=294","footnotes":""},"categories":[8],"tags":[],"class_list":["post-399","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-asp-net-core","uk","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7 - Dijix - \u0411\u043b\u043e\u0433<\/title>\r\n<meta name=\"description\" content=\"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043b\u0456\u0447\u0438\u043b\u044c\u043d\u0438\u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0434\u043b\u044f \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0441\u0430\u0439\u0442\u0443.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\" \/>\r\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7 - Dijix - \u0411\u043b\u043e\u0433\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\" \/>\r\n<meta property=\"og:site_name\" content=\"Dijix - \u0411\u043b\u043e\u0433\" \/>\r\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Dijixs\" \/>\r\n<meta property=\"article:published_time\" content=\"2023-02-03T14:21:28+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/statistika-posesheniy-site-min.jpg\" \/>\r\n\t<meta property=\"og:image:width\" content=\"800\" \/>\r\n\t<meta property=\"og:image:height\" content=\"432\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\r\n<meta name=\"author\" content=\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u0445\u0432\u0438\u043b\u0438\u043d\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\"},\"author\":{\"name\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d\"},\"headline\":\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7\",\"datePublished\":\"2023-02-03T14:21:28+00:00\",\"dateModified\":\"2023-02-03T14:21:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\"},\"wordCount\":1130,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\"},\"articleSection\":[\"Asp.Net Core\"],\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\",\"url\":\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\",\"name\":\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7 - Dijix - \u0411\u043b\u043e\u0433\",\"isPartOf\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#website\"},\"datePublished\":\"2023-02-03T14:21:28+00:00\",\"dateModified\":\"2023-02-03T14:21:28+00:00\",\"description\":\"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043b\u0456\u0447\u0438\u043b\u044c\u043d\u0438\u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0434\u043b\u044f \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0441\u0430\u0439\u0442\u0443.\",\"breadcrumb\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/dijix.com.ua\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#website\",\"url\":\"https:\/\/dijix.com.ua\/blog\/\",\"name\":\"Dijix - \u0411\u043b\u043e\u0433\",\"description\":\"\ud83d\udc9c\",\"publisher\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dijix.com.ua\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\",\"name\":\"Dijix - \u0411\u043b\u043e\u0433\",\"url\":\"https:\/\/dijix.com.ua\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png\",\"contentUrl\":\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png\",\"width\":159,\"height\":92,\"caption\":\"Dijix - \u0411\u043b\u043e\u0433\"},\"image\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Dijixs\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d\",\"name\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g\",\"caption\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\"},\"sameAs\":[\"https:\/\/dijix.com.ua\/blog\"],\"url\":\"https:\/\/dijix.com.ua\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7 - Dijix - \u0411\u043b\u043e\u0433","description":"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043b\u0456\u0447\u0438\u043b\u044c\u043d\u0438\u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0434\u043b\u044f \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0441\u0430\u0439\u0442\u0443.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/","og_locale":"uk_UA","og_type":"article","og_title":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7 - Dijix - \u0411\u043b\u043e\u0433","og_url":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/","og_site_name":"Dijix - \u0411\u043b\u043e\u0433","article_publisher":"https:\/\/www.facebook.com\/Dijixs","article_published_time":"2023-02-03T14:21:28+00:00","og_image":[{"width":800,"height":432,"url":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/01\/statistika-posesheniy-site-min.jpg","type":"image\/jpeg"}],"author":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"9 \u0445\u0432\u0438\u043b\u0438\u043d"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#article","isPartOf":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/"},"author":{"name":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d"},"headline":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7","datePublished":"2023-02-03T14:21:28+00:00","dateModified":"2023-02-03T14:21:28+00:00","mainEntityOfPage":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/"},"wordCount":1130,"commentCount":0,"publisher":{"@id":"https:\/\/dijix.com.ua\/blog\/#organization"},"articleSection":["Asp.Net Core"],"inLanguage":"uk","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/","url":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/","name":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7 - Dijix - \u0411\u043b\u043e\u0433","isPartOf":{"@id":"https:\/\/dijix.com.ua\/blog\/#website"},"datePublished":"2023-02-03T14:21:28+00:00","dateModified":"2023-02-03T14:21:28+00:00","description":"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043b\u0456\u0447\u0438\u043b\u044c\u043d\u0438\u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0434\u043b\u044f \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0456\u0432 \u0441\u0430\u0439\u0442\u0443.","breadcrumb":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dijix.com.ua\/blog\/uk\/statistika-poseshhenij-dlya-veb-prilozheniya-asp-net-core-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/dijix.com.ua\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u043d\u044c \u0434\u043b\u044f \u0432\u0435\u0431 \u0434\u043e\u0434\u0430\u0442\u043a\u0430 Asp.net Core 7"}]},{"@type":"WebSite","@id":"https:\/\/dijix.com.ua\/blog\/#website","url":"https:\/\/dijix.com.ua\/blog\/","name":"Dijix - \u0411\u043b\u043e\u0433","description":"\ud83d\udc9c","publisher":{"@id":"https:\/\/dijix.com.ua\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dijix.com.ua\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/dijix.com.ua\/blog\/#organization","name":"Dijix - \u0411\u043b\u043e\u0433","url":"https:\/\/dijix.com.ua\/blog\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png","contentUrl":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png","width":159,"height":92,"caption":"Dijix - \u0411\u043b\u043e\u0433"},"image":{"@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Dijixs"]},{"@type":"Person","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d","name":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g","caption":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430"},"sameAs":["https:\/\/dijix.com.ua\/blog"],"url":"https:\/\/dijix.com.ua\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/comments?post=399"}],"version-history":[{"count":1,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/399\/revisions"}],"predecessor-version":[{"id":401,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/399\/revisions\/401"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/media\/299"}],"wp:attachment":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/media?parent=399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/categories?post=399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/tags?post=399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}