├── .vs └── ServerSideSPA │ ├── v15 │ └── Server │ │ └── sqlite3 │ │ ├── db.lock │ │ ├── storage.ide │ │ ├── storage.ide-shm │ │ └── storage.ide-wal │ └── DesignTimeBuild │ └── .dtbcache ├── ServerSideSPA.App ├── Pages │ ├── _ViewImports.cshtml │ ├── Index.cshtml │ ├── EmployeeData.cshtml.cs │ └── EmployeeData.cshtml ├── obj │ ├── Debug │ │ └── netstandard2.0 │ │ │ ├── ServerSideSPA.App.csproj.CopyComplete │ │ │ ├── Blazor.inputs.txt │ │ │ ├── ServerSideSPA.App.AssemblyInfo.cs │ │ │ ├── _ViewImports.g.cs │ │ │ ├── App.g.i.cs │ │ │ ├── Shared │ │ │ ├── MainLayout.g.i.cs │ │ │ ├── NavMenu.g.i.cs │ │ │ ├── SurveyPrompt.g.i.cs │ │ │ ├── MainLayout.g.cs │ │ │ ├── SurveyPrompt.g.cs │ │ │ └── NavMenu.g.cs │ │ │ ├── _ViewImports.g.i.cs │ │ │ ├── Pages │ │ │ ├── _ViewImports.g.cs │ │ │ ├── _ViewImports.g.i.cs │ │ │ ├── EmployeeData.g.i.cs │ │ │ ├── Index.g.i.cs │ │ │ ├── Index.g.cs │ │ │ └── EmployeeData.g.cs │ │ │ ├── App.g.cs │ │ │ ├── blazor │ │ │ ├── blazor.boot.json │ │ │ ├── bootjson-references.txt │ │ │ ├── embedded.resources.txt │ │ │ ├── inputs.copylocal.txt │ │ │ ├── resolve-dependencies.txt │ │ │ └── resolved.assemblies.txt │ │ │ └── ServerSideSPA.App.csproj.FileListAbsolute.txt │ ├── ServerSideSPA.App.csproj.nuget.g.targets │ └── ServerSideSPA.App.csproj.nuget.g.props ├── wwwroot │ ├── css │ │ ├── open-iconic │ │ │ ├── font │ │ │ │ ├── fonts │ │ │ │ │ ├── open-iconic.eot │ │ │ │ │ ├── open-iconic.otf │ │ │ │ │ ├── open-iconic.ttf │ │ │ │ │ └── open-iconic.woff │ │ │ │ └── css │ │ │ │ │ └── open-iconic-bootstrap.min.css │ │ │ ├── ICON-LICENSE │ │ │ ├── README.md │ │ │ └── FONT-LICENSE │ │ └── site.css │ └── index.html ├── bin │ └── Debug │ │ └── netstandard2.0 │ │ ├── ServerSideSPA.App.blazor.config │ │ └── dist │ │ └── _framework │ │ ├── wasm │ │ └── mono.wasm │ │ ├── asmjs │ │ └── mono.js.mem │ │ ├── blazor.boot.json │ │ └── blazor.webassembly.js ├── App.cshtml ├── _ViewImports.cshtml ├── Models │ ├── Cities.cs │ ├── Employee.cs │ └── myTestDBContext.cs ├── Shared │ ├── MainLayout.cshtml │ ├── SurveyPrompt.cshtml │ └── NavMenu.cshtml ├── Program.cs ├── Startup.cs ├── Properties │ └── launchSettings.json ├── ServerSideSPA.App.csproj ├── Services │ └── EmployeeService.cs └── DataAccess │ └── EmployeeDataAccessLayer.cs ├── global.json ├── ServerSideSPA.Server ├── obj │ ├── Debug │ │ └── netcoreapp2.1 │ │ │ ├── ServerSideSPA.Server.csproj.CopyComplete │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── ServerSideSPA.Server.RazorAssemblyInfo.cs │ │ │ ├── ServerSideSPA.Server.AssemblyInfo.cs │ │ │ └── ServerSideSPA.Server.csproj.FileListAbsolute.txt │ ├── ServerSideSPA.Server.csproj.nuget.g.targets │ └── ServerSideSPA.Server.csproj.nuget.g.props ├── bin │ └── Debug │ │ └── netcoreapp2.1 │ │ ├── ServerSideSPA.App.blazor.config │ │ ├── ServerSideSPA.Server.runtimeconfig.json │ │ └── ServerSideSPA.Server.runtimeconfig.dev.json ├── ServerSideSPA.Server.csproj ├── Program.cs ├── Properties │ └── launchSettings.json └── Startup.cs ├── .gitignore ├── README.md └── ServerSideSPA.sln /.vs/ServerSideSPA/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "2.1.300" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/ServerSideSPA.App.csproj.CopyComplete: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/Debug/netcoreapp2.1/ServerSideSPA.Server.csproj.CopyComplete: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Blazor.inputs.txt: -------------------------------------------------------------------------------- 1 | d3776785ec1c2fd8a3ffa43e9f10e429ddac422d 2 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/Debug/netcoreapp2.1/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/Debug/netcoreapp2.1/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/Debug/netcoreapp2.1/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.vs/ServerSideSPA/DesignTimeBuild/.dtbcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/.vs/ServerSideSPA/DesignTimeBuild/.dtbcache -------------------------------------------------------------------------------- /.vs/ServerSideSPA/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/.vs/ServerSideSPA/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /.vs/ServerSideSPA/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/.vs/ServerSideSPA/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /.vs/ServerSideSPA/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/.vs/ServerSideSPA/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /ServerSideSPA.App/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |

Hello, world!

4 | 5 | Welcome to your new app. 6 | 7 | 8 | -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.App/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /ServerSideSPA.App/bin/Debug/netstandard2.0/ServerSideSPA.App.blazor.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.App/bin/Debug/netstandard2.0/ServerSideSPA.App.blazor.config -------------------------------------------------------------------------------- /ServerSideSPA.App/bin/Debug/netstandard2.0/dist/_framework/wasm/mono.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.App/bin/Debug/netstandard2.0/dist/_framework/wasm/mono.wasm -------------------------------------------------------------------------------- /ServerSideSPA.App/bin/Debug/netstandard2.0/dist/_framework/asmjs/mono.js.mem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.App/bin/Debug/netstandard2.0/dist/_framework/asmjs/mono.js.mem -------------------------------------------------------------------------------- /ServerSideSPA.Server/bin/Debug/netcoreapp2.1/ServerSideSPA.App.blazor.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/Blazor-Server-Side-SPA/HEAD/ServerSideSPA.Server/bin/Debug/netcoreapp2.1/ServerSideSPA.App.blazor.config -------------------------------------------------------------------------------- /ServerSideSPA.App/App.cshtml: -------------------------------------------------------------------------------- 1 | 5 | 6 | -------------------------------------------------------------------------------- /ServerSideSPA.App/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Blazor.Layouts 3 | @using Microsoft.AspNetCore.Blazor.Routing 4 | @using Microsoft.JSInterop 5 | @using ServerSideSPA.App 6 | @using ServerSideSPA.App.Shared 7 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Models/Cities.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace ServerSideSPA.App.Models 5 | { 6 | public partial class Cities 7 | { 8 | public int CityId { get; set; } 9 | public string CityName { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # This .gitignore file was automatically created by Microsoft(R) Visual Studio. 3 | ################################################################################ 4 | 5 | /.vs/ServerSideSPA/v16/Server/sqlite3/db.lock 6 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/bin/Debug/netcoreapp2.1/ServerSideSPA.Server.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.1", 4 | "framework": { 5 | "name": "Microsoft.AspNetCore.App", 6 | "version": "2.1.1" 7 | }, 8 | "configProperties": { 9 | "System.GC.Server": true 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /ServerSideSPA.Server/bin/Debug/netcoreapp2.1/ServerSideSPA.Server.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\asharma2\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\asharma2\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /ServerSideSPA.App/Shared/MainLayout.cshtml: -------------------------------------------------------------------------------- 1 | @inherits BlazorLayoutComponent 2 | 3 | 6 | 7 |
8 |
9 | About 10 |
11 | 12 |
13 | @Body 14 |
15 |
16 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Models/Employee.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace ServerSideSPA.App.Models 5 | { 6 | public partial class Employee 7 | { 8 | public int EmployeeId { get; set; } 9 | public string Name { get; set; } 10 | public string City { get; set; } 11 | public string Department { get; set; } 12 | public string Gender { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ServerSideSPA 7 | 8 | 9 | 10 | 11 | 12 | Loading... 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Program.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Blazor.Hosting; 2 | 3 | namespace ServerSideSPA.App 4 | { 5 | public class Program 6 | { 7 | public static void Main(string[] args) 8 | { 9 | CreateHostBuilder(args).Build().Run(); 10 | } 11 | 12 | public static IWebAssemblyHostBuilder CreateHostBuilder(string[] args) => 13 | BlazorWebAssemblyHost.CreateDefaultBuilder() 14 | .UseBlazorStartup(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/ServerSideSPA.Server.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.1 5 | 7.3 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Shared/SurveyPrompt.cshtml: -------------------------------------------------------------------------------- 1 | 11 | 12 | @functions { 13 | [Parameter] 14 | string Title { get; set; } // Demonstrates how a parent component can supply parameters 15 | } 16 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Startup.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Blazor.Builder; 2 | using Microsoft.Extensions.DependencyInjection; 3 | using ServerSideSPA.App.Services; 4 | 5 | namespace ServerSideSPA.App 6 | { 7 | public class Startup 8 | { 9 | public void ConfigureServices(IServiceCollection services) 10 | { 11 | // Since Blazor is running on the server, we can use an application service 12 | // to read the forecast data. 13 | services.AddSingleton(); 14 | } 15 | 16 | public void Configure(IBlazorApplicationBuilder app) 17 | { 18 | app.AddComponent("app"); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/Program.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore; 2 | using Microsoft.AspNetCore.Hosting; 3 | using Microsoft.Extensions.Configuration; 4 | 5 | namespace ServerSideSPA.Server 6 | { 7 | public class Program 8 | { 9 | public static void Main(string[] args) 10 | { 11 | BuildWebHost(args).Run(); 12 | } 13 | 14 | public static IWebHost BuildWebHost(string[] args) => 15 | WebHost.CreateDefaultBuilder(args) 16 | .UseConfiguration(new ConfigurationBuilder() 17 | .AddCommandLine(args) 18 | .Build()) 19 | .UseStartup() 20 | .Build(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:64400/", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "ServerSideSPA.App": { 19 | "commandName": "Project", 20 | "launchBrowser": true, 21 | "environmentVariables": { 22 | "ASPNETCORE_ENVIRONMENT": "Development" 23 | }, 24 | "applicationUrl": "http://localhost:64401/" 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /ServerSideSPA.Server/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:64398/", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "ServerSideSPA.Server": { 19 | "commandName": "Project", 20 | "launchBrowser": true, 21 | "environmentVariables": { 22 | "ASPNETCORE_ENVIRONMENT": "Development" 23 | }, 24 | "applicationUrl": "http://localhost:64399/" 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /ServerSideSPA.App/ServerSideSPA.App.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | Exe 6 | 7.3 7 | 8 | 9 | false 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Blazor-Server-Side-SPA 2 | In this article, we will create a Single Page Application (SPA) using the server-side Blazor concepts with the help of Entity Framework Core database first approach. Single-Page Applications are web applications that load a single HTML page and dynamically update that page as the user interacts with the app. 3 | 4 | We will be creating a sample Employee Record Management System and perform CRUD operations on it. A modal popup will display the form to handle the use inputs and the form also have a dropdown list, which will bind to a database table. We will also provide a filter option to the user to filter the employee records based on employee name. 5 | 6 | We will be using Visual Studio 2017 and SQL Server 2017 for our demo. 7 | Take a look at the final application 8 | 9 | ![Alt Text](https://i0.wp.com/ankitsharmablogs.com/wp-content/uploads/2018/08/ServerSide.gif) 10 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/ServerSideSPA.App.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Shared/NavMenu.cshtml: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 | 21 |
22 | 23 | @functions { 24 | bool collapseNavMenu = true; 25 | 26 | void ToggleNavMenu() 27 | { 28 | collapseNavMenu = !collapseNavMenu; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/Debug/netcoreapp2.1/ServerSideSPA.Server.RazorAssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute("ServerSideSPA.Server.Views")] 15 | [assembly: Microsoft.AspNetCore.Razor.Hosting.RazorLanguageVersionAttribute("2.1")] 16 | [assembly: Microsoft.AspNetCore.Razor.Hosting.RazorConfigurationNameAttribute("MVC-2.1")] 17 | [assembly: Microsoft.AspNetCore.Razor.Hosting.RazorExtensionAssemblyNameAttribute("MVC-2.1", "Microsoft.AspNetCore.Mvc.Razor.Extensions")] 18 | 19 | // Generated by the MSBuild WriteCodeFragment class. 20 | 21 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/ServerSideSPA.App.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("ServerSideSPA.App")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("ServerSideSPA.App")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("ServerSideSPA.App")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/Debug/netcoreapp2.1/ServerSideSPA.Server.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("ServerSideSPA.Server")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("ServerSideSPA.Server")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("ServerSideSPA.Server")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/ICON-LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Waybury 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/_ViewImports.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93fc9343f4eb7e89c2790fcfa55e138a45603743" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | public class _ViewImports : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 20 | { 21 | #pragma warning disable 1998 22 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 23 | { 24 | base.BuildRenderTree(builder); 25 | } 26 | #pragma warning restore 1998 27 | } 28 | } 29 | #pragma warning restore 1591 30 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Services/EmployeeService.cs: -------------------------------------------------------------------------------- 1 | using ServerSideSPA.App.DataAccess; 2 | using ServerSideSPA.App.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | 8 | namespace ServerSideSPA.App.Services 9 | { 10 | public class EmployeeService 11 | { 12 | EmployeeDataAccessLayer objemployee = new EmployeeDataAccessLayer(); 13 | 14 | public Task> GetEmployeeList() 15 | { 16 | return Task.FromResult(objemployee.GetAllEmployees()); 17 | } 18 | 19 | public void Create(Employee employee) 20 | { 21 | objemployee.AddEmployee(employee); 22 | } 23 | public Task Details(int id) 24 | { 25 | return Task.FromResult(objemployee.GetEmployeeData(id)); 26 | } 27 | 28 | public void Edit(Employee employee) 29 | { 30 | objemployee.UpdateEmployee(employee); 31 | } 32 | public void Delete(int id) 33 | { 34 | objemployee.DeleteEmployee(id); 35 | } 36 | public Task> GetCities() 37 | { 38 | return Task.FromResult(objemployee.GetCityData()); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/App.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\App.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0b0033970817befc56fab55900c00013d45e351f" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | public class App : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 24 | { 25 | #pragma warning disable 1998 26 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 27 | { 28 | } 29 | #pragma warning restore 1998 30 | } 31 | } 32 | #pragma warning restore 1591 33 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Shared/MainLayout.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\MainLayout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "bb329513dbe86530b8cdef18c7b7dc1c30490918" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App.Shared 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | public class MainLayout : BlazorLayoutComponent 24 | { 25 | #pragma warning disable 1998 26 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 27 | { 28 | } 29 | #pragma warning restore 1998 30 | } 31 | } 32 | #pragma warning restore 1591 33 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/_ViewImports.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93fc9343f4eb7e89c2790fcfa55e138a45603743" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | public class _ViewImports : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 24 | { 25 | #pragma warning disable 1998 26 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 27 | { 28 | } 29 | #pragma warning restore 1998 30 | } 31 | } 32 | #pragma warning restore 1591 33 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Pages/_ViewImports.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cc2c979e540bfa06061eb258a3ccf0dd5e0facf5" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App.Pages 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | [Microsoft.AspNetCore.Blazor.Layouts.LayoutAttribute(typeof(MainLayout))] 20 | 21 | public class _ViewImports : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 22 | { 23 | #pragma warning disable 1998 24 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 25 | { 26 | base.BuildRenderTree(builder); 27 | } 28 | #pragma warning restore 1998 29 | } 30 | } 31 | #pragma warning restore 1591 32 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Pages/_ViewImports.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cc2c979e540bfa06061eb258a3ccf0dd5e0facf5" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App.Pages 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | [Microsoft.AspNetCore.Blazor.Layouts.LayoutAttribute(typeof(MainLayout))] 24 | 25 | public class _ViewImports : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 26 | { 27 | #pragma warning disable 1998 28 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 29 | { 30 | } 31 | #pragma warning restore 1998 32 | } 33 | } 34 | #pragma warning restore 1591 35 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Pages/EmployeeData.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93bfe51d4894bd4d134fc0d348153bd97cc9688d" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App.Pages 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | [Microsoft.AspNetCore.Blazor.Layouts.LayoutAttribute(typeof(MainLayout))] 24 | 25 | [Microsoft.AspNetCore.Blazor.Components.RouteAttribute("/fetchemployee")] 26 | public class EmployeeData : EmployeeDataModel 27 | { 28 | #pragma warning disable 1998 29 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 30 | { 31 | } 32 | #pragma warning restore 1998 33 | } 34 | } 35 | #pragma warning restore 1591 36 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Pages/Index.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1263182b655a2f6cfafbc021a8a9bf970c0ef315" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App.Pages 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | [Microsoft.AspNetCore.Blazor.Layouts.LayoutAttribute(typeof(MainLayout))] 24 | 25 | [Microsoft.AspNetCore.Blazor.Components.RouteAttribute("/")] 26 | public class Index : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 27 | { 28 | #pragma warning disable 1998 29 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 30 | { 31 | } 32 | #pragma warning restore 1998 33 | } 34 | } 35 | #pragma warning restore 1591 36 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/App.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\App.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0b0033970817befc56fab55900c00013d45e351f" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | public class App : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 20 | { 21 | #pragma warning disable 1998 22 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 23 | { 24 | base.BuildRenderTree(builder); 25 | builder.OpenComponent(0); 26 | builder.AddAttribute(1, "AppAssembly", Microsoft.AspNetCore.Blazor.Components.RuntimeHelpers.TypeCheck(typeof(Program).Assembly)); 27 | builder.CloseComponent(); 28 | } 29 | #pragma warning restore 1998 30 | } 31 | } 32 | #pragma warning restore 1591 33 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Shared/NavMenu.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\NavMenu.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "81b81a77aab69392e121ec76e60a184fc783fce3" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App.Shared 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | public class NavMenu : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 24 | { 25 | #pragma warning disable 1998 26 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 27 | { 28 | } 29 | #pragma warning restore 1998 30 | #line 23 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\NavMenu.cshtml" 31 | 32 | bool collapseNavMenu = true; 33 | 34 | void ToggleNavMenu() 35 | { 36 | collapseNavMenu = !collapseNavMenu; 37 | } 38 | 39 | #line default 40 | #line hidden 41 | } 42 | } 43 | #pragma warning restore 1591 44 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Shared/SurveyPrompt.g.i.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\SurveyPrompt.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b077e14060797caee7bdbfbe20bcfffa67454721" 2 | // 3 | #pragma warning disable 1591 4 | #pragma warning disable 0414 5 | #pragma warning disable 0649 6 | #pragma warning disable 0169 7 | 8 | namespace ServerSideSPA.App.Shared 9 | { 10 | #line hidden 11 | using System; 12 | using System.Collections.Generic; 13 | using System.Linq; 14 | using System.Threading.Tasks; 15 | using Microsoft.AspNetCore.Blazor; 16 | using Microsoft.AspNetCore.Blazor.Components; 17 | using System.Net.Http; 18 | using Microsoft.AspNetCore.Blazor.Layouts; 19 | using Microsoft.AspNetCore.Blazor.Routing; 20 | using Microsoft.JSInterop; 21 | using ServerSideSPA.App; 22 | using ServerSideSPA.App.Shared; 23 | public class SurveyPrompt : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 24 | { 25 | #pragma warning disable 1998 26 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 27 | { 28 | } 29 | #pragma warning restore 1998 30 | #line 12 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\SurveyPrompt.cshtml" 31 | 32 | [Parameter] 33 | string Title { get; set; } // Demonstrates how a parent component can supply parameters 34 | 35 | #line default 36 | #line hidden 37 | } 38 | } 39 | #pragma warning restore 1591 40 | -------------------------------------------------------------------------------- /ServerSideSPA.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27703.2047 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerSideSPA.Server", "ServerSideSPA.Server\ServerSideSPA.Server.csproj", "{AC295127-CB43-4013-9E49-6A47630E6BE1}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerSideSPA.App", "ServerSideSPA.App\ServerSideSPA.App.csproj", "{CC819C13-DB0B-4F82-96E3-D594DF43626F}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {AC295127-CB43-4013-9E49-6A47630E6BE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {AC295127-CB43-4013-9E49-6A47630E6BE1}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {AC295127-CB43-4013-9E49-6A47630E6BE1}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {AC295127-CB43-4013-9E49-6A47630E6BE1}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {CC819C13-DB0B-4F82-96E3-D594DF43626F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {CC819C13-DB0B-4F82-96E3-D594DF43626F}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {CC819C13-DB0B-4F82-96E3-D594DF43626F}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {CC819C13-DB0B-4F82-96E3-D594DF43626F}.Release|Any CPU.Build.0 = Release|Any CPU 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {8FEEBFAB-9595-4C58-9C10-6DC8E51EF467} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/Startup.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Blazor.Server; 2 | using Microsoft.AspNetCore.Builder; 3 | using Microsoft.AspNetCore.Hosting; 4 | using Microsoft.AspNetCore.ResponseCompression; 5 | using Microsoft.Extensions.DependencyInjection; 6 | using System.Linq; 7 | using System.Net.Mime; 8 | 9 | namespace ServerSideSPA.Server 10 | { 11 | public class Startup 12 | { 13 | // This method gets called by the runtime. Use this method to add services to the container. 14 | // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940 15 | public void ConfigureServices(IServiceCollection services) 16 | { 17 | // Adds the Server-Side Blazor services, and those registered by the app project's startup. 18 | services.AddServerSideBlazor(); 19 | 20 | services.AddResponseCompression(options => 21 | { 22 | options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[] 23 | { 24 | MediaTypeNames.Application.Octet, 25 | WasmMediaTypeNames.Application.Wasm, 26 | }); 27 | }); 28 | } 29 | 30 | // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. 31 | public void Configure(IApplicationBuilder app, IHostingEnvironment env) 32 | { 33 | app.UseResponseCompression(); 34 | 35 | if (env.IsDevelopment()) 36 | { 37 | app.UseDeveloperExceptionPage(); 38 | } 39 | 40 | // Use component registrations and static files from the app project. 41 | app.UseServerSideBlazor(); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Pages/Index.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1263182b655a2f6cfafbc021a8a9bf970c0ef315" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App.Pages 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | [Microsoft.AspNetCore.Blazor.Layouts.LayoutAttribute(typeof(MainLayout))] 20 | 21 | [Microsoft.AspNetCore.Blazor.Components.RouteAttribute("/")] 22 | public class Index : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 23 | { 24 | #pragma warning disable 1998 25 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 26 | { 27 | base.BuildRenderTree(builder); 28 | builder.OpenElement(0, "h1"); 29 | builder.AddContent(1, "Hello, world!"); 30 | builder.CloseElement(); 31 | builder.AddContent(2, "\n\nWelcome to your new app.\n\n"); 32 | builder.OpenComponent(3); 33 | builder.AddAttribute(4, "Title", "How is Blazor working for you?"); 34 | builder.CloseComponent(); 35 | } 36 | #pragma warning restore 1998 37 | } 38 | } 39 | #pragma warning restore 1591 40 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/ServerSideSPA.App.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | True 5 | NuGet 6 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\asharma2\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder 9 | PackageReference 10 | 4.7.0 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/blazor/blazor.boot.json: -------------------------------------------------------------------------------- 1 | {"main":"ServerSideSPA.App.dll","entryPoint":"ServerSideSPA.App.Program::Main","assemblyReferences":["Microsoft.EntityFrameworkCore.Relational.dll","System.Diagnostics.DiagnosticSource.dll","System.Runtime.Extensions.dll","System.dll","System.Core.dll","mscorlib.dll","System.Xml.dll","Mono.Security.dll","System.Diagnostics.Debug.dll","System.Threading.dll","System.Collections.dll","System.Reflection.dll","System.Diagnostics.Tracing.dll","System.Runtime.dll","System.ComponentModel.Composition.dll","Microsoft.Extensions.Logging.dll","Microsoft.Extensions.Logging.Abstractions.dll","netstandard.dll","System.Xml.Linq.dll","System.Web.Services.dll","System.Transactions.dll","System.Runtime.Serialization.dll","System.ServiceModel.Internals.dll","System.Numerics.dll","System.Net.Http.dll","System.IO.Compression.FileSystem.dll","System.IO.Compression.dll","System.Drawing.dll","System.Data.dll","Microsoft.Extensions.Options.dll","Microsoft.Extensions.Primitives.dll","System.Runtime.CompilerServices.Unsafe.dll","System.Memory.dll","Microsoft.Extensions.DependencyInjection.Abstractions.dll","Microsoft.Extensions.Configuration.Abstractions.dll","Microsoft.EntityFrameworkCore.Abstractions.dll","System.ComponentModel.Annotations.dll","System.ComponentModel.DataAnnotations.dll","Remotion.Linq.dll","System.Linq.Queryable.dll","System.Reflection.Extensions.dll","System.Linq.dll","System.ObjectModel.dll","System.Linq.Expressions.dll","System.Interactive.Async.dll","System.Threading.Tasks.dll","System.Resources.ResourceManager.dll","Microsoft.EntityFrameworkCore.dll","Microsoft.Extensions.Caching.Memory.dll","Microsoft.Extensions.Caching.Abstractions.dll","Microsoft.Extensions.DependencyInjection.dll","System.Collections.Immutable.dll","Microsoft.EntityFrameworkCore.SqlServer.dll","System.Data.SqlClient.dll","Microsoft.AspNetCore.Blazor.dll","Microsoft.JSInterop.dll","Microsoft.AspNetCore.Blazor.Browser.dll","Mono.WebAssembly.Interop.dll","ServerSideSPA.App.pdb"],"cssReferences":[],"jsReferences":[],"linkerEnabled":false} -------------------------------------------------------------------------------- /ServerSideSPA.App/bin/Debug/netstandard2.0/dist/_framework/blazor.boot.json: -------------------------------------------------------------------------------- 1 | {"main":"ServerSideSPA.App.dll","entryPoint":"ServerSideSPA.App.Program::Main","assemblyReferences":["Microsoft.EntityFrameworkCore.Relational.dll","System.Diagnostics.DiagnosticSource.dll","System.Runtime.Extensions.dll","System.dll","System.Core.dll","mscorlib.dll","System.Xml.dll","Mono.Security.dll","System.Diagnostics.Debug.dll","System.Threading.dll","System.Collections.dll","System.Reflection.dll","System.Diagnostics.Tracing.dll","System.Runtime.dll","System.ComponentModel.Composition.dll","Microsoft.Extensions.Logging.dll","Microsoft.Extensions.Logging.Abstractions.dll","netstandard.dll","System.Xml.Linq.dll","System.Web.Services.dll","System.Transactions.dll","System.Runtime.Serialization.dll","System.ServiceModel.Internals.dll","System.Numerics.dll","System.Net.Http.dll","System.IO.Compression.FileSystem.dll","System.IO.Compression.dll","System.Drawing.dll","System.Data.dll","Microsoft.Extensions.Options.dll","Microsoft.Extensions.Primitives.dll","System.Runtime.CompilerServices.Unsafe.dll","System.Memory.dll","Microsoft.Extensions.DependencyInjection.Abstractions.dll","Microsoft.Extensions.Configuration.Abstractions.dll","Microsoft.EntityFrameworkCore.Abstractions.dll","System.ComponentModel.Annotations.dll","System.ComponentModel.DataAnnotations.dll","Remotion.Linq.dll","System.Linq.Queryable.dll","System.Reflection.Extensions.dll","System.Linq.dll","System.ObjectModel.dll","System.Linq.Expressions.dll","System.Interactive.Async.dll","System.Threading.Tasks.dll","System.Resources.ResourceManager.dll","Microsoft.EntityFrameworkCore.dll","Microsoft.Extensions.Caching.Memory.dll","Microsoft.Extensions.Caching.Abstractions.dll","Microsoft.Extensions.DependencyInjection.dll","System.Collections.Immutable.dll","Microsoft.EntityFrameworkCore.SqlServer.dll","System.Data.SqlClient.dll","Microsoft.AspNetCore.Blazor.dll","Microsoft.JSInterop.dll","Microsoft.AspNetCore.Blazor.Browser.dll","Mono.WebAssembly.Interop.dll","ServerSideSPA.App.pdb"],"cssReferences":[],"jsReferences":[],"linkerEnabled":false} -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/blazor/bootjson-references.txt: -------------------------------------------------------------------------------- 1 | Microsoft.EntityFrameworkCore.Relational.dll 2 | System.Diagnostics.DiagnosticSource.dll 3 | System.Runtime.Extensions.dll 4 | System.dll 5 | System.Core.dll 6 | mscorlib.dll 7 | System.Xml.dll 8 | Mono.Security.dll 9 | System.Diagnostics.Debug.dll 10 | System.Threading.dll 11 | System.Collections.dll 12 | System.Reflection.dll 13 | System.Diagnostics.Tracing.dll 14 | System.Runtime.dll 15 | System.ComponentModel.Composition.dll 16 | Microsoft.Extensions.Logging.dll 17 | Microsoft.Extensions.Logging.Abstractions.dll 18 | netstandard.dll 19 | System.Xml.Linq.dll 20 | System.Web.Services.dll 21 | System.Transactions.dll 22 | System.Runtime.Serialization.dll 23 | System.ServiceModel.Internals.dll 24 | System.Numerics.dll 25 | System.Net.Http.dll 26 | System.IO.Compression.FileSystem.dll 27 | System.IO.Compression.dll 28 | System.Drawing.dll 29 | System.Data.dll 30 | Microsoft.Extensions.Options.dll 31 | Microsoft.Extensions.Primitives.dll 32 | System.Runtime.CompilerServices.Unsafe.dll 33 | System.Memory.dll 34 | Microsoft.Extensions.DependencyInjection.Abstractions.dll 35 | Microsoft.Extensions.Configuration.Abstractions.dll 36 | Microsoft.EntityFrameworkCore.Abstractions.dll 37 | System.ComponentModel.Annotations.dll 38 | System.ComponentModel.DataAnnotations.dll 39 | Remotion.Linq.dll 40 | System.Linq.Queryable.dll 41 | System.Reflection.Extensions.dll 42 | System.Linq.dll 43 | System.ObjectModel.dll 44 | System.Linq.Expressions.dll 45 | System.Interactive.Async.dll 46 | System.Threading.Tasks.dll 47 | System.Resources.ResourceManager.dll 48 | Microsoft.EntityFrameworkCore.dll 49 | Microsoft.Extensions.Caching.Memory.dll 50 | Microsoft.Extensions.Caching.Abstractions.dll 51 | Microsoft.Extensions.DependencyInjection.dll 52 | System.Collections.Immutable.dll 53 | Microsoft.EntityFrameworkCore.SqlServer.dll 54 | System.Data.SqlClient.dll 55 | Microsoft.AspNetCore.Blazor.dll 56 | Microsoft.JSInterop.dll 57 | Microsoft.AspNetCore.Blazor.Browser.dll 58 | Mono.WebAssembly.Interop.dll 59 | ServerSideSPA.App.pdb 60 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/Debug/netcoreapp2.1/ServerSideSPA.Server.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.csprojAssemblyReference.cache 2 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.csproj.CoreCompileInputs.cache 3 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.RazorAssemblyInfo.cache 4 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.RazorAssemblyInfo.cs 5 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.AssemblyInfoInputs.cache 6 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.AssemblyInfo.cs 7 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.App.blazor.config 8 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.Server.deps.json 9 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.Server.runtimeconfig.json 10 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.Server.runtimeconfig.dev.json 11 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.Server.dll 12 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.Server.pdb 13 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.App.dll 14 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\bin\Debug\netcoreapp2.1\ServerSideSPA.App.pdb 15 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.RazorTargetAssemblyInfo.cache 16 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.csproj.CopyComplete 17 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.dll 18 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\Debug\netcoreapp2.1\ServerSideSPA.Server.pdb 19 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Models/myTestDBContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.EntityFrameworkCore; 3 | using Microsoft.EntityFrameworkCore.Metadata; 4 | 5 | namespace ServerSideSPA.App.Models 6 | { 7 | public partial class myTestDBContext : DbContext 8 | { 9 | public myTestDBContext() 10 | { 11 | } 12 | 13 | public myTestDBContext(DbContextOptions options) 14 | : base(options) 15 | { 16 | } 17 | 18 | public virtual DbSet Cities { get; set; } 19 | public virtual DbSet Employee { get; set; } 20 | 21 | protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) 22 | { 23 | if (!optionsBuilder.IsConfigured) 24 | { 25 | #warning To protect potentially sensitive information in your connection string, you should move it out of source code. See http://go.microsoft.com/fwlink/?LinkId=723263 for guidance on storing connection strings. 26 | optionsBuilder.UseSqlServer("Data Source=IN01N01079\\SQLEXPRESS;Initial Catalog=myTestDB;Persist Security Info=True;Integrated Security = true"); 27 | } 28 | } 29 | 30 | protected override void OnModelCreating(ModelBuilder modelBuilder) 31 | { 32 | modelBuilder.Entity(entity => 33 | { 34 | entity.HasKey(e => e.CityId); 35 | 36 | entity.Property(e => e.CityId).HasColumnName("CityID"); 37 | 38 | entity.Property(e => e.CityName) 39 | .HasMaxLength(20) 40 | .IsUnicode(false); 41 | }); 42 | 43 | modelBuilder.Entity(entity => 44 | { 45 | entity.Property(e => e.City) 46 | .IsRequired() 47 | .HasMaxLength(20) 48 | .IsUnicode(false); 49 | 50 | entity.Property(e => e.Department) 51 | .IsRequired() 52 | .HasMaxLength(20) 53 | .IsUnicode(false); 54 | 55 | entity.Property(e => e.Gender) 56 | .IsRequired() 57 | .HasMaxLength(6) 58 | .IsUnicode(false); 59 | 60 | entity.Property(e => e.Name) 61 | .IsRequired() 62 | .HasMaxLength(20) 63 | .IsUnicode(false); 64 | }); 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/ServerSideSPA.Server.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ServerSideSPA.App/DataAccess/EmployeeDataAccessLayer.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.EntityFrameworkCore; 2 | using ServerSideSPA.App.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | 8 | namespace ServerSideSPA.App.DataAccess 9 | { 10 | public class EmployeeDataAccessLayer 11 | { 12 | myTestDBContext db = new myTestDBContext(); 13 | 14 | //To Get all employees details 15 | public List GetAllEmployees() 16 | { 17 | try 18 | { 19 | return db.Employee.AsNoTracking().ToList(); 20 | } 21 | catch 22 | { 23 | throw; 24 | } 25 | } 26 | 27 | //To Add new employee record 28 | public void AddEmployee(Employee employee) 29 | { 30 | try 31 | { 32 | db.Employee.Add(employee); 33 | db.SaveChanges(); 34 | } 35 | catch 36 | { 37 | throw; 38 | } 39 | } 40 | 41 | //To Update the records of a particluar employee 42 | public void UpdateEmployee(Employee employee) 43 | { 44 | try 45 | { 46 | db.Entry(employee).State = EntityState.Modified; 47 | db.SaveChanges(); 48 | } 49 | catch 50 | { 51 | throw; 52 | } 53 | } 54 | 55 | //Get the details of a particular employee 56 | public Employee GetEmployeeData(int id) 57 | { 58 | try 59 | { 60 | var employee = db.Employee.Find(id); 61 | db.Entry(employee).State = EntityState.Detached; 62 | return employee; 63 | } 64 | catch 65 | { 66 | throw; 67 | } 68 | } 69 | 70 | //To Delete the record of a particular employee 71 | public void DeleteEmployee(int id) 72 | { 73 | try 74 | { 75 | Employee emp = db.Employee.Find(id); 76 | db.Employee.Remove(emp); 77 | db.SaveChanges(); 78 | } 79 | catch 80 | { 81 | throw; 82 | } 83 | } 84 | 85 | // To get the list of Cities 86 | public List GetCityData() 87 | { 88 | try 89 | { 90 | return db.Cities.ToList(); 91 | } 92 | catch 93 | { 94 | throw; 95 | } 96 | } 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Shared/MainLayout.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\MainLayout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "bb329513dbe86530b8cdef18c7b7dc1c30490918" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App.Shared 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | public class MainLayout : BlazorLayoutComponent 20 | { 21 | #pragma warning disable 1998 22 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 23 | { 24 | base.BuildRenderTree(builder); 25 | builder.OpenElement(0, "div"); 26 | builder.AddAttribute(1, "class", "sidebar"); 27 | builder.AddContent(2, "\n "); 28 | builder.OpenComponent(3); 29 | builder.CloseComponent(); 30 | builder.AddContent(4, "\n"); 31 | builder.CloseElement(); 32 | builder.AddContent(5, "\n\n"); 33 | builder.OpenElement(6, "div"); 34 | builder.AddAttribute(7, "class", "main"); 35 | builder.AddContent(8, "\n "); 36 | builder.OpenElement(9, "div"); 37 | builder.AddAttribute(10, "class", "top-row px-4"); 38 | builder.AddContent(11, "\n "); 39 | builder.OpenElement(12, "a"); 40 | builder.AddAttribute(13, "href", "https://blazor.net"); 41 | builder.AddAttribute(14, "target", "_blank"); 42 | builder.AddAttribute(15, "class", "ml-md-auto"); 43 | builder.AddContent(16, "About"); 44 | builder.CloseElement(); 45 | builder.AddContent(17, "\n "); 46 | builder.CloseElement(); 47 | builder.AddContent(18, "\n\n "); 48 | builder.OpenElement(19, "div"); 49 | builder.AddAttribute(20, "class", "content px-4"); 50 | builder.AddContent(21, "\n "); 51 | builder.AddContent(22, Body); 52 | builder.AddContent(23, "\n "); 53 | builder.CloseElement(); 54 | builder.AddContent(24, "\n"); 55 | builder.CloseElement(); 56 | } 57 | #pragma warning restore 1998 58 | } 59 | } 60 | #pragma warning restore 1591 61 | -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/site.css: -------------------------------------------------------------------------------- 1 | @import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); 2 | 3 | html, body { 4 | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 5 | } 6 | 7 | app { 8 | position: relative; 9 | display: flex; 10 | flex-direction: column; 11 | } 12 | 13 | .top-row { 14 | height: 3.5rem; 15 | display: flex; 16 | align-items: center; 17 | } 18 | 19 | .main { 20 | flex: 1; 21 | } 22 | 23 | .main .top-row { 24 | background-color: #e6e6e6; 25 | border-bottom: 1px solid #d6d5d5; 26 | } 27 | 28 | .sidebar { 29 | background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); 30 | } 31 | 32 | .sidebar .top-row { 33 | background-color: rgba(0,0,0,0.4); 34 | } 35 | 36 | .sidebar .navbar-brand { 37 | font-size: 1.1rem; 38 | } 39 | 40 | .sidebar .oi { 41 | width: 2rem; 42 | font-size: 1.1rem; 43 | vertical-align: text-top; 44 | top: -2px; 45 | } 46 | 47 | .nav-item { 48 | font-size: 0.9rem; 49 | padding-bottom: 0.5rem; 50 | } 51 | 52 | .nav-item:first-of-type { 53 | padding-top: 1rem; 54 | } 55 | 56 | .nav-item:last-of-type { 57 | padding-bottom: 1rem; 58 | } 59 | 60 | .nav-item a { 61 | color: #d7d7d7; 62 | border-radius: 4px; 63 | height: 3rem; 64 | display: flex; 65 | align-items: center; 66 | line-height: 3rem; 67 | } 68 | 69 | .nav-item a.active { 70 | background-color: rgba(255,255,255,0.25); 71 | color: white; 72 | } 73 | 74 | .nav-item a:hover { 75 | background-color: rgba(255,255,255,0.1); 76 | color: white; 77 | } 78 | 79 | .content { 80 | padding-top: 1.1rem; 81 | } 82 | 83 | .navbar-toggler { 84 | background-color: rgba(255, 255, 255, 0.1); 85 | } 86 | 87 | @media (max-width: 767.98px) { 88 | .main .top-row { 89 | display: none; 90 | } 91 | } 92 | 93 | @media (min-width: 768px) { 94 | app { 95 | flex-direction: row; 96 | } 97 | 98 | .sidebar { 99 | width: 250px; 100 | height: 100vh; 101 | position: sticky; 102 | top: 0; 103 | } 104 | 105 | .main .top-row { 106 | position: sticky; 107 | top: 0; 108 | } 109 | 110 | .main > div { 111 | padding-left: 2rem !important; 112 | padding-right: 1.5rem !important; 113 | } 114 | 115 | .navbar-toggler { 116 | display: none; 117 | } 118 | 119 | .sidebar .collapse { 120 | /* Never collapse the sidebar for wide screens */ 121 | display: block; 122 | } 123 | } 124 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Shared/SurveyPrompt.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\SurveyPrompt.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b077e14060797caee7bdbfbe20bcfffa67454721" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App.Shared 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | public class SurveyPrompt : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 20 | { 21 | #pragma warning disable 1998 22 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 23 | { 24 | base.BuildRenderTree(builder); 25 | builder.OpenElement(0, "div"); 26 | builder.AddAttribute(1, "class", "alert alert-secondary mt-4"); 27 | builder.AddAttribute(2, "role", "alert"); 28 | builder.AddContent(3, "\n "); 29 | builder.OpenElement(4, "span"); 30 | builder.AddAttribute(5, "class", "oi oi-pencil mr-2"); 31 | builder.AddAttribute(6, "aria-hidden", "true"); 32 | builder.CloseElement(); 33 | builder.AddContent(7, " \n "); 34 | builder.OpenElement(8, "strong"); 35 | builder.AddContent(9, Title); 36 | builder.CloseElement(); 37 | builder.AddContent(10, "\n\n "); 38 | builder.OpenElement(11, "span"); 39 | builder.AddAttribute(12, "class", "text-nowrap"); 40 | builder.AddContent(13, "\n Please take our\n "); 41 | builder.OpenElement(14, "a"); 42 | builder.AddAttribute(15, "target", "_blank"); 43 | builder.AddAttribute(16, "class", "font-weight-bold"); 44 | builder.AddAttribute(17, "href", "https://go.microsoft.com/fwlink/?linkid=2006382"); 45 | builder.AddContent(18, "brief survey"); 46 | builder.CloseElement(); 47 | builder.AddContent(19, "\n "); 48 | builder.CloseElement(); 49 | builder.AddContent(20, "\n and tell us what you think.\n"); 50 | builder.CloseElement(); 51 | } 52 | #pragma warning restore 1998 53 | #line 12 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\SurveyPrompt.cshtml" 54 | 55 | [Parameter] 56 | string Title { get; set; } // Demonstrates how a parent component can supply parameters 57 | 58 | #line default 59 | #line hidden 60 | } 61 | } 62 | #pragma warning restore 1591 63 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Pages/EmployeeData.cshtml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Blazor; 6 | using Microsoft.AspNetCore.Blazor.Components; 7 | using Microsoft.AspNetCore.Blazor.Services; 8 | using ServerSideSPA.App.Models; 9 | using ServerSideSPA.App.Services; 10 | 11 | namespace ServerSideSPA.App.Pages 12 | { 13 | public class EmployeeDataModel : BlazorComponent 14 | { 15 | [Inject] 16 | protected EmployeeService employeeService { get; set; } 17 | 18 | protected List empList; 19 | protected List cityList = new List(); 20 | protected Employee emp = new Employee(); 21 | protected string modalTitle { get; set; } 22 | protected Boolean isDelete = false; 23 | protected Boolean isAdd = false; 24 | 25 | protected string SearchString { get; set; } 26 | 27 | protected override async Task OnInitAsync() 28 | { 29 | await GetCities(); 30 | await GetEmployee(); 31 | } 32 | 33 | protected async Task GetCities() 34 | { 35 | cityList = await employeeService.GetCities(); 36 | } 37 | 38 | protected async Task GetEmployee() 39 | { 40 | empList = await employeeService.GetEmployeeList(); 41 | } 42 | 43 | protected async Task FilterEmp() 44 | { 45 | await GetEmployee(); 46 | if (SearchString != "") 47 | { 48 | empList = empList.Where(x => x.Name.IndexOf(SearchString, StringComparison.OrdinalIgnoreCase) != -1).ToList(); 49 | } 50 | } 51 | 52 | protected void AddEmp() 53 | { 54 | emp = new Employee(); 55 | this.modalTitle = "Add Employee"; 56 | this.isAdd = true; 57 | } 58 | 59 | protected async Task EditEmployee(int empID) 60 | { 61 | emp = await employeeService.Details(empID); 62 | this.modalTitle = "Edit Employee"; 63 | this.isAdd = true; 64 | } 65 | 66 | protected async Task SaveEmployee() 67 | { 68 | if (emp.EmployeeId != 0) 69 | { 70 | await Task.Run(() => 71 | { 72 | employeeService.Edit(emp); 73 | }); 74 | } 75 | else 76 | { 77 | await Task.Run(() => 78 | { 79 | employeeService.Create(emp); 80 | }); 81 | } 82 | this.isAdd = false; 83 | await GetEmployee(); 84 | } 85 | 86 | protected async Task DeleteConfirm(int empID) 87 | { 88 | emp = await employeeService.Details(empID); 89 | this.isDelete = true; 90 | } 91 | 92 | protected async Task DeleteEmployee(int empID) 93 | { 94 | await Task.Run(() => 95 | { 96 | employeeService.Delete(empID); 97 | }); 98 | this.isDelete = false; 99 | await GetEmployee(); 100 | } 101 | protected void closeModal() 102 | { 103 | this.isAdd = false; 104 | this.isDelete = false; 105 | } 106 | } 107 | } -------------------------------------------------------------------------------- /ServerSideSPA.Server/obj/ServerSideSPA.Server.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | True 5 | NuGet 6 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.Server\obj\project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\asharma2\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder 9 | PackageReference 10 | 4.7.0 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/README.md: -------------------------------------------------------------------------------- 1 | [Open Iconic v1.1.1](http://useiconic.com/open) 2 | =========== 3 | 4 | ### Open Iconic is the open source sibling of [Iconic](http://useiconic.com). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](http://useiconic.com/open#icons) 5 | 6 | 7 | 8 | ## What's in Open Iconic? 9 | 10 | * 223 icons designed to be legible down to 8 pixels 11 | * Super-light SVG files - 61.8 for the entire set 12 | * SVG sprite—the modern replacement for icon fonts 13 | * Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats 14 | * Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats 15 | * PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px. 16 | 17 | 18 | ## Getting Started 19 | 20 | #### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](http://useiconic.com/open#icons) and [Reference](http://useiconic.com/open#reference) sections. 21 | 22 | ### General Usage 23 | 24 | #### Using Open Iconic's SVGs 25 | 26 | We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute). 27 | 28 | ``` 29 | icon name 30 | ``` 31 | 32 | #### Using Open Iconic's SVG Sprite 33 | 34 | Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack. 35 | 36 | Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.* 37 | 38 | ``` 39 | 40 | 41 | 42 | ``` 43 | 44 | Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions. 45 | 46 | ``` 47 | .icon { 48 | width: 16px; 49 | height: 16px; 50 | } 51 | ``` 52 | 53 | Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag. 54 | 55 | ``` 56 | .icon-account-login { 57 | fill: #f00; 58 | } 59 | ``` 60 | 61 | To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/). 62 | 63 | #### Using Open Iconic's Icon Font... 64 | 65 | 66 | ##### …with Bootstrap 67 | 68 | You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}` 69 | 70 | 71 | ``` 72 | 73 | ``` 74 | 75 | 76 | ``` 77 | 78 | ``` 79 | 80 | ##### …with Foundation 81 | 82 | You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}` 83 | 84 | ``` 85 | 86 | ``` 87 | 88 | 89 | ``` 90 | 91 | ``` 92 | 93 | ##### …on its own 94 | 95 | You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}` 96 | 97 | ``` 98 | 99 | ``` 100 | 101 | ``` 102 | 103 | ``` 104 | 105 | 106 | ## License 107 | 108 | ### Icons 109 | 110 | All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT). 111 | 112 | ### Fonts 113 | 114 | All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web). 115 | -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/FONT-LICENSE: -------------------------------------------------------------------------------- 1 | SIL OPEN FONT LICENSE Version 1.1 2 | 3 | Copyright (c) 2014 Waybury 4 | 5 | PREAMBLE 6 | The goals of the Open Font License (OFL) are to stimulate worldwide 7 | development of collaborative font projects, to support the font creation 8 | efforts of academic and linguistic communities, and to provide a free and 9 | open framework in which fonts may be shared and improved in partnership 10 | with others. 11 | 12 | The OFL allows the licensed fonts to be used, studied, modified and 13 | redistributed freely as long as they are not sold by themselves. The 14 | fonts, including any derivative works, can be bundled, embedded, 15 | redistributed and/or sold with any software provided that any reserved 16 | names are not used by derivative works. The fonts and derivatives, 17 | however, cannot be released under any other type of license. The 18 | requirement for fonts to remain under this license does not apply 19 | to any document created using the fonts or their derivatives. 20 | 21 | DEFINITIONS 22 | "Font Software" refers to the set of files released by the Copyright 23 | Holder(s) under this license and clearly marked as such. This may 24 | include source files, build scripts and documentation. 25 | 26 | "Reserved Font Name" refers to any names specified as such after the 27 | copyright statement(s). 28 | 29 | "Original Version" refers to the collection of Font Software components as 30 | distributed by the Copyright Holder(s). 31 | 32 | "Modified Version" refers to any derivative made by adding to, deleting, 33 | or substituting -- in part or in whole -- any of the components of the 34 | Original Version, by changing formats or by porting the Font Software to a 35 | new environment. 36 | 37 | "Author" refers to any designer, engineer, programmer, technical 38 | writer or other person who contributed to the Font Software. 39 | 40 | PERMISSION & CONDITIONS 41 | Permission is hereby granted, free of charge, to any person obtaining 42 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 43 | redistribute, and sell modified and unmodified copies of the Font 44 | Software, subject to the following conditions: 45 | 46 | 1) Neither the Font Software nor any of its individual components, 47 | in Original or Modified Versions, may be sold by itself. 48 | 49 | 2) Original or Modified Versions of the Font Software may be bundled, 50 | redistributed and/or sold with any software, provided that each copy 51 | contains the above copyright notice and this license. These can be 52 | included either as stand-alone text files, human-readable headers or 53 | in the appropriate machine-readable metadata fields within text or 54 | binary files as long as those fields can be easily viewed by the user. 55 | 56 | 3) No Modified Version of the Font Software may use the Reserved Font 57 | Name(s) unless explicit written permission is granted by the corresponding 58 | Copyright Holder. This restriction only applies to the primary font name as 59 | presented to the users. 60 | 61 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 62 | Software shall not be used to promote, endorse or advertise any 63 | Modified Version, except to acknowledge the contribution(s) of the 64 | Copyright Holder(s) and the Author(s) or with their explicit written 65 | permission. 66 | 67 | 5) The Font Software, modified or unmodified, in part or in whole, 68 | must be distributed entirely under this license, and must not be 69 | distributed under any other license. The requirement for fonts to 70 | remain under this license does not apply to any document created 71 | using the Font Software. 72 | 73 | TERMINATION 74 | This license becomes null and void if any of the above conditions are 75 | not met. 76 | 77 | DISCLAIMER 78 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 79 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 80 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 81 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 82 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 83 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 84 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 85 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 86 | OTHER DEALINGS IN THE FONT SOFTWARE. 87 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/blazor/embedded.resources.txt: -------------------------------------------------------------------------------- 1 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.dll 2 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.browser\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.Browser.dll 3 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.csharp\4.5.0\lib\netstandard2.0\Microsoft.CSharp.dll 4 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.dll 5 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.abstractions\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Abstractions.dll 6 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.design\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Design.dll 7 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.relational\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Relational.dll 8 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.sqlserver\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.dll 9 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Abstractions.dll 10 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.memory\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Memory.dll 11 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll 12 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll 13 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration.binder\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll 14 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.dll 15 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll 16 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.dll 17 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll 18 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.options\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Options.dll 19 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.primitives\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll 20 | C:\Users\asharma2\.nuget\packages\microsoft.jsinterop\0.5.1\lib\netstandard2.0\Microsoft.JSInterop.dll 21 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.5.0\lib\netstandard2.0\Microsoft.Win32.Registry.dll 22 | C:\Users\asharma2\.nuget\packages\mono.webassembly.interop\0.5.1\lib\netstandard2.0\Mono.WebAssembly.Interop.dll 23 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\remotion.linq\2.2.0\lib\netstandard1.0\Remotion.Linq.dll 24 | C:\Users\asharma2\.nuget\packages\system.buffers\4.4.0\lib\netstandard2.0\System.Buffers.dll 25 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.collections.immutable\1.5.0\lib\netstandard2.0\System.Collections.Immutable.dll 26 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.componentmodel.annotations\4.5.0\lib\netstandard2.0\System.ComponentModel.Annotations.dll 27 | C:\Users\asharma2\.nuget\packages\system.data.sqlclient\4.5.1\lib\netstandard2.0\System.Data.SqlClient.dll 28 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.diagnostics.diagnosticsource\4.5.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll 29 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.interactive.async\3.1.1\lib\netstandard1.3\System.Interactive.Async.dll 30 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq\4.1.0\lib\netstandard1.6\System.Linq.dll 31 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq.expressions\4.1.0\lib\netstandard1.6\System.Linq.Expressions.dll 32 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq.queryable\4.0.1\lib\netstandard1.3\System.Linq.Queryable.dll 33 | C:\Users\asharma2\.nuget\packages\system.memory\4.5.1\lib\netstandard2.0\System.Memory.dll 34 | C:\Users\asharma2\.nuget\packages\system.numerics.vectors\4.4.0\lib\netstandard2.0\System.Numerics.Vectors.dll 35 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.objectmodel\4.0.12\lib\netstandard1.3\System.ObjectModel.dll 36 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit\4.0.1\lib\netstandard1.3\System.Reflection.Emit.dll 37 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit.ilgeneration\4.0.1\lib\netstandard1.3\System.Reflection.Emit.ILGeneration.dll 38 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit.lightweight\4.0.1\lib\netstandard1.3\System.Reflection.Emit.Lightweight.dll 39 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.typeextensions\4.1.0\lib\netstandard1.5\System.Reflection.TypeExtensions.dll 40 | C:\Users\asharma2\.nuget\packages\system.runtime.compilerservices.unsafe\4.5.1\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll 41 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.security.accesscontrol\4.5.0\lib\netstandard2.0\System.Security.AccessControl.dll 42 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.security.principal.windows\4.5.0\lib\netstandard2.0\System.Security.Principal.Windows.dll 43 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.text.encoding.codepages\4.5.0\lib\netstandard2.0\System.Text.Encoding.CodePages.dll 44 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.threading\4.0.11\lib\netstandard1.3\System.Threading.dll 45 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/blazor/inputs.copylocal.txt: -------------------------------------------------------------------------------- 1 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.dll 2 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.browser\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.Browser.dll 3 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.csharp\4.5.0\lib\netstandard2.0\Microsoft.CSharp.dll 4 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.dll 5 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.abstractions\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Abstractions.dll 6 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.design\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Design.dll 7 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.relational\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Relational.dll 8 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.sqlserver\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.dll 9 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Abstractions.dll 10 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.memory\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Memory.dll 11 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll 12 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll 13 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration.binder\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll 14 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.dll 15 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll 16 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.dll 17 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll 18 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.options\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Options.dll 19 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.primitives\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll 20 | C:\Users\asharma2\.nuget\packages\microsoft.jsinterop\0.5.1\lib\netstandard2.0\Microsoft.JSInterop.dll 21 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.5.0\lib\netstandard2.0\Microsoft.Win32.Registry.dll 22 | C:\Users\asharma2\.nuget\packages\mono.webassembly.interop\0.5.1\lib\netstandard2.0\Mono.WebAssembly.Interop.dll 23 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\remotion.linq\2.2.0\lib\netstandard1.0\Remotion.Linq.dll 24 | C:\Users\asharma2\.nuget\packages\system.buffers\4.4.0\lib\netstandard2.0\System.Buffers.dll 25 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.collections.immutable\1.5.0\lib\netstandard2.0\System.Collections.Immutable.dll 26 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.componentmodel.annotations\4.5.0\lib\netstandard2.0\System.ComponentModel.Annotations.dll 27 | C:\Users\asharma2\.nuget\packages\system.data.sqlclient\4.5.1\lib\netstandard2.0\System.Data.SqlClient.dll 28 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.diagnostics.diagnosticsource\4.5.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll 29 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.interactive.async\3.1.1\lib\netstandard1.3\System.Interactive.Async.dll 30 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq\4.1.0\lib\netstandard1.6\System.Linq.dll 31 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq.expressions\4.1.0\lib\netstandard1.6\System.Linq.Expressions.dll 32 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq.queryable\4.0.1\lib\netstandard1.3\System.Linq.Queryable.dll 33 | C:\Users\asharma2\.nuget\packages\system.memory\4.5.1\lib\netstandard2.0\System.Memory.dll 34 | C:\Users\asharma2\.nuget\packages\system.numerics.vectors\4.4.0\lib\netstandard2.0\System.Numerics.Vectors.dll 35 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.objectmodel\4.0.12\lib\netstandard1.3\System.ObjectModel.dll 36 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit\4.0.1\lib\netstandard1.3\System.Reflection.Emit.dll 37 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit.ilgeneration\4.0.1\lib\netstandard1.3\System.Reflection.Emit.ILGeneration.dll 38 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit.lightweight\4.0.1\lib\netstandard1.3\System.Reflection.Emit.Lightweight.dll 39 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.typeextensions\4.1.0\lib\netstandard1.5\System.Reflection.TypeExtensions.dll 40 | C:\Users\asharma2\.nuget\packages\system.runtime.compilerservices.unsafe\4.5.1\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll 41 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.security.accesscontrol\4.5.0\lib\netstandard2.0\System.Security.AccessControl.dll 42 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.security.principal.windows\4.5.0\lib\netstandard2.0\System.Security.Principal.Windows.dll 43 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.text.encoding.codepages\4.5.0\lib\netstandard2.0\System.Text.Encoding.CodePages.dll 44 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.threading\4.0.11\lib\netstandard1.3\System.Threading.dll 45 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/blazor/resolve-dependencies.txt: -------------------------------------------------------------------------------- 1 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.dll 2 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.browser\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.Browser.dll 3 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.csharp\4.5.0\lib\netstandard2.0\Microsoft.CSharp.dll 4 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.dll 5 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.abstractions\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Abstractions.dll 6 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.design\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Design.dll 7 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.relational\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Relational.dll 8 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.sqlserver\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.dll 9 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Abstractions.dll 10 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.memory\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Memory.dll 11 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll 12 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll 13 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration.binder\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll 14 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.dll 15 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll 16 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.dll 17 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll 18 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.options\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Options.dll 19 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.primitives\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll 20 | C:\Users\asharma2\.nuget\packages\microsoft.jsinterop\0.5.1\lib\netstandard2.0\Microsoft.JSInterop.dll 21 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.5.0\lib\netstandard2.0\Microsoft.Win32.Registry.dll 22 | C:\Users\asharma2\.nuget\packages\mono.webassembly.interop\0.5.1\lib\netstandard2.0\Mono.WebAssembly.Interop.dll 23 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\remotion.linq\2.2.0\lib\netstandard1.0\Remotion.Linq.dll 24 | C:\Users\asharma2\.nuget\packages\system.buffers\4.4.0\lib\netstandard2.0\System.Buffers.dll 25 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.collections.immutable\1.5.0\lib\netstandard2.0\System.Collections.Immutable.dll 26 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.componentmodel.annotations\4.5.0\lib\netstandard2.0\System.ComponentModel.Annotations.dll 27 | C:\Users\asharma2\.nuget\packages\system.data.sqlclient\4.5.1\lib\netstandard2.0\System.Data.SqlClient.dll 28 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.diagnostics.diagnosticsource\4.5.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll 29 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.interactive.async\3.1.1\lib\netstandard1.3\System.Interactive.Async.dll 30 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq\4.1.0\lib\netstandard1.6\System.Linq.dll 31 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq.expressions\4.1.0\lib\netstandard1.6\System.Linq.Expressions.dll 32 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.linq.queryable\4.0.1\lib\netstandard1.3\System.Linq.Queryable.dll 33 | C:\Users\asharma2\.nuget\packages\system.memory\4.5.1\lib\netstandard2.0\System.Memory.dll 34 | C:\Users\asharma2\.nuget\packages\system.numerics.vectors\4.4.0\lib\netstandard2.0\System.Numerics.Vectors.dll 35 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.objectmodel\4.0.12\lib\netstandard1.3\System.ObjectModel.dll 36 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit\4.0.1\lib\netstandard1.3\System.Reflection.Emit.dll 37 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit.ilgeneration\4.0.1\lib\netstandard1.3\System.Reflection.Emit.ILGeneration.dll 38 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.emit.lightweight\4.0.1\lib\netstandard1.3\System.Reflection.Emit.Lightweight.dll 39 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.reflection.typeextensions\4.1.0\lib\netstandard1.5\System.Reflection.TypeExtensions.dll 40 | C:\Users\asharma2\.nuget\packages\system.runtime.compilerservices.unsafe\4.5.1\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll 41 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.security.accesscontrol\4.5.0\lib\netstandard2.0\System.Security.AccessControl.dll 42 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.security.principal.windows\4.5.0\lib\netstandard2.0\System.Security.Principal.Windows.dll 43 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.text.encoding.codepages\4.5.0\lib\netstandard2.0\System.Text.Encoding.CodePages.dll 44 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.threading\4.0.11\lib\netstandard1.3\System.Threading.dll 45 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Shared/NavMenu.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\NavMenu.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "81b81a77aab69392e121ec76e60a184fc783fce3" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App.Shared 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | public class NavMenu : Microsoft.AspNetCore.Blazor.Components.BlazorComponent 20 | { 21 | #pragma warning disable 1998 22 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 23 | { 24 | base.BuildRenderTree(builder); 25 | builder.OpenElement(0, "div"); 26 | builder.AddAttribute(1, "class", "top-row pl-4 navbar navbar-dark"); 27 | builder.AddContent(2, "\n "); 28 | builder.OpenElement(3, "a"); 29 | builder.AddAttribute(4, "class", "navbar-brand"); 30 | builder.AddAttribute(5, "href", ""); 31 | builder.AddContent(6, "ServerSideSPA"); 32 | builder.CloseElement(); 33 | builder.AddContent(7, "\n "); 34 | builder.OpenElement(8, "button"); 35 | builder.AddAttribute(9, "class", "navbar-toggler"); 36 | builder.AddAttribute(10, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(ToggleNavMenu)); 37 | builder.AddContent(11, "\n "); 38 | builder.OpenElement(12, "span"); 39 | builder.AddAttribute(13, "class", "navbar-toggler-icon"); 40 | builder.CloseElement(); 41 | builder.AddContent(14, "\n "); 42 | builder.CloseElement(); 43 | builder.AddContent(15, "\n"); 44 | builder.CloseElement(); 45 | builder.AddContent(16, "\n\n"); 46 | builder.OpenElement(17, "div"); 47 | builder.AddAttribute(18, "class", collapseNavMenu ? "collapse" : null); 48 | builder.AddAttribute(19, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(ToggleNavMenu)); 49 | builder.AddContent(20, "\n "); 50 | builder.OpenElement(21, "ul"); 51 | builder.AddAttribute(22, "class", "nav flex-column"); 52 | builder.AddContent(23, "\n "); 53 | builder.OpenElement(24, "li"); 54 | builder.AddAttribute(25, "class", "nav-item px-3"); 55 | builder.AddContent(26, "\n "); 56 | builder.OpenComponent(27); 57 | builder.AddAttribute(28, "class", "nav-link"); 58 | builder.AddAttribute(29, "href", ""); 59 | builder.AddAttribute(30, "Match", Microsoft.AspNetCore.Blazor.Components.RuntimeHelpers.TypeCheck(NavLinkMatch.All)); 60 | builder.AddAttribute(31, "ChildContent", (Microsoft.AspNetCore.Blazor.RenderFragment)((builder2) => { 61 | builder2.AddContent(32, "\n "); 62 | builder2.OpenElement(33, "span"); 63 | builder2.AddAttribute(34, "class", "oi oi-home"); 64 | builder2.AddAttribute(35, "aria-hidden", "true"); 65 | builder2.CloseElement(); 66 | builder2.AddContent(36, " Home\n "); 67 | } 68 | )); 69 | builder.CloseComponent(); 70 | builder.AddContent(37, "\n "); 71 | builder.CloseElement(); 72 | builder.AddContent(38, "\n "); 73 | builder.OpenElement(39, "li"); 74 | builder.AddAttribute(40, "class", "nav-item px-3"); 75 | builder.AddContent(41, "\n "); 76 | builder.OpenComponent(42); 77 | builder.AddAttribute(43, "class", "nav-link"); 78 | builder.AddAttribute(44, "href", "fetchemployee"); 79 | builder.AddAttribute(45, "ChildContent", (Microsoft.AspNetCore.Blazor.RenderFragment)((builder2) => { 80 | builder2.AddContent(46, "\n "); 81 | builder2.OpenElement(47, "span"); 82 | builder2.AddAttribute(48, "class", "oi oi-list-rich"); 83 | builder2.AddAttribute(49, "aria-hidden", "true"); 84 | builder2.CloseElement(); 85 | builder2.AddContent(50, " Fetch employee\n "); 86 | } 87 | )); 88 | builder.CloseComponent(); 89 | builder.AddContent(51, "\n "); 90 | builder.CloseElement(); 91 | builder.AddContent(52, "\n "); 92 | builder.CloseElement(); 93 | builder.AddContent(53, "\n"); 94 | builder.CloseElement(); 95 | } 96 | #pragma warning restore 1998 97 | #line 23 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Shared\NavMenu.cshtml" 98 | 99 | bool collapseNavMenu = true; 100 | 101 | void ToggleNavMenu() 102 | { 103 | collapseNavMenu = !collapseNavMenu; 104 | } 105 | 106 | #line default 107 | #line hidden 108 | } 109 | } 110 | #pragma warning restore 1591 111 | -------------------------------------------------------------------------------- /ServerSideSPA.App/Pages/EmployeeData.cshtml: -------------------------------------------------------------------------------- 1 | @page "/fetchemployee" 2 | @inherits EmployeeDataModel 3 | 4 |

Employee Data

5 |

This component demonstrates CRUD operation on Employee data

6 | 7 |
8 |
9 | 10 |
11 |
12 |
13 | 14 |
15 |
16 | 17 |
18 |
19 |
20 | 21 | @if (empList == null) 22 | { 23 |

Loading...

24 | } 25 | else 26 | { 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | @foreach (var emp in empList) 39 | { 40 | 41 | 42 | 43 | 44 | 45 | 46 | 50 | 51 | } 52 | 53 |
IDNameGenderDepartmentCity
@emp.EmployeeId@emp.Name@emp.Gender@emp.Department@emp.City 47 | 48 | 49 |
54 | 55 | if (isAdd) 56 | { 57 | 102 | } 103 | 104 | if (isDelete) 105 | { 106 | 140 | } 141 | } -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/blazor/resolved.assemblies.txt: -------------------------------------------------------------------------------- 1 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.dll 2 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.relational\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Relational.dll 3 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.diagnostics.diagnosticsource\4.5.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll 4 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Runtime.Extensions.dll 5 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.dll 6 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Core.dll 7 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/mscorlib.dll 8 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Xml.dll 9 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Mono.Security.dll 10 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Diagnostics.Debug.dll 11 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Threading.dll 12 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Collections.dll 13 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Reflection.dll 14 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Diagnostics.Tracing.dll 15 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Runtime.dll 16 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.ComponentModel.Composition.dll 17 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.dll 18 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.logging.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll 19 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/netstandard.dll 20 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Xml.Linq.dll 21 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Web.Services.dll 22 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Transactions.dll 23 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Runtime.Serialization.dll 24 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.ServiceModel.Internals.dll 25 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Numerics.dll 26 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Net.Http.dll 27 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.IO.Compression.FileSystem.dll 28 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.IO.Compression.dll 29 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Drawing.dll 30 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Data.dll 31 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.options\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Options.dll 32 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.primitives\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll 33 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.Runtime.CompilerServices.Unsafe.dll 34 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Memory.dll 35 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll 36 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.configuration.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll 37 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.abstractions\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Abstractions.dll 38 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.ComponentModel.Annotations.dll 39 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/System.ComponentModel.DataAnnotations.dll 40 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\remotion.linq\2.2.0\lib\netstandard1.0\Remotion.Linq.dll 41 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Linq.Queryable.dll 42 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Reflection.Extensions.dll 43 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Linq.dll 44 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.ObjectModel.dll 45 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Linq.Expressions.dll 46 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.interactive.async\3.1.1\lib\netstandard1.3\System.Interactive.Async.dll 47 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Threading.Tasks.dll 48 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Resources.ResourceManager.dll 49 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.dll 50 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.memory\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Memory.dll 51 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.caching.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Caching.Abstractions.dll 52 | C:\Users\asharma2\.nuget\packages\microsoft.extensions.dependencyinjection\2.1.1\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.dll 53 | C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.collections.immutable\1.5.0\lib\netstandard2.0\System.Collections.Immutable.dll 54 | C:\Users\asharma2\.nuget\packages\microsoft.entityframeworkcore.sqlserver\2.1.1\lib\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.dll 55 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\../tools/mono/bcl/Facades/System.Data.SqlClient.dll 56 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.dll 57 | C:\Users\asharma2\.nuget\packages\microsoft.jsinterop\0.5.1\lib\netstandard2.0\Microsoft.JSInterop.dll 58 | C:\Users\asharma2\.nuget\packages\microsoft.aspnetcore.blazor.browser\0.5.1\lib\netstandard2.0\Microsoft.AspNetCore.Blazor.Browser.dll 59 | C:\Users\asharma2\.nuget\packages\mono.webassembly.interop\0.5.1\lib\netstandard2.0\Mono.WebAssembly.Interop.dll 60 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.pdb 61 | -------------------------------------------------------------------------------- /ServerSideSPA.App/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css: -------------------------------------------------------------------------------- 1 | @font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'} -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/ServerSideSPA.App.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\ServerSideSPA.App.blazor.config 2 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\ServerSideSPA.App.dll 3 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.AspNetCore.Blazor.dll 4 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.AspNetCore.Blazor.Browser.dll 5 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.DependencyInjection.dll 6 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll 7 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.JSInterop.dll 8 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Mono.WebAssembly.Interop.dll 9 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.csprojAssemblyReference.cache 10 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.csproj.CoreCompileInputs.cache 11 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Blazor.inputs.txt 12 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\App.g.i.cs 13 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Pages\Index.g.i.cs 14 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Pages\_ViewImports.g.i.cs 15 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Shared\MainLayout.g.i.cs 16 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Shared\NavMenu.g.i.cs 17 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Shared\SurveyPrompt.g.i.cs 18 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\_ViewImports.g.i.cs 19 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.AssemblyInfoInputs.cache 20 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.AssemblyInfo.cs 21 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.csproj.CopyComplete 22 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.dll 23 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Abstractions.dll 24 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Relational.dll 25 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.dll 26 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Caching.Abstractions.dll 27 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Caching.Memory.dll 28 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Configuration.dll 29 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll 30 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll 31 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Logging.dll 32 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll 33 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Options.dll 34 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Extensions.Primitives.dll 35 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.Win32.Registry.dll 36 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Remotion.Linq.dll 37 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Buffers.dll 38 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Collections.Immutable.dll 39 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.ComponentModel.Annotations.dll 40 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Data.SqlClient.dll 41 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Diagnostics.DiagnosticSource.dll 42 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Interactive.Async.dll 43 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Linq.dll 44 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Linq.Expressions.dll 45 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Linq.Queryable.dll 46 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Memory.dll 47 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Numerics.Vectors.dll 48 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.ObjectModel.dll 49 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Reflection.Emit.dll 50 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Reflection.Emit.ILGeneration.dll 51 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Reflection.Emit.Lightweight.dll 52 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Reflection.TypeExtensions.dll 53 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll 54 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Security.AccessControl.dll 55 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Security.Principal.Windows.dll 56 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Text.Encoding.CodePages.dll 57 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\System.Threading.dll 58 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\ServerSideSPA.App.pdb 59 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\ServerSideSPA.App.dll 60 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.AspNetCore.Blazor.dll 61 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.JSInterop.dll 62 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\netstandard.dll 63 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Xml.Linq.dll 64 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Core.dll 65 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.dll 66 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Xml.dll 67 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\mscorlib.dll 68 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Mono.Security.dll 69 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Web.Services.dll 70 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Transactions.dll 71 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Runtime.Serialization.dll 72 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.ServiceModel.Internals.dll 73 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Numerics.dll 74 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Net.Http.dll 75 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.ComponentModel.Composition.dll 76 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.IO.Compression.FileSystem.dll 77 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.IO.Compression.dll 78 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Drawing.dll 79 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Data.dll 80 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.DependencyInjection.Abstractions.dll 81 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.AspNetCore.Blazor.Browser.dll 82 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Mono.WebAssembly.Interop.dll 83 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.DependencyInjection.dll 84 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\asmjs\mono.asm.js 85 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\asmjs\mono.js 86 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\asmjs\mono.js.mem 87 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\wasm\mono.js 88 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\wasm\mono.wasm 89 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\blazor.server.js 90 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\blazor.webassembly.js 91 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\ServerSideSPA.App.pdb 92 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\blazor.boot.json 93 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.CSharp.dll 94 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\Microsoft.EntityFrameworkCore.Design.dll 95 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\BlazorTemp\ServerSideSPA.App.dll 96 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Blazor.components.input.cache 97 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Blazor.definition.components.json 98 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\App.g.cs 99 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Pages\Index.g.cs 100 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Pages\_ViewImports.g.cs 101 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Shared\MainLayout.g.cs 102 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Shared\NavMenu.g.cs 103 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Shared\SurveyPrompt.g.cs 104 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\_ViewImports.g.cs 105 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.dll 106 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\ServerSideSPA.App.pdb 107 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\inputs.linkerswitch.cache 108 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\inputs.basic.cache 109 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\inputs.copylocal.txt 110 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolved.assemblies.txt 111 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\ServerSideSPA.App.dll 112 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.AspNetCore.Blazor.dll 113 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.JSInterop.dll 114 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\netstandard.dll 115 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Xml.Linq.dll 116 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Core.dll 117 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.dll 118 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Xml.dll 119 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\mscorlib.dll 120 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Mono.Security.dll 121 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Web.Services.dll 122 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Transactions.dll 123 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Runtime.Serialization.dll 124 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.ServiceModel.Internals.dll 125 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Numerics.dll 126 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Net.Http.dll 127 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.ComponentModel.Composition.dll 128 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.IO.Compression.FileSystem.dll 129 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.IO.Compression.dll 130 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Drawing.dll 131 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Data.dll 132 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.DependencyInjection.Abstractions.dll 133 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.AspNetCore.Blazor.Browser.dll 134 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Mono.WebAssembly.Interop.dll 135 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.DependencyInjection.dll 136 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\ServerSideSPA.App.pdb 137 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\inputs.bootjson.cache 138 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\blazor.boot.json 139 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.EntityFrameworkCore.Relational.dll 140 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Diagnostics.DiagnosticSource.dll 141 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Runtime.Extensions.dll 142 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Diagnostics.Debug.dll 143 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Threading.dll 144 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Collections.dll 145 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Reflection.dll 146 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Diagnostics.Tracing.dll 147 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Runtime.dll 148 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.Logging.dll 149 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.Logging.Abstractions.dll 150 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.Options.dll 151 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.Primitives.dll 152 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Runtime.CompilerServices.Unsafe.dll 153 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Memory.dll 154 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.Configuration.Abstractions.dll 155 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.EntityFrameworkCore.Abstractions.dll 156 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.ComponentModel.Annotations.dll 157 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.ComponentModel.DataAnnotations.dll 158 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Remotion.Linq.dll 159 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Linq.Queryable.dll 160 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Reflection.Extensions.dll 161 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Linq.dll 162 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.ObjectModel.dll 163 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Linq.Expressions.dll 164 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Interactive.Async.dll 165 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Threading.Tasks.dll 166 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Resources.ResourceManager.dll 167 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.EntityFrameworkCore.dll 168 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.Caching.Memory.dll 169 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.Extensions.Caching.Abstractions.dll 170 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Collections.Immutable.dll 171 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\Microsoft.EntityFrameworkCore.SqlServer.dll 172 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\bin\Debug\netstandard2.0\dist\_framework\_bin\System.Data.SqlClient.dll 173 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Pages\EmployeeData.g.i.cs 174 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\Pages\EmployeeData.g.cs 175 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.EntityFrameworkCore.Relational.dll 176 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Diagnostics.DiagnosticSource.dll 177 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Runtime.Extensions.dll 178 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Diagnostics.Debug.dll 179 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Threading.dll 180 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Collections.dll 181 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Reflection.dll 182 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Diagnostics.Tracing.dll 183 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Runtime.dll 184 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.Logging.dll 185 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.Logging.Abstractions.dll 186 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.Options.dll 187 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.Primitives.dll 188 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Runtime.CompilerServices.Unsafe.dll 189 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Memory.dll 190 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.Configuration.Abstractions.dll 191 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.EntityFrameworkCore.Abstractions.dll 192 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.ComponentModel.Annotations.dll 193 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.ComponentModel.DataAnnotations.dll 194 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Remotion.Linq.dll 195 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Linq.Queryable.dll 196 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Reflection.Extensions.dll 197 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Linq.dll 198 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.ObjectModel.dll 199 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Linq.Expressions.dll 200 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Interactive.Async.dll 201 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Threading.Tasks.dll 202 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Resources.ResourceManager.dll 203 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.EntityFrameworkCore.dll 204 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.Caching.Memory.dll 205 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.Extensions.Caching.Abstractions.dll 206 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Collections.Immutable.dll 207 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\Microsoft.EntityFrameworkCore.SqlServer.dll 208 | C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\obj\Debug\netstandard2.0\blazor\resolvedassemblies\System.Data.SqlClient.dll 209 | -------------------------------------------------------------------------------- /ServerSideSPA.App/obj/Debug/netstandard2.0/Pages/EmployeeData.g.cs: -------------------------------------------------------------------------------- 1 | #pragma checksum "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93bfe51d4894bd4d134fc0d348153bd97cc9688d" 2 | // 3 | #pragma warning disable 1591 4 | namespace ServerSideSPA.App.Pages 5 | { 6 | #line hidden 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Threading.Tasks; 11 | using Microsoft.AspNetCore.Blazor; 12 | using Microsoft.AspNetCore.Blazor.Components; 13 | using System.Net.Http; 14 | using Microsoft.AspNetCore.Blazor.Layouts; 15 | using Microsoft.AspNetCore.Blazor.Routing; 16 | using Microsoft.JSInterop; 17 | using ServerSideSPA.App; 18 | using ServerSideSPA.App.Shared; 19 | [Microsoft.AspNetCore.Blazor.Layouts.LayoutAttribute(typeof(MainLayout))] 20 | 21 | [Microsoft.AspNetCore.Blazor.Components.RouteAttribute("/fetchemployee")] 22 | public class EmployeeData : EmployeeDataModel 23 | { 24 | #pragma warning disable 1998 25 | protected override void BuildRenderTree(Microsoft.AspNetCore.Blazor.RenderTree.RenderTreeBuilder builder) 26 | { 27 | base.BuildRenderTree(builder); 28 | builder.OpenElement(0, "h1"); 29 | builder.AddContent(1, "Employee Data"); 30 | builder.CloseElement(); 31 | builder.AddContent(2, "\n"); 32 | builder.OpenElement(3, "p"); 33 | builder.AddContent(4, "This component demonstrates CRUD operation on Employee data"); 34 | builder.CloseElement(); 35 | builder.AddContent(5, "\n\n"); 36 | builder.OpenElement(6, "div"); 37 | builder.AddContent(7, "\n "); 38 | builder.OpenElement(8, "div"); 39 | builder.AddAttribute(9, "style", "float:left"); 40 | builder.AddContent(10, "\n "); 41 | builder.OpenElement(11, "button"); 42 | builder.AddAttribute(12, "class", "btn btn-primary"); 43 | builder.AddAttribute(13, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(AddEmp)); 44 | builder.AddContent(14, "Add Employee"); 45 | builder.CloseElement(); 46 | builder.AddContent(15, "\n "); 47 | builder.CloseElement(); 48 | builder.AddContent(16, "\n "); 49 | builder.OpenElement(17, "div"); 50 | builder.AddAttribute(18, "style", "float:right; width:40%;"); 51 | builder.AddContent(19, "\n "); 52 | builder.OpenElement(20, "div"); 53 | builder.AddAttribute(21, "class", "col-sm-6"); 54 | builder.AddAttribute(22, "style", "float:left"); 55 | builder.AddContent(23, "\n "); 56 | builder.OpenElement(24, "input"); 57 | builder.AddAttribute(25, "class", "form-control"); 58 | builder.AddAttribute(26, "type", "text"); 59 | builder.AddAttribute(27, "placeholder", "Search"); 60 | builder.AddAttribute(28, "value", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetValue(SearchString)); 61 | builder.AddAttribute(29, "onchange", Microsoft.AspNetCore.Blazor.Components.BindMethods.SetValueHandler(__value => SearchString = __value, SearchString)); 62 | builder.CloseElement(); 63 | builder.AddContent(30, "\n "); 64 | builder.CloseElement(); 65 | builder.AddContent(31, "\n "); 66 | builder.OpenElement(32, "div"); 67 | builder.AddContent(33, "\n "); 68 | builder.OpenElement(34, "button"); 69 | builder.AddAttribute(35, "type", "submit"); 70 | builder.AddAttribute(36, "class", "btn btn-default btn-info"); 71 | builder.AddAttribute(37, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(FilterEmp)); 72 | builder.AddContent(38, "Filter"); 73 | builder.CloseElement(); 74 | builder.AddContent(39, "\n "); 75 | builder.CloseElement(); 76 | builder.AddContent(40, "\n "); 77 | builder.CloseElement(); 78 | builder.AddContent(41, "\n"); 79 | builder.CloseElement(); 80 | builder.AddContent(42, "\n\n"); 81 | #line 21 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 82 | if (empList == null) 83 | { 84 | 85 | #line default 86 | #line hidden 87 | builder.AddContent(43, " "); 88 | builder.OpenElement(44, "p"); 89 | builder.OpenElement(45, "em"); 90 | builder.AddContent(46, "Loading..."); 91 | builder.CloseElement(); 92 | builder.CloseElement(); 93 | builder.AddContent(47, "\n"); 94 | #line 24 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 95 | } 96 | else 97 | { 98 | 99 | #line default 100 | #line hidden 101 | builder.AddContent(48, " "); 102 | builder.OpenElement(49, "table"); 103 | builder.AddAttribute(50, "class", "table"); 104 | builder.AddContent(51, "\n "); 105 | builder.OpenElement(52, "thead"); 106 | builder.AddContent(53, "\n "); 107 | builder.OpenElement(54, "tr"); 108 | builder.AddContent(55, "\n "); 109 | builder.OpenElement(56, "th"); 110 | builder.AddContent(57, "ID"); 111 | builder.CloseElement(); 112 | builder.AddContent(58, "\n "); 113 | builder.OpenElement(59, "th"); 114 | builder.AddContent(60, "Name"); 115 | builder.CloseElement(); 116 | builder.AddContent(61, "\n "); 117 | builder.OpenElement(62, "th"); 118 | builder.AddContent(63, "Gender"); 119 | builder.CloseElement(); 120 | builder.AddContent(64, "\n "); 121 | builder.OpenElement(65, "th"); 122 | builder.AddContent(66, "Department"); 123 | builder.CloseElement(); 124 | builder.AddContent(67, "\n "); 125 | builder.OpenElement(68, "th"); 126 | builder.AddContent(69, "City"); 127 | builder.CloseElement(); 128 | builder.AddContent(70, "\n "); 129 | builder.CloseElement(); 130 | builder.AddContent(71, "\n "); 131 | builder.CloseElement(); 132 | builder.AddContent(72, "\n "); 133 | builder.OpenElement(73, "tbody"); 134 | builder.AddContent(74, "\n"); 135 | #line 38 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 136 | foreach (var emp in empList) 137 | { 138 | 139 | #line default 140 | #line hidden 141 | builder.AddContent(75, " "); 142 | builder.OpenElement(76, "tr"); 143 | builder.AddContent(77, "\n "); 144 | builder.OpenElement(78, "td"); 145 | builder.AddContent(79, emp.EmployeeId); 146 | builder.CloseElement(); 147 | builder.AddContent(80, "\n "); 148 | builder.OpenElement(81, "td"); 149 | builder.AddContent(82, emp.Name); 150 | builder.CloseElement(); 151 | builder.AddContent(83, "\n "); 152 | builder.OpenElement(84, "td"); 153 | builder.AddContent(85, emp.Gender); 154 | builder.CloseElement(); 155 | builder.AddContent(86, "\n "); 156 | builder.OpenElement(87, "td"); 157 | builder.AddContent(88, emp.Department); 158 | builder.CloseElement(); 159 | builder.AddContent(89, "\n "); 160 | builder.OpenElement(90, "td"); 161 | builder.AddContent(91, emp.City); 162 | builder.CloseElement(); 163 | builder.AddContent(92, "\n "); 164 | builder.OpenElement(93, "td"); 165 | builder.AddContent(94, "\n "); 166 | builder.OpenElement(95, "button"); 167 | builder.AddAttribute(96, "class", "btn btn-default"); 168 | builder.AddAttribute(97, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(async () => await EditEmployee(@emp.EmployeeId))); 169 | builder.AddContent(98, "Edit"); 170 | builder.CloseElement(); 171 | builder.AddContent(99, "\n "); 172 | builder.OpenElement(100, "button"); 173 | builder.AddAttribute(101, "class", "btn btn-danger"); 174 | builder.AddAttribute(102, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(async () => await DeleteConfirm(@emp.EmployeeId))); 175 | builder.AddContent(103, "Delete"); 176 | builder.CloseElement(); 177 | builder.AddContent(104, "\n "); 178 | builder.CloseElement(); 179 | builder.AddContent(105, "\n "); 180 | builder.CloseElement(); 181 | builder.AddContent(106, "\n"); 182 | #line 51 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 183 | } 184 | 185 | #line default 186 | #line hidden 187 | builder.AddContent(107, " "); 188 | builder.CloseElement(); 189 | builder.AddContent(108, "\n "); 190 | builder.CloseElement(); 191 | builder.AddContent(109, "\n"); 192 | #line 54 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 193 | 194 | if (isAdd) 195 | { 196 | 197 | #line default 198 | #line hidden 199 | builder.AddContent(110, " "); 200 | builder.OpenElement(111, "div"); 201 | builder.AddAttribute(112, "class", "modal"); 202 | builder.AddAttribute(113, "tabindex", "-1"); 203 | builder.AddAttribute(114, "style", "display:block"); 204 | builder.AddAttribute(115, "role", "dialog"); 205 | builder.AddContent(116, "\n "); 206 | builder.OpenElement(117, "div"); 207 | builder.AddAttribute(118, "class", "modal-dialog"); 208 | builder.AddContent(119, "\n "); 209 | builder.OpenElement(120, "div"); 210 | builder.AddAttribute(121, "class", "modal-content"); 211 | builder.AddContent(122, "\n "); 212 | builder.OpenElement(123, "div"); 213 | builder.AddAttribute(124, "class", "modal-header"); 214 | builder.AddContent(125, "\n "); 215 | builder.OpenElement(126, "h3"); 216 | builder.AddAttribute(127, "class", "modal-title"); 217 | builder.AddContent(128, modalTitle); 218 | builder.CloseElement(); 219 | builder.AddContent(129, "\n "); 220 | builder.OpenElement(130, "button"); 221 | builder.AddAttribute(131, "type", "button"); 222 | builder.AddAttribute(132, "class", "close"); 223 | builder.AddAttribute(133, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(closeModal)); 224 | builder.AddContent(134, "\n "); 225 | builder.OpenElement(135, "span"); 226 | builder.AddAttribute(136, "aria-hidden", "true"); 227 | builder.AddContent(137, "X"); 228 | builder.CloseElement(); 229 | builder.AddContent(138, "\n "); 230 | builder.CloseElement(); 231 | builder.AddContent(139, "\n "); 232 | builder.CloseElement(); 233 | builder.AddContent(140, "\n "); 234 | builder.OpenElement(141, "div"); 235 | builder.AddAttribute(142, "class", "modal-body"); 236 | builder.AddContent(143, "\n "); 237 | builder.OpenElement(144, "form"); 238 | builder.AddContent(145, "\n "); 239 | builder.OpenElement(146, "div"); 240 | builder.AddAttribute(147, "class", "form-group"); 241 | builder.AddContent(148, "\n "); 242 | builder.OpenElement(149, "label"); 243 | builder.AddAttribute(150, "for", "Name"); 244 | builder.AddAttribute(151, "class", "control-label"); 245 | builder.AddContent(152, "Name"); 246 | builder.CloseElement(); 247 | builder.AddContent(153, "\n "); 248 | builder.OpenElement(154, "input"); 249 | builder.AddAttribute(155, "for", "Name"); 250 | builder.AddAttribute(156, "class", "form-control"); 251 | builder.AddAttribute(157, "value", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetValue(emp.Name)); 252 | builder.AddAttribute(158, "onchange", Microsoft.AspNetCore.Blazor.Components.BindMethods.SetValueHandler(__value => emp.Name = __value, emp.Name)); 253 | builder.CloseElement(); 254 | builder.AddContent(159, "\n "); 255 | builder.CloseElement(); 256 | builder.AddContent(160, "\n "); 257 | builder.OpenElement(161, "div"); 258 | builder.AddAttribute(162, "class", "form-group"); 259 | builder.AddContent(163, "\n "); 260 | builder.OpenElement(164, "label"); 261 | builder.AddAttribute(165, "asp-for", "Gender"); 262 | builder.AddAttribute(166, "class", "control-label"); 263 | builder.AddContent(167, "Gender"); 264 | builder.CloseElement(); 265 | builder.AddContent(168, "\n "); 266 | builder.OpenElement(169, "select"); 267 | builder.AddAttribute(170, "asp-for", "Gender"); 268 | builder.AddAttribute(171, "class", "form-control"); 269 | builder.AddAttribute(172, "value", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetValue(emp.Gender)); 270 | builder.AddAttribute(173, "onchange", Microsoft.AspNetCore.Blazor.Components.BindMethods.SetValueHandler(__value => emp.Gender = __value, emp.Gender)); 271 | builder.AddContent(174, "\n "); 272 | builder.OpenElement(175, "option"); 273 | builder.AddAttribute(176, "value", ""); 274 | builder.AddContent(177, "-- Select Gender --"); 275 | builder.CloseElement(); 276 | builder.AddContent(178, "\n "); 277 | builder.OpenElement(179, "option"); 278 | builder.AddAttribute(180, "value", "Male"); 279 | builder.AddContent(181, "Male"); 280 | builder.CloseElement(); 281 | builder.AddContent(182, "\n "); 282 | builder.OpenElement(183, "option"); 283 | builder.AddAttribute(184, "value", "Female"); 284 | builder.AddContent(185, "Female"); 285 | builder.CloseElement(); 286 | builder.AddContent(186, "\n "); 287 | builder.CloseElement(); 288 | builder.AddContent(187, "\n "); 289 | builder.CloseElement(); 290 | builder.AddContent(188, "\n "); 291 | builder.OpenElement(189, "div"); 292 | builder.AddAttribute(190, "class", "form-group"); 293 | builder.AddContent(191, "\n "); 294 | builder.OpenElement(192, "label"); 295 | builder.AddAttribute(193, "asp-for", "Department"); 296 | builder.AddAttribute(194, "class", "control-label"); 297 | builder.AddContent(195, "Department"); 298 | builder.CloseElement(); 299 | builder.AddContent(196, "\n "); 300 | builder.OpenElement(197, "input"); 301 | builder.AddAttribute(198, "asp-for", "Department"); 302 | builder.AddAttribute(199, "class", "form-control"); 303 | builder.AddAttribute(200, "value", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetValue(emp.Department)); 304 | builder.AddAttribute(201, "onchange", Microsoft.AspNetCore.Blazor.Components.BindMethods.SetValueHandler(__value => emp.Department = __value, emp.Department)); 305 | builder.CloseElement(); 306 | builder.AddContent(202, "\n "); 307 | builder.CloseElement(); 308 | builder.AddContent(203, "\n "); 309 | builder.OpenElement(204, "div"); 310 | builder.AddAttribute(205, "class", "form-group"); 311 | builder.AddContent(206, "\n "); 312 | builder.OpenElement(207, "label"); 313 | builder.AddAttribute(208, "asp-for", "City"); 314 | builder.AddAttribute(209, "class", "control-label"); 315 | builder.AddContent(210, "City"); 316 | builder.CloseElement(); 317 | builder.AddContent(211, "\n "); 318 | builder.OpenElement(212, "select"); 319 | builder.AddAttribute(213, "asp-for", "City"); 320 | builder.AddAttribute(214, "class", "form-control"); 321 | builder.AddAttribute(215, "value", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetValue(emp.City)); 322 | builder.AddAttribute(216, "onchange", Microsoft.AspNetCore.Blazor.Components.BindMethods.SetValueHandler(__value => emp.City = __value, emp.City)); 323 | builder.AddContent(217, "\n "); 324 | builder.OpenElement(218, "option"); 325 | builder.AddAttribute(219, "value", ""); 326 | builder.AddContent(220, "-- Select City --"); 327 | builder.CloseElement(); 328 | builder.AddContent(221, "\n"); 329 | #line 88 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 330 | foreach (var city in cityList) 331 | { 332 | 333 | #line default 334 | #line hidden 335 | builder.AddContent(222, " "); 336 | builder.OpenElement(223, "option"); 337 | builder.AddAttribute(224, "value", city.CityName); 338 | builder.AddContent(225, city.CityName); 339 | builder.CloseElement(); 340 | builder.AddContent(226, "\n"); 341 | #line 91 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 342 | } 343 | 344 | #line default 345 | #line hidden 346 | builder.AddContent(227, " "); 347 | builder.CloseElement(); 348 | builder.AddContent(228, "\n "); 349 | builder.CloseElement(); 350 | builder.AddContent(229, "\n "); 351 | builder.CloseElement(); 352 | builder.AddContent(230, "\n "); 353 | builder.CloseElement(); 354 | builder.AddContent(231, "\n "); 355 | builder.OpenElement(232, "div"); 356 | builder.AddAttribute(233, "class", "modal-footer"); 357 | builder.AddContent(234, "\n "); 358 | builder.OpenElement(235, "button"); 359 | builder.AddAttribute(236, "class", "btn btn-block btn-info"); 360 | builder.AddAttribute(237, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(async () => await SaveEmployee())); 361 | builder.AddAttribute(238, "data-dismiss", "modal"); 362 | builder.AddContent(239, "Save"); 363 | builder.CloseElement(); 364 | builder.AddContent(240, "\n "); 365 | builder.CloseElement(); 366 | builder.AddContent(241, "\n "); 367 | builder.CloseElement(); 368 | builder.AddContent(242, "\n "); 369 | builder.CloseElement(); 370 | builder.AddContent(243, "\n "); 371 | builder.CloseElement(); 372 | builder.AddContent(244, "\n"); 373 | #line 102 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 374 | } 375 | 376 | if (isDelete) 377 | { 378 | 379 | #line default 380 | #line hidden 381 | builder.AddContent(245, " "); 382 | builder.OpenElement(246, "div"); 383 | builder.AddAttribute(247, "class", "modal"); 384 | builder.AddAttribute(248, "tabindex", "-1"); 385 | builder.AddAttribute(249, "style", "display:block"); 386 | builder.AddAttribute(250, "role", "dialog"); 387 | builder.AddContent(251, "\n "); 388 | builder.OpenElement(252, "div"); 389 | builder.AddAttribute(253, "class", "modal-dialog"); 390 | builder.AddContent(254, "\n "); 391 | builder.OpenElement(255, "div"); 392 | builder.AddAttribute(256, "class", "modal-content"); 393 | builder.AddContent(257, "\n "); 394 | builder.OpenElement(258, "div"); 395 | builder.AddAttribute(259, "class", "modal-header"); 396 | builder.AddContent(260, "\n "); 397 | builder.OpenElement(261, "h3"); 398 | builder.AddAttribute(262, "class", "modal-title"); 399 | builder.AddContent(263, "Delete Employee"); 400 | builder.CloseElement(); 401 | builder.AddContent(264, "\n "); 402 | builder.CloseElement(); 403 | builder.AddContent(265, "\n "); 404 | builder.OpenElement(266, "div"); 405 | builder.AddAttribute(267, "class", "modal-body"); 406 | builder.AddContent(268, "\n "); 407 | builder.OpenElement(269, "h4"); 408 | builder.AddContent(270, "Do you want to delete this employee ??"); 409 | builder.CloseElement(); 410 | builder.AddContent(271, "\n "); 411 | builder.OpenElement(272, "table"); 412 | builder.AddAttribute(273, "class", "table"); 413 | builder.AddContent(274, "\n "); 414 | builder.OpenElement(275, "tr"); 415 | builder.AddContent(276, "\n "); 416 | builder.OpenElement(277, "td"); 417 | builder.AddContent(278, "Name"); 418 | builder.CloseElement(); 419 | builder.AddContent(279, "\n "); 420 | builder.OpenElement(280, "td"); 421 | builder.AddContent(281, emp.Name); 422 | builder.CloseElement(); 423 | builder.AddContent(282, "\n "); 424 | builder.CloseElement(); 425 | builder.AddContent(283, "\n "); 426 | builder.OpenElement(284, "tr"); 427 | builder.AddContent(285, "\n "); 428 | builder.OpenElement(286, "td"); 429 | builder.AddContent(287, "Gender"); 430 | builder.CloseElement(); 431 | builder.AddContent(288, "\n "); 432 | builder.OpenElement(289, "td"); 433 | builder.AddContent(290, emp.Gender); 434 | builder.CloseElement(); 435 | builder.AddContent(291, "\n "); 436 | builder.CloseElement(); 437 | builder.AddContent(292, "\n "); 438 | builder.OpenElement(293, "tr"); 439 | builder.AddContent(294, "\n "); 440 | builder.OpenElement(295, "td"); 441 | builder.AddContent(296, "Department"); 442 | builder.CloseElement(); 443 | builder.AddContent(297, "\n "); 444 | builder.OpenElement(298, "td"); 445 | builder.AddContent(299, emp.Department); 446 | builder.CloseElement(); 447 | builder.AddContent(300, "\n "); 448 | builder.CloseElement(); 449 | builder.AddContent(301, "\n "); 450 | builder.OpenElement(302, "tr"); 451 | builder.AddContent(303, "\n "); 452 | builder.OpenElement(304, "td"); 453 | builder.AddContent(305, "City"); 454 | builder.CloseElement(); 455 | builder.AddContent(306, "\n "); 456 | builder.OpenElement(307, "td"); 457 | builder.AddContent(308, emp.City); 458 | builder.CloseElement(); 459 | builder.AddContent(309, "\n "); 460 | builder.CloseElement(); 461 | builder.AddContent(310, "\n "); 462 | builder.CloseElement(); 463 | builder.AddContent(311, "\n "); 464 | builder.CloseElement(); 465 | builder.AddContent(312, "\n "); 466 | builder.OpenElement(313, "div"); 467 | builder.AddAttribute(314, "class", "modal-footer"); 468 | builder.AddContent(315, "\n "); 469 | builder.OpenElement(316, "button"); 470 | builder.AddAttribute(317, "class", "btn btn-danger"); 471 | builder.AddAttribute(318, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(async () => await DeleteEmployee(emp.EmployeeId))); 472 | builder.AddAttribute(319, "data-dismiss", "modal"); 473 | builder.AddContent(320, "YES"); 474 | builder.CloseElement(); 475 | builder.AddContent(321, "\n "); 476 | builder.OpenElement(322, "button"); 477 | builder.AddAttribute(323, "class", "btn btn-warning"); 478 | builder.AddAttribute(324, "onclick", Microsoft.AspNetCore.Blazor.Components.BindMethods.GetEventHandlerValue(closeModal)); 479 | builder.AddContent(325, "NO"); 480 | builder.CloseElement(); 481 | builder.AddContent(326, "\n "); 482 | builder.CloseElement(); 483 | builder.AddContent(327, "\n "); 484 | builder.CloseElement(); 485 | builder.AddContent(328, "\n "); 486 | builder.CloseElement(); 487 | builder.AddContent(329, "\n "); 488 | builder.CloseElement(); 489 | builder.AddContent(330, "\n"); 490 | #line 140 "C:\Users\asharma2\source\repos\ServerSideSPA\ServerSideSPA.App\Pages\EmployeeData.cshtml" 491 | } 492 | } 493 | 494 | #line default 495 | #line hidden 496 | } 497 | #pragma warning restore 1998 498 | } 499 | } 500 | #pragma warning restore 1591 501 | -------------------------------------------------------------------------------- /ServerSideSPA.App/bin/Debug/netstandard2.0/dist/_framework/blazor.webassembly.js: -------------------------------------------------------------------------------- 1 | !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=56)}([,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22),o={};t.attachRootComponentToElement=function(e,t,n){var a=document.querySelector(t);if(!a)throw new Error("Could not find any element matching selector '"+t+"'.");var i=o[e];i||(i=o[e]=new r.BrowserRenderer(e)),function(e){for(var t;t=e.firstChild;)e.removeChild(t)}(a),i.attachRootComponentToElement(n,a)},t.renderBatch=function(e,t){var n=o[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,a=t.updatedComponents(),i=r.values(a),u=r.count(a),l=t.referenceFrames(),s=r.values(l),c=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0))throw new Error("Not implemented: inserting non-empty logical container");if(i(a))throw new Error("Not implemented: moving existing logical children");var l=u(t);if(n0)throw new Error("New logical elements must start empty");return e[r]=[],e},t.createAndInsertLogicalContainer=function(e,t){var n=document.createComment("!");return a(n,e,t),n},t.insertLogicalChild=a,t.removeLogicalChild=function e(t,n){var r=u(t).splice(n,1)[0];if(r instanceof Comment)for(var o=u(r);o.length>0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=i,t.getLogicalChild=function(e,t){return u(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===function(e){if(e instanceof Element)return e;if(e instanceof Comment)return e.parentNode;throw new Error("Not a valid logical element")}(e).namespaceURI}},function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]-1?a.substring(0,u):"",s=u>-1?a.substring(u+1):a,c=t.monoPlatform.findMethod(e,l,s,i);t.monoPlatform.callMethod(c,null,r)},callMethod:function(e,n,r){if(r.length>4)throw new Error("Currently, MonoPlatform supports passing a maximum of 4 arguments from JS to .NET. You tried to pass "+r.length+".");var o=Module.stackSave();try{for(var a=Module.stackAlloc(r.length),u=Module.stackAlloc(4),l=0;l0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]