Commit 180d87b1 authored by Alexey Goikolov's avatar Alexey Goikolov

Реализовал связь многие ко многим, описал модель корзины и продукта. Добавил…

Реализовал связь многие ко многим, описал модель корзины и продукта. Добавил представления и контроллеры
parent a58cdccc
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/projectSettingsUpdater.xml
/modules.xml
/contentModel.xml
/.idea.CockieAuthApp.iml
# Datasource local storage ignored files
/../../../../../../../../../../:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\.idea\.idea.CockieAuthApp\.idea/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
CockieAuthApp
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ContentModelUserStore">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="RIDER_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$/../.." />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
......@@ -92,7 +92,8 @@ namespace CockieAuthApp.Controllers
var claims = new List<Claim>
{
new Claim(ClaimsIdentity.DefaultNameClaimType, user.Email),
new Claim(ClaimsIdentity.DefaultRoleClaimType, user.Role?.Name)
new Claim(ClaimsIdentity.DefaultRoleClaimType, user.Role?.Name),
new Claim("UserId", user.Id)
};
ClaimsIdentity identity = new ClaimsIdentity(
claims,
......
using System.Collections.Generic;
using System.Linq;
using CockieAuthApp.Models;
using CockieAuthApp.Models.Data;
using Microsoft.AspNetCore.Mvc;
namespace CockieAuthApp.Controllers
{
public class ProductsController : Controller
{
private readonly AuthContext _db;
public ProductsController(AuthContext db)
{
_db = db;
}
// GET
public IActionResult Index()
{
List<Product> products = _db.Products.ToList();
return View(products);
}
[HttpGet]
public IActionResult Add()
{
return View();
}
[HttpPost]
public IActionResult Add(Product product)
{
if (product != null)
{
_db.Products.Add(product);
_db.SaveChanges();
}
return RedirectToAction("Index");
}
}
}
\ No newline at end of file
using System.Linq;
using System.Security.Claims;
using CockieAuthApp.Models;
using CockieAuthApp.Models.Data;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace CockieAuthApp.Controllers
{
public class Users : Controller
{
private readonly AuthContext _db;
public Users(AuthContext db)
{
_db = db;
}
public IActionResult Index()
{
string userId = User.FindFirstValue("UserId");
User user = _db.Users.Include(u => u.Baskets).ThenInclude(u => u.Product)
.FirstOrDefault(u => u.Id == userId);
Product product = _db.Products.Include(u => u.Baskets).ThenInclude(u => u.User)
.FirstOrDefault(p => p.Id == 1);
return View(user);
}
public IActionResult AddToBasket(int productId)
{
Product product = _db.Products.FirstOrDefault(p => p.Id == productId);
if (product != null)
{
string userId = User.FindFirstValue("UserId");
Basket basket = _db.Basket.FirstOrDefault(b => b.ProductId == productId && b.UserId == userId);
if (basket == null)
{
basket = new Basket
{
ProductId = product.Id,
UserId = userId
};
_db.Basket.Add(basket);
_db.SaveChanges();
}
}
return RedirectToAction("Index", "Products");
}
public IActionResult RemoveFromBasket(int productId)
{
Basket basket =
_db.Basket.FirstOrDefault(b => b.ProductId == productId && b.UserId == User.FindFirstValue("userId"));
if (basket != null)
{
_db.Basket.Remove(basket);
_db.SaveChanges();
}
return RedirectToAction("Index");
}
}
}
\ No newline at end of file
// <auto-generated />
using System;
using CockieAuthApp.Models.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace CockieAuthApp.Migrations
{
[DbContext(typeof(AuthContext))]
[Migration("20210421143730_ManyToMany")]
partial class ManyToMany
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
.HasAnnotation("ProductVersion", "3.1.14")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
modelBuilder.Entity("CockieAuthApp.Models.Basket", b =>
{
b.Property<string>("UserId")
.HasColumnType("text");
b.Property<int>("ProductId")
.HasColumnType("integer");
b.HasKey("UserId", "ProductId");
b.HasIndex("ProductId");
b.ToTable("Basket");
});
modelBuilder.Entity("CockieAuthApp.Models.Product", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("Name")
.HasColumnType("text");
b.Property<decimal>("Price")
.HasColumnType("numeric");
b.HasKey("Id");
b.ToTable("Products");
});
modelBuilder.Entity("CockieAuthApp.Models.Role", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("Name")
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("Roles");
b.HasData(
new
{
Id = 1,
Name = "admin"
},
new
{
Id = 2,
Name = "user"
});
});
modelBuilder.Entity("CockieAuthApp.Models.User", b =>
{
b.Property<string>("Id")
.HasColumnType("text");
b.Property<string>("Email")
.HasColumnType("text");
b.Property<string>("Password")
.HasColumnType("text");
b.Property<int?>("RoleId")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("RoleId");
b.ToTable("Users");
b.HasData(
new
{
Id = "Admin",
Email = "admin@admin.admin",
Password = "root",
RoleId = 1
});
});
modelBuilder.Entity("CockieAuthApp.Models.Basket", b =>
{
b.HasOne("CockieAuthApp.Models.Product", "Product")
.WithMany("Baskets")
.HasForeignKey("ProductId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("CockieAuthApp.Models.User", "User")
.WithMany("Baskets")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("CockieAuthApp.Models.User", b =>
{
b.HasOne("CockieAuthApp.Models.Role", "Role")
.WithMany("Users")
.HasForeignKey("RoleId");
});
#pragma warning restore 612, 618
}
}
}
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace CockieAuthApp.Migrations
{
public partial class ManyToMany : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Products",
columns: table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
Name = table.Column<string>(nullable: true),
Price = table.Column<decimal>(nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Products", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Basket",
columns: table => new
{
ProductId = table.Column<int>(nullable: false),
UserId = table.Column<string>(nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Basket", x => new { x.UserId, x.ProductId });
table.ForeignKey(
name: "FK_Basket_Products_ProductId",
column: x => x.ProductId,
principalTable: "Products",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_Basket_Users_UserId",
column: x => x.UserId,
principalTable: "Users",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateIndex(
name: "IX_Basket_ProductId",
table: "Basket",
column: "ProductId");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Basket");
migrationBuilder.DropTable(
name: "Products");
}
}
}
......@@ -19,6 +19,39 @@ namespace CockieAuthApp.Migrations
.HasAnnotation("ProductVersion", "3.1.14")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
modelBuilder.Entity("CockieAuthApp.Models.Basket", b =>
{
b.Property<string>("UserId")
.HasColumnType("text");
b.Property<int>("ProductId")
.HasColumnType("integer");
b.HasKey("UserId", "ProductId");
b.HasIndex("ProductId");
b.ToTable("Basket");
});
modelBuilder.Entity("CockieAuthApp.Models.Product", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("Name")
.HasColumnType("text");
b.Property<decimal>("Price")
.HasColumnType("numeric");
b.HasKey("Id");
b.ToTable("Products");
});
modelBuilder.Entity("CockieAuthApp.Models.Role", b =>
{
b.Property<int>("Id")
......@@ -76,6 +109,21 @@ namespace CockieAuthApp.Migrations
});
});
modelBuilder.Entity("CockieAuthApp.Models.Basket", b =>
{
b.HasOne("CockieAuthApp.Models.Product", "Product")
.WithMany("Baskets")
.HasForeignKey("ProductId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("CockieAuthApp.Models.User", "User")
.WithMany("Baskets")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("CockieAuthApp.Models.User", b =>
{
b.HasOne("CockieAuthApp.Models.Role", "Role")
......
using System;
namespace CockieAuthApp.Models
{
public class Basket
{
public int ProductId { get; set; }
public Product Product { get; set; }
public string UserId { get; set; }
public User User { get; set; }
}
}
\ No newline at end of file
......@@ -6,6 +6,9 @@ namespace CockieAuthApp.Models.Data
{
public DbSet<User> Users { get; set; }
public DbSet<Role> Roles { get; set; }
public DbSet<Product> Products { get; set; }
public DbSet<Basket> Basket { get; set; }
public AuthContext(DbContextOptions options) : base(options)
{
......@@ -13,6 +16,19 @@ namespace CockieAuthApp.Models.Data
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Basket>().HasKey(b => new {b.UserId, b.ProductId});
modelBuilder.Entity<Basket>()
.HasOne(pu => pu.User)
.WithMany(p => p.Baskets)
.HasForeignKey(pu => pu.UserId);
modelBuilder.Entity<Basket>()
.HasOne(pu => pu.Product)
.WithMany(p => p.Baskets)
.HasForeignKey(pu => pu.ProductId);
modelBuilder.Entity<Role>().HasData(new Role {Id = 1, Name = "admin"});
modelBuilder.Entity<Role>().HasData(new Role {Id = 2, Name = "user"});
modelBuilder.Entity<User>().HasData(new User {Id = "Admin", Email = "admin@admin.admin", Password = "root", RoleId = 1});
......
using System.Collections.Generic;
namespace CockieAuthApp.Models
{
public class Product
{
public int Id { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
public List<Basket> Baskets { get; set; }
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
namespace CockieAuthApp.Models
{
......@@ -10,6 +11,8 @@ namespace CockieAuthApp.Models
public int? RoleId { get; set; }
public Role Role { get; set; }
public List<Basket> Baskets { get; set; }
}
}
\ No newline at end of file
@model Product
@{
ViewBag.Title = "Добавление продукта";
Layout = "_Layout";
}
<h2>Добавление продукта</h2>
<div class="row">
<div class="col-6">
<form asp-action="Add" method="post">
<div class="form-row">
<label for="">
Название
<input asp-for="Name" type="text">
</label>
</div>
<div class="form-row">
<label for="">
Цена
<input asp-for="Price" type="text">
</label>
</div>
<button class="btn-info" type="submit">Добавить</button>
</form>
</div>
</div>
@model List<Product>
@{
ViewBag.Title = "Продукты";
Layout = "_Layout";
}
@if (User.IsInRole("admin"))
{
<a class="btn btn-dark" asp-action="Add" asp-controller="Products">Добавить продукт</a>
}
@if (Model.Count == 0)
{
<h2>Список продуктов пуст</h2>
}
else
{
<h2>Список продуктов</h2>
<div class="row">
@foreach (var product in Model)
{
<div class="col-12">
<div class="row">
<div class="col-4">
<h4>@product.Name</h4>
</div>
<div class="col-4">
<h4>@product.Price</h4>
</div>
@if (User.Identity.IsAuthenticated)
{
<div class="col-4">
<a asp-action="AddToBasket" asp-controller="Users" asp-route-productId="@product.Id" class="btn btn-primary">Добавить в корзину</a>
</div>
}
</div>
</div>
}
</div>
}
......@@ -8,6 +8,7 @@
<link rel="stylesheet" href="~/css/site.css"/>
</head>
<body>
<script src="https://kit.fontawesome.com/26a6781c15.js" crossorigin="anonymous"></script>
<header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container">
......@@ -16,7 +17,7 @@
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse">
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row">
<ul class="navbar-nav flex-grow-1">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
......@@ -24,16 +25,25 @@
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Products" asp-action="Index">Продукты</a>
</li>
</ul>
<ul class="navbar-nav justify-content-end">
@if (User.Identity.IsAuthenticated)
{
<li class="nav-item align-self-center">
<span>@User.Identity.Name</span>
</li>
<li class="nav-item align-self-center">
<a asp-action="Index" asp-controller="Users"><i class="fa fa-shopping-basket"></i></a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-action="Logout" asp-controller="Account">
Выход
</a>
</li>
<li class="nav-item">
<span>@User.Identity.Name</span>
</li>
}
else
{
......
@model User
@{
ViewBag.Title = "Корзина";
Layout = "_Layout";
}
@if (Model.Baskets.Count == 0)
{
<h2>Корзина товаров пуста</h2>
}
else
{
<h2>Корзина товаров</h2>
<div class="row">
@foreach (var product in Model.Baskets)
{
<div class="col-12">
<div class="col-4">
<h4>@product.Product.Name</h4>
</div>
<div class="col-4">
<h4>@product.Product.Price</h4>
</div>
@if (User.Identity.IsAuthenticated)
{
<div class="col-4">
<a asp-action="RemoveFromBasket" asp-controller="Users" asp-route-productId="@product.Product.Id" class="btn btn-primary">Удалить из корзины</a>
</div>
}
</div>
}
</div>
}
{
"ConnectionStrings": {
"Default": "Server=127.0.0.1;Port=5432;Database=AuthApp;User Id=postgres;password=ghbrfp227;"
"Default": "Server=127.0.0.1;Port=5432;Database=AuthApp;User Id=postgres;password=Postgres;"
},
"Logging": {
"LogLevel": {
......
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\Alexey\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Alexey\\.nuget\\packages"
"C:\\Users\\Alex\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Alex\\.nuget\\packages"
]
}
}
\ No newline at end of file
{
"ConnectionStrings": {
"Default": "Server=127.0.0.1;Port=5432;Database=AuthApp;User Id=postgres;password=ghbrfp227;"
"Default": "Server=127.0.0.1;Port=5432;Database=AuthApp;User Id=postgres;password=Postgres;"
},
"Logging": {
"LogLevel": {
......
{
"format": 1,
"restore": {
"C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj": {}
"C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj": {}
},
"projects": {
"C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj": {
"C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj",
"projectUniqueName": "C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj",
"projectName": "CockieAuthApp",
"projectPath": "C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj",
"packagesPath": "C:\\Users\\Alexey\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\obj\\",
"projectPath": "C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj",
"packagesPath": "C:\\Users\\Alex\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Alexey\\AppData\\Roaming\\NuGet\\NuGet.Config"
"C:\\Users\\Alex\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
......@@ -65,7 +65,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.402\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.404\\RuntimeIdentifierGraph.json"
}
}
}
......
......@@ -5,7 +5,7 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Alexey\.nuget\packages\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Alex\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.8.0</NuGetToolVersion>
</PropertyGroup>
......
d73e4a22b1624553c0eec5cc14695e16397cd402
fb596e74b0861168f4f116bdeeb5abd454c067c1
31b7412fefe1db23bc8f4d1ffbe1f3c10663ea4b
2e327986616975278b5a7009ed64abec9dc3fb86
......@@ -58,3 +58,66 @@ C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\obj\Debug\netcoreapp3.
C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.genruntimeconfig.cache
C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Account\Login.cshtml.g.cs
C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Account\Register.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\appsettings.Development.json
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\appsettings.json
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Properties\launchSettings.json
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.exe
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.deps.json
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.runtimeconfig.json
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.runtimeconfig.dev.json
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.pdb
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.Views.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\CockieAuthApp.Views.pdb
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Bcl.HashCode.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.Design.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Caching.Abstractions.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Caching.Memory.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.Abstractions.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.Binder.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.DependencyInjection.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Options.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Primitives.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Npgsql.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\Npgsql.EntityFrameworkCore.PostgreSQL.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\System.Collections.Immutable.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\bin\Debug\netcoreapp3.1\System.Diagnostics.DiagnosticSource.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.csprojAssemblyReference.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.AssemblyInfoInputs.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.AssemblyInfo.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.csproj.CoreCompileInputs.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.MvcApplicationPartsAssemblyInfo.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.RazorAssemblyInfo.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.RazorAssemblyInfo.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.TagHelpers.input.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.TagHelpers.output.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.RazorCoreGenerate.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Account\Login.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Account\Register.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Home\Index.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Home\Privacy.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Products\Add.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Products\Index.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Shared\Error.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Shared\_Layout.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Shared\_ValidationScriptsPartial.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\Users\Index.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\_ViewImports.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\Razor\Views\_ViewStart.cshtml.g.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.RazorTargetAssemblyInfo.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.RazorTargetAssemblyInfo.cs
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.Views.pdb
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.csproj.CopyComplete
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\staticwebassets\CockieAuthApp.StaticWebAssets.Manifest.cache
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\staticwebassets\CockieAuthApp.StaticWebAssets.xml
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.dll
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.pdb
C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\obj\Debug\netcoreapp3.1\CockieAuthApp.genruntimeconfig.cache
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf8"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf8"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Account_Login), @"mvc.1.0.view", @"/Views/Account/Login.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......@@ -67,7 +67,7 @@ using CockieAuthApp.Models;
{
WriteLiteral("\r\n");
#nullable restore
#line 3 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 3 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
ViewBag.Title = "Вход";
Layout = "_Layout";
......@@ -76,7 +76,7 @@ using CockieAuthApp.Models;
#line hidden
#nullable disable
WriteLiteral("\r\n<h2>Вход на сайт</h2>\r\n\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf85823", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf85855", async() => {
WriteLiteral("Регистрация");
}
);
......@@ -94,16 +94,16 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf87193", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf87225", async() => {
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf87455", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf87487", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
#nullable restore
#line 13 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 13 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly;
#line default
......@@ -118,14 +118,14 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSumma
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <div>\r\n <div class=\"form-group\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf89190", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf89230", async() => {
WriteLiteral("Введите Email");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#nullable restore
#line 16 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 16 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Email);
#line default
......@@ -140,7 +140,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf810749", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf810797", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
......@@ -148,7 +148,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_3.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#nullable restore
#line 17 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 17 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Email);
#line default
......@@ -163,13 +163,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf812467", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf812523", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#nullable restore
#line 18 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 18 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Email);
#line default
......@@ -184,14 +184,14 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf814101", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf814165", async() => {
WriteLiteral("Введите пароль");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#nullable restore
#line 21 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 21 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Password);
#line default
......@@ -206,13 +206,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf815665", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf815737", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#nullable restore
#line 22 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 22 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Password);
#line default
......@@ -227,13 +227,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf817170", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0f6ce6af510ca8f24f85c1f649b3ecf96098cf817250", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#nullable restore
#line 23 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 23 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Password);
#line default
......@@ -259,7 +259,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#nullable restore
#line 12 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 12 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Antiforgery = true;
#line default
......@@ -277,7 +277,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Antiforgery = true;
DefineSection("Scripts", async() => {
WriteLiteral("\r\n");
#nullable restore
#line 33 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Login.cshtml"
#line 33 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Login.cshtml"
await Html.RenderPartialAsync("_ValidationScriptsPartial");
......
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c0a80973c79589c6b566d6b1d9b2706f5f0566e4"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c0a80973c79589c6b566d6b1d9b2706f5f0566e4"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Account_Register), @"mvc.1.0.view", @"/Views/Account/Register.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......@@ -66,7 +66,7 @@ using CockieAuthApp.Models;
{
WriteLiteral("\r\n");
#nullable restore
#line 3 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 3 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
ViewBag.Title = "Регистрация";
......@@ -74,16 +74,16 @@ using CockieAuthApp.Models;
#line hidden
#nullable disable
WriteLiteral(" \r\n<h2>Регистрация</h2>\r\n \r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e45750", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e45782", async() => {
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e46012", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e46044", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#nullable restore
#line 10 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 10 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly;
#line default
......@@ -98,14 +98,14 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSumma
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <div>\r\n <div>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e47729", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e47769", async() => {
WriteLiteral("Введите Email");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#nullable restore
#line 13 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 13 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Email);
#line default
......@@ -120,7 +120,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("<br />\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e49297", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e49345", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
......@@ -128,7 +128,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_1.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#nullable restore
#line 14 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 14 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Email);
#line default
......@@ -143,13 +143,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e411017", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e411073", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#nullable restore
#line 15 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 15 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Email);
#line default
......@@ -164,14 +164,14 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </div>\r\n <div>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e412633", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e412697", async() => {
WriteLiteral("Введите пароль");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#nullable restore
#line 18 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 18 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Password);
#line default
......@@ -186,13 +186,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("<br />\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e414206", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e414278", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#nullable restore
#line 19 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 19 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Password);
#line default
......@@ -207,13 +207,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e415714", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e415794", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#nullable restore
#line 20 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 20 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Password);
#line default
......@@ -228,14 +228,14 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </div>\r\n <div>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e417327", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0a80973c79589c6b566d6b1d9b2706f5f0566e417415", async() => {
WriteLiteral("Повторите пароль");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#nullable restore
#line 23 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 23 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.ConfirmPassword);
#line default
......@@ -250,13 +250,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("<br />\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e418909", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e419005", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#nullable restore
#line 24 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 24 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.ConfirmPassword);
#line default
......@@ -271,13 +271,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e420424", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c0a80973c79589c6b566d6b1d9b2706f5f0566e420528", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#nullable restore
#line 25 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 25 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.ConfirmPassword);
#line default
......@@ -314,7 +314,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
DefineSection("Scripts", async() => {
WriteLiteral("\r\n");
#nullable restore
#line 35 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Account\Register.cshtml"
#line 35 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Account\Register.cshtml"
await Html.RenderPartialAsync("_ValidationScriptsPartial");
......
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "366074575611352c0bc2b42edbd5606bf5e3dbea"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "366074575611352c0bc2b42edbd5606bf5e3dbea"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Index), @"mvc.1.0.view", @"/Views/Home/Index.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......@@ -34,7 +34,7 @@ using CockieAuthApp.Models;
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Home\Index.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Home\Index.cshtml"
ViewData["Title"] = "Home Page";
......
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Home\Privacy.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b2e727a2b99b43a637dc1d22a35f1fcc7b2076d7"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Home\Privacy.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b2e727a2b99b43a637dc1d22a35f1fcc7b2076d7"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Privacy), @"mvc.1.0.view", @"/Views/Home/Privacy.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......@@ -34,7 +34,7 @@ using CockieAuthApp.Models;
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Home\Privacy.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Home\Privacy.cshtml"
ViewData["Title"] = "Privacy Policy";
......@@ -43,7 +43,7 @@ using CockieAuthApp.Models;
#nullable disable
WriteLiteral("<h1>");
#nullable restore
#line 4 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Home\Privacy.cshtml"
#line 4 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Home\Privacy.cshtml"
Write(ViewData["Title"]);
#line default
......
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Add.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "871bb4008dd17fdd6938bc35bb18932b157d640c"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Products_Add), @"mvc.1.0.view", @"/Views/Products/Add.cshtml")]
namespace AspNetCore
{
#line hidden
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"871bb4008dd17fdd6938bc35bb18932b157d640c", @"/Views/Products/Add.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1e9944e28456ff4696e1f3b9c44a6bf89e62e09c", @"/Views/_ViewImports.cshtml")]
public class Views_Products_Add : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<Product>
{
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "text", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Add", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("method", "post", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line hidden
#pragma warning disable 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
#pragma warning restore 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
#pragma warning disable 0169
private string __tagHelperStringValueBuffer;
#pragma warning restore 0169
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
{
get
{
if (__backed__tagHelperScopeManager == null)
{
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
}
return __backed__tagHelperScopeManager;
}
}
private global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper;
private global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper;
private global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper;
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
WriteLiteral("\r\n");
#nullable restore
#line 3 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Add.cshtml"
ViewBag.Title = "Добавление продукта";
Layout = "_Layout";
#line default
#line hidden
#nullable disable
WriteLiteral("\r\n<h2>Добавление продукта</h2>\r\n\r\n<div class=\"row\">\r\n <div class=\"col-6\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "871bb4008dd17fdd6938bc35bb18932b157d640c4655", async() => {
WriteLiteral("\r\n <div class=\"form-row\">\r\n <label");
BeginWriteAttribute("for", " for=\"", 277, "\"", 283, 0);
EndWriteAttribute();
WriteLiteral(">\r\n Название\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "871bb4008dd17fdd6938bc35bb18932b157d640c5180", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#nullable restore
#line 16 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Add.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Name);
#line default
#line hidden
#nullable disable
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </label>\r\n </div>\r\n <div class=\"form-row\">\r\n <label");
BeginWriteAttribute("for", " for=\"", 477, "\"", 483, 0);
EndWriteAttribute();
WriteLiteral(">\r\n Цена\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "871bb4008dd17fdd6938bc35bb18932b157d640c7205", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#nullable restore
#line 22 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Add.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Price);
#line default
#line hidden
#nullable disable
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </label>\r\n </div>\r\n <button class=\"btn-info\" type=\"submit\">Добавить</button>\r\n ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_1.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </div>\r\n</div>\r\n");
}
#pragma warning restore 1998
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<Product> Html { get; private set; }
}
}
#pragma warning restore 1591
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8c6dfeeb69a112ada640eac1fe465ffec9498495"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Products_Index), @"mvc.1.0.view", @"/Views/Products/Index.cshtml")]
namespace AspNetCore
{
#line hidden
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"8c6dfeeb69a112ada640eac1fe465ffec9498495", @"/Views/Products/Index.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1e9944e28456ff4696e1f3b9c44a6bf89e62e09c", @"/Views/_ViewImports.cshtml")]
public class Views_Products_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<List<Product>>
{
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("btn btn-dark"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Add", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Products", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "AddToBasket", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Users", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("btn btn-primary"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line hidden
#pragma warning disable 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
#pragma warning restore 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
#pragma warning disable 0169
private string __tagHelperStringValueBuffer;
#pragma warning restore 0169
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
{
get
{
if (__backed__tagHelperScopeManager == null)
{
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
}
return __backed__tagHelperScopeManager;
}
}
private global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper;
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
WriteLiteral("\r\n");
#nullable restore
#line 3 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
ViewBag.Title = "Продукты";
Layout = "_Layout";
#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
if (User.IsInRole("admin"))
{
#line default
#line hidden
#nullable disable
WriteLiteral(" ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c6dfeeb69a112ada640eac1fe465ffec94984955529", async() => {
WriteLiteral("Добавить продукт");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_2.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n");
#nullable restore
#line 10 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral("\r\n");
#nullable restore
#line 12 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
if (Model.Count == 0)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <h2>Список продуктов пуст</h2>\r\n");
#nullable restore
#line 15 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
}
else
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <h2>Список продуктов</h2>\r\n <div class=\"row\">\r\n");
#nullable restore
#line 20 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
foreach (var product in Model)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <div class=\"col-12\">\r\n <div class=\"row\">\r\n <div class=\"col-4\">\r\n <h4>");
#nullable restore
#line 25 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
Write(product.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</h4>\r\n </div>\r\n <div class=\"col-4\">\r\n <h4>");
#nullable restore
#line 28 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
Write(product.Price);
#line default
#line hidden
#nullable disable
WriteLiteral("</h4>\r\n </div>\r\n");
#nullable restore
#line 30 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
if (User.Identity.IsAuthenticated)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <div class=\"col-4\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c6dfeeb69a112ada640eac1fe465ffec94984959170", async() => {
WriteLiteral("Добавить в корзину");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
{
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-productId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
}
BeginWriteTagHelperAttribute();
#nullable restore
#line 33 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
WriteLiteral(product.Id);
#line default
#line hidden
#nullable disable
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productId"] = __tagHelperStringValueBuffer;
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-productId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </div>\r\n");
#nullable restore
#line 35 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral(" </div>\r\n </div>\r\n");
#nullable restore
#line 38 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral(" </div>\r\n");
#nullable restore
#line 40 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Products\Index.cshtml"
}
#line default
#line hidden
#nullable disable
}
#pragma warning restore 1998
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<List<Product>> Html { get; private set; }
}
}
#pragma warning restore 1591
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "25bfd9ca9c43e06cee6d098f186c3f4cca31039c"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "25bfd9ca9c43e06cee6d098f186c3f4cca31039c"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Shared_Error), @"mvc.1.0.view", @"/Views/Shared/Error.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......@@ -34,7 +34,7 @@ using CockieAuthApp.Models;
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\Error.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\Error.cshtml"
ViewData["Title"] = "Error";
......@@ -43,7 +43,7 @@ using CockieAuthApp.Models;
#nullable disable
WriteLiteral("\r\n<h1 class=\"text-danger\">Error.</h1>\r\n<h2 class=\"text-danger\">An error occurred while processing your request.</h2>\r\n\r\n");
#nullable restore
#line 9 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\Error.cshtml"
#line 9 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\Error.cshtml"
if (Model.ShowRequestId)
{
......@@ -52,7 +52,7 @@ using CockieAuthApp.Models;
#nullable disable
WriteLiteral(" <p>\r\n <strong>Request ID:</strong> <code>");
#nullable restore
#line 12 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\Error.cshtml"
#line 12 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\Error.cshtml"
Write(Model.RequestId);
#line default
......@@ -60,7 +60,7 @@ using CockieAuthApp.Models;
#nullable disable
WriteLiteral("</code>\r\n </p>\r\n");
#nullable restore
#line 14 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\Error.cshtml"
#line 14 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\Error.cshtml"
}
#line default
......
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "674f8f539295b1853030cc4f2c4f8eb0fa6929b9"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Shared__Layout), @"mvc.1.0.view", @"/Views/Shared/_Layout.cshtml")]
......@@ -13,20 +13,20 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"d6b9acd6be84fea32161ae3ca1527e1d335f1dcf", @"/Views/Shared/_Layout.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"674f8f539295b1853030cc4f2c4f8eb0fa6929b9", @"/Views/Shared/_Layout.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1e9944e28456ff4696e1f3b9c44a6bf89e62e09c", @"/Views/_ViewImports.cshtml")]
public class Views_Shared__Layout : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
{
......@@ -39,13 +39,15 @@ using CockieAuthApp.Models;
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Index", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("nav-link text-dark"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_8 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Privacy", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_9 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Logout", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_10 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Account", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_11 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Login", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_12 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Register", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_13 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/lib/jquery/dist/jquery.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_14 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_15 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", "~/js/site.js", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_9 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Products", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_10 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Users", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_11 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Logout", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_12 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Account", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_13 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Login", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_14 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Register", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_15 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/lib/jquery/dist/jquery.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_16 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_17 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", "~/js/site.js", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line hidden
#pragma warning disable 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
......@@ -75,17 +77,17 @@ using CockieAuthApp.Models;
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
WriteLiteral("<!DOCTYPE html>\r\n<html lang=\"en\">\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf8966", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b99603", async() => {
WriteLiteral("\r\n <meta charset=\"utf-8\"/>\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\r\n <title>");
#nullable restore
#line 6 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
#line 6 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
Write(ViewData["Title"]);
#line default
#line hidden
#nullable disable
WriteLiteral(" - CockieAuthApp</title>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf9617", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "674f8f539295b1853030cc4f2c4f8eb0fa6929b910262", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
......@@ -100,7 +102,7 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf10795", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "674f8f539295b1853030cc4f2c4f8eb0fa6929b911441", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
......@@ -127,9 +129,14 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf12678", async() => {
WriteLiteral("\r\n<header>\r\n <nav class=\"navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3\">\r\n <div class=\"container\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf13118", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b913324", async() => {
WriteLiteral(@"
<script src=""https://kit.fontawesome.com/26a6781c15.js"" crossorigin=""anonymous""></script>
<header>
<nav class=""navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3"">
<div class=""container"">
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b913852", async() => {
WriteLiteral("CockieAuthApp");
}
);
......@@ -154,11 +161,11 @@ using CockieAuthApp.Models;
aria-expanded=""false"" aria-label=""Toggle navigation"">
<span class=""navbar-toggler-icon""></span>
</button>
<div class=""navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse"">
<div class=""navbar-collapse collapse d-sm-inline-flex flex-sm-row"">
<ul class=""navbar-nav flex-grow-1"">
<li class=""nav-item"">
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf15392", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b916118", async() => {
WriteLiteral("Home");
}
);
......@@ -179,7 +186,7 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </li>\r\n <li class=\"nav-item\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf17219", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b917945", async() => {
WriteLiteral("Privacy");
}
);
......@@ -199,25 +206,53 @@ using CockieAuthApp.Models;
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </li>\r\n");
WriteLiteral("\r\n </li>\r\n <li class=\"nav-item\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b919775", async() => {
WriteLiteral("Продукты");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_4.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </li>\r\n </ul>\r\n <ul class=\"navbar-nav justify-content-end\">\r\n");
#nullable restore
#line 27 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
#line 33 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
if (User.Identity.IsAuthenticated)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <li class=\"nav-item\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf19339", async() => {
WriteLiteral("\r\n Выход\r\n ");
WriteLiteral(" <li class=\"nav-item align-self-center\">\r\n <span>");
#nullable restore
#line 36 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
Write(User.Identity.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</span>\r\n </li>\r\n <li class=\"nav-item align-self-center\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b922426", async() => {
WriteLiteral("<i class=\"fa fa-shopping-basket\"></i>");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_9.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_10.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
......@@ -227,17 +262,29 @@ using CockieAuthApp.Models;
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </li>\r\n <li class=\"nav-item\">\r\n <span>");
#nullable restore
#line 35 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
Write(User.Identity.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</span>\r\n </li>\r\n");
WriteLiteral("\r\n </li>\r\n <li class=\"nav-item\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b924007", async() => {
WriteLiteral("\r\n Выход\r\n ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_11.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </li>\r\n");
#nullable restore
#line 37 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
#line 46 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
}
else
{
......@@ -246,17 +293,17 @@ using CockieAuthApp.Models;
#line hidden
#nullable disable
WriteLiteral(" <li class=\"nav-item\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf21703", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b926039", async() => {
WriteLiteral("Вход");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_11.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_10.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_13.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -265,17 +312,17 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </li>\r\n <li class=\"nav-item\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf23338", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b927674", async() => {
WriteLiteral("Регистрация");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_14.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_10.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -285,7 +332,7 @@ using CockieAuthApp.Models;
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </li>\r\n");
#nullable restore
#line 46 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
#line 56 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
}
#line default
......@@ -293,14 +340,14 @@ using CockieAuthApp.Models;
#nullable disable
WriteLiteral(" </ul>\r\n </div>\r\n </div>\r\n </nav>\r\n</header>\r\n<div class=\"container\">\r\n <main role=\"main\" class=\"pb-3\">\r\n ");
#nullable restore
#line 54 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
#line 64 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
Write(RenderBody());
#line default
#line hidden
#nullable disable
WriteLiteral("\r\n </main>\r\n</div>\r\n\r\n<footer class=\"border-top footer text-muted\">\r\n <div class=\"container\">\r\n &copy; 2021 - CockieAuthApp - ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf25680", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b930032", async() => {
WriteLiteral("Privacy");
}
);
......@@ -320,12 +367,12 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </div>\r\n</footer>\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf27350", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b931702", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -334,12 +381,12 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf28447", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b932799", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -348,17 +395,17 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6b9acd6be84fea32161ae3ca1527e1d335f1dcf29544", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674f8f539295b1853030cc4f2c4f8eb0fa6929b933896", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_ScriptTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ScriptTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ScriptTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_ScriptTagHelper.Src = (string)__tagHelperAttribute_15.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
__Microsoft_AspNetCore_Mvc_TagHelpers_ScriptTagHelper.Src = (string)__tagHelperAttribute_17.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
#nullable restore
#line 65 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
#line 75 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
__Microsoft_AspNetCore_Mvc_TagHelpers_ScriptTagHelper.AppendVersion = true;
#line default
......@@ -374,7 +421,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ScriptTagHelper.AppendVersion = true;
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n");
#nullable restore
#line 66 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_Layout.cshtml"
#line 76 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_Layout.cshtml"
Write(RenderSection("Scripts", required: false));
#line default
......
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\Shared\_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93579aa014fe3dce1b6aae819793e4eac4cacb96"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Shared\_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93579aa014fe3dce1b6aae819793e4eac4cacb96"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Shared__ValidationScriptsPartial), @"mvc.1.0.view", @"/Views/Shared/_ValidationScriptsPartial.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......@@ -56,7 +56,7 @@ using CockieAuthApp.Models;
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93579aa014fe3dce1b6aae819793e4eac4cacb963977", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93579aa014fe3dce1b6aae819793e4eac4cacb964001", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
......@@ -70,7 +70,7 @@ using CockieAuthApp.Models;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93579aa014fe3dce1b6aae819793e4eac4cacb965016", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93579aa014fe3dce1b6aae819793e4eac4cacb965040", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
......
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ae5dd2be1161e6c4b5be350c2ca451ccb540335c"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Users_Index), @"mvc.1.0.view", @"/Views/Users/Index.cshtml")]
namespace AspNetCore
{
#line hidden
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"ae5dd2be1161e6c4b5be350c2ca451ccb540335c", @"/Views/Users/Index.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1e9944e28456ff4696e1f3b9c44a6bf89e62e09c", @"/Views/_ViewImports.cshtml")]
public class Views_Users_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<User>
{
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "RemoveFromBasket", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Users", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("btn btn-primary"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line hidden
#pragma warning disable 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
#pragma warning restore 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
#pragma warning disable 0169
private string __tagHelperStringValueBuffer;
#pragma warning restore 0169
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
{
get
{
if (__backed__tagHelperScopeManager == null)
{
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
}
return __backed__tagHelperScopeManager;
}
}
private global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper;
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
WriteLiteral("\r\n");
#nullable restore
#line 3 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
ViewBag.Title = "Корзина";
Layout = "_Layout";
#line default
#line hidden
#nullable disable
WriteLiteral("\r\n");
#nullable restore
#line 8 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
if (Model.Baskets.Count == 0)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <h2>Корзина товаров пуста</h2>\r\n");
#nullable restore
#line 11 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
}
else
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <h2>Корзина товаров</h2>\r\n <div class=\"row\">\r\n");
#nullable restore
#line 16 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
foreach (var product in Model.Baskets)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <div class=\"col-12\">\r\n <div class=\"col-4\">\r\n <h4>");
#nullable restore
#line 20 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
Write(product.Product.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</h4>\r\n </div>\r\n <div class=\"col-4\">\r\n <h4>");
#nullable restore
#line 23 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
Write(product.Product.Price);
#line default
#line hidden
#nullable disable
WriteLiteral("</h4>\r\n </div>\r\n");
#nullable restore
#line 25 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
if (User.Identity.IsAuthenticated)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <div class=\"col-4\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae5dd2be1161e6c4b5be350c2ca451ccb540335c6181", async() => {
WriteLiteral("Удалить из корзины");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
{
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-productId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
}
BeginWriteTagHelperAttribute();
#nullable restore
#line 28 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
WriteLiteral(product.Product.Id);
#line default
#line hidden
#nullable disable
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productId"] = __tagHelperStringValueBuffer;
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-productId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </div>\r\n");
#nullable restore
#line 30 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral(" </div>\r\n");
#nullable restore
#line 32 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral(" </div>\r\n");
#nullable restore
#line 34 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\Users\Index.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral("\r\n");
}
#pragma warning restore 1998
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<User> Html { get; private set; }
}
}
#pragma warning restore 1591
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1e9944e28456ff4696e1f3b9c44a6bf89e62e09c"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1e9944e28456ff4696e1f3b9c44a6bf89e62e09c"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views__ViewImports), @"mvc.1.0.view", @"/Views/_ViewImports.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......
#pragma checksum "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77a2804b95fd303a20a56ec194ea6ca59278fafa"
#pragma checksum "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77a2804b95fd303a20a56ec194ea6ca59278fafa"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views__ViewStart), @"mvc.1.0.view", @"/Views/_ViewStart.cshtml")]
......@@ -13,14 +13,14 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewImports.cshtml"
#line 2 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewImports.cshtml"
using CockieAuthApp.Models;
#line default
......@@ -34,7 +34,7 @@ using CockieAuthApp.Models;
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
#nullable restore
#line 1 "C:\Users\Alexey\RiderProjects\CockieAuthApp\CockieAuthApp\Views\_ViewStart.cshtml"
#line 1 "C:\Users\Alex\Desktop\webinar\Webinar_57\cookieauth\CockieAuthApp\Views\_ViewStart.cshtml"
Layout = "_Layout";
......
......@@ -869,19 +869,19 @@
]
},
"packageFolders": {
"C:\\Users\\Alexey\\.nuget\\packages\\": {}
"C:\\Users\\Alex\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj",
"projectUniqueName": "C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj",
"projectName": "CockieAuthApp",
"projectPath": "C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj",
"packagesPath": "C:\\Users\\Alexey\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\obj\\",
"projectPath": "C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj",
"packagesPath": "C:\\Users\\Alex\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Alexey\\AppData\\Roaming\\NuGet\\NuGet.Config"
"C:\\Users\\Alex\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
......@@ -932,7 +932,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.402\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.404\\RuntimeIdentifierGraph.json"
}
}
}
......
{
"version": 2,
"dgSpecHash": "osCWKXGsEp7Xj1ZpJX3O4OVZ38gadvp8b19XopcmN/L1g2X33bNMmRo2mN+0PihmffOytMfeAWtZCYqfyCjAMQ==",
"dgSpecHash": "jbHun0nm7CZhfWgjJungKVJf3UDFSsk2ATB1Y1rYLQS8NuqxQ7PAWWsg4FW10E4n+l8IdVDFEpX/THAt7DLEsQ==",
"success": true,
"projectFilePath": "C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj",
"projectFilePath": "C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj",
"expectedPackageFiles": [
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.1\\microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.bcl.hashcode\\1.1.1\\microsoft.bcl.hashcode.1.1.1.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.entityframeworkcore\\3.1.14\\microsoft.entityframeworkcore.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\3.1.14\\microsoft.entityframeworkcore.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\3.1.14\\microsoft.entityframeworkcore.analyzers.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.entityframeworkcore.design\\3.1.14\\microsoft.entityframeworkcore.design.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\3.1.14\\microsoft.entityframeworkcore.relational.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\3.1.14\\microsoft.extensions.caching.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.caching.memory\\3.1.14\\microsoft.extensions.caching.memory.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.configuration\\3.1.14\\microsoft.extensions.configuration.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\3.1.14\\microsoft.extensions.configuration.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.configuration.binder\\3.1.14\\microsoft.extensions.configuration.binder.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\3.1.14\\microsoft.extensions.dependencyinjection.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\3.1.14\\microsoft.extensions.dependencyinjection.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.logging\\3.1.14\\microsoft.extensions.logging.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\3.1.14\\microsoft.extensions.logging.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.options\\3.1.14\\microsoft.extensions.options.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\microsoft.extensions.primitives\\3.1.14\\microsoft.extensions.primitives.3.1.14.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\npgsql\\4.1.8\\npgsql.4.1.8.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\3.1.11\\npgsql.entityframeworkcore.postgresql.3.1.11.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\system.collections.immutable\\1.7.1\\system.collections.immutable.1.7.1.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\system.componentmodel.annotations\\4.7.0\\system.componentmodel.annotations.4.7.0.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.7.1\\system.diagnostics.diagnosticsource.4.7.1.nupkg.sha512",
"C:\\Users\\Alexey\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.6.0\\system.runtime.compilerservices.unsafe.4.6.0.nupkg.sha512"
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.1\\microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.bcl.hashcode\\1.1.1\\microsoft.bcl.hashcode.1.1.1.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.entityframeworkcore\\3.1.14\\microsoft.entityframeworkcore.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\3.1.14\\microsoft.entityframeworkcore.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\3.1.14\\microsoft.entityframeworkcore.analyzers.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.entityframeworkcore.design\\3.1.14\\microsoft.entityframeworkcore.design.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\3.1.14\\microsoft.entityframeworkcore.relational.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\3.1.14\\microsoft.extensions.caching.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.caching.memory\\3.1.14\\microsoft.extensions.caching.memory.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.configuration\\3.1.14\\microsoft.extensions.configuration.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\3.1.14\\microsoft.extensions.configuration.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.configuration.binder\\3.1.14\\microsoft.extensions.configuration.binder.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\3.1.14\\microsoft.extensions.dependencyinjection.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\3.1.14\\microsoft.extensions.dependencyinjection.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.logging\\3.1.14\\microsoft.extensions.logging.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\3.1.14\\microsoft.extensions.logging.abstractions.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.options\\3.1.14\\microsoft.extensions.options.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\microsoft.extensions.primitives\\3.1.14\\microsoft.extensions.primitives.3.1.14.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\npgsql\\4.1.8\\npgsql.4.1.8.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\3.1.11\\npgsql.entityframeworkcore.postgresql.3.1.11.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\system.collections.immutable\\1.7.1\\system.collections.immutable.1.7.1.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\system.componentmodel.annotations\\4.7.0\\system.componentmodel.annotations.4.7.0.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.7.1\\system.diagnostics.diagnosticsource.4.7.1.nupkg.sha512",
"C:\\Users\\Alex\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.6.0\\system.runtime.compilerservices.unsafe.4.6.0.nupkg.sha512"
],
"logs": []
}
\ No newline at end of file
"version":"1.0.0","restore":{"projectUniqueName":"C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj","projectName":"CockieAuthApp","projectPath":"C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\CockieAuthApp.csproj","outputPath":"C:\\Users\\Alexey\\RiderProjects\\CockieAuthApp\\CockieAuthApp\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["netcoreapp3.1"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"netcoreapp3.1":{"projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netcoreapp3.1":{"dependencies":{"Microsoft.EntityFrameworkCore.Design":{"include":"Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive","suppressParent":"All","target":"Package","version":"[3.1.14, )"},"Npgsql.EntityFrameworkCore.PostgreSQL":{"target":"Package","version":"[3.1.11, )"}},"imports":["net461","net462","net47","net471","net472","net48"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\3.1.402\\RuntimeIdentifierGraph.json"}}
\ No newline at end of file
"version":"1.0.0","restore":{"projectUniqueName":"C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj","projectName":"CockieAuthApp","projectPath":"C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\CockieAuthApp.csproj","outputPath":"C:\\Users\\Alex\\Desktop\\webinar\\Webinar_57\\cookieauth\\CockieAuthApp\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["netcoreapp3.1"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"netcoreapp3.1":{"projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netcoreapp3.1":{"dependencies":{"Microsoft.EntityFrameworkCore.Design":{"include":"Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive","suppressParent":"All","target":"Package","version":"[3.1.14, )"},"Npgsql.EntityFrameworkCore.PostgreSQL":{"target":"Package","version":"[3.1.11, )"}},"imports":["net461","net462","net47","net471","net472","net48"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\3.1.404\\RuntimeIdentifierGraph.json"}}
\ No newline at end of file
16189261599283846
\ No newline at end of file
16190067981500325
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment