├── Angular5
├── src
│ ├── assets
│ │ ├── .gitkeep
│ │ └── img
│ │ │ └── 403.png
│ ├── app
│ │ ├── app.component.css
│ │ ├── home
│ │ │ ├── home.component.css
│ │ │ ├── home.component.spec.ts
│ │ │ ├── home.component.ts
│ │ │ └── home.component.html
│ │ ├── user
│ │ │ ├── user.component.css
│ │ │ ├── sign-in
│ │ │ │ ├── sign-in.component.css
│ │ │ │ ├── sign-in.component.spec.ts
│ │ │ │ ├── sign-in.component.ts
│ │ │ │ └── sign-in.component.html
│ │ │ ├── sign-up
│ │ │ │ ├── sign-up.component.css
│ │ │ │ ├── sign-up.component.spec.ts
│ │ │ │ ├── sign-up.component.ts
│ │ │ │ └── sign-up.component.html
│ │ │ ├── user.component.ts
│ │ │ ├── user.component.spec.ts
│ │ │ └── user.component.html
│ │ ├── forbidden
│ │ │ ├── forbidden.component.css
│ │ │ ├── forbidden.component.ts
│ │ │ ├── forbidden.component.html
│ │ │ └── forbidden.component.spec.ts
│ │ ├── admin-panel
│ │ │ ├── admin-panel.component.css
│ │ │ ├── admin-panel.component.html
│ │ │ ├── admin-panel.component.ts
│ │ │ └── admin-panel.component.spec.ts
│ │ ├── app.component.html
│ │ ├── shared
│ │ │ ├── user.model.ts
│ │ │ ├── user.service.spec.ts
│ │ │ └── user.service.ts
│ │ ├── app.component.ts
│ │ ├── auth
│ │ │ ├── auth.guard.spec.ts
│ │ │ ├── auth.guard.ts
│ │ │ └── auth.interceptor.ts
│ │ ├── app.component.spec.ts
│ │ ├── routes.ts
│ │ └── app.module.ts
│ ├── environments
│ │ ├── environment.prod.ts
│ │ └── environment.ts
│ ├── favicon.ico
│ ├── typings.d.ts
│ ├── tsconfig.app.json
│ ├── tsconfig.spec.json
│ ├── main.ts
│ ├── index.html
│ ├── styles.css
│ ├── test.ts
│ └── polyfills.ts
├── e2e
│ ├── app.po.ts
│ ├── tsconfig.e2e.json
│ └── app.e2e-spec.ts
├── .editorconfig
├── tsconfig.json
├── .gitignore
├── protractor.conf.js
├── karma.conf.js
├── README.md
├── package.json
└── .angular-cli.json
├── WebAPI
├── WebAPI
│ ├── obj
│ │ └── Debug
│ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ │ ├── WebAPI.dll
│ │ │ ├── WebAPI.pdb
│ │ │ ├── WebAPI.Migrations.InitailDB.resources
│ │ │ ├── WebAPI.csproj.GenerateResource.Cache
│ │ │ ├── WebAPI.csprojResolveAssemblyReference.cache
│ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ ├── WebAPI.Migrations.ChangedDefaultTableNames.resources
│ │ │ └── WebAPI.Migrations.ChangedDefaultColumnNames.resources
│ ├── Views
│ │ ├── _ViewStart.cshtml
│ │ ├── Shared
│ │ │ ├── Error.cshtml
│ │ │ └── _Layout.cshtml
│ │ ├── Home
│ │ │ └── Index.cshtml
│ │ └── Web.config
│ ├── Global.asax
│ ├── bin
│ │ ├── Owin.dll
│ │ ├── WebAPI.dll
│ │ ├── WebAPI.pdb
│ │ ├── WebGrease.dll
│ │ ├── Antlr3.Runtime.dll
│ │ ├── Antlr3.Runtime.pdb
│ │ ├── Microsoft.Owin.dll
│ │ ├── System.Web.Mvc.dll
│ │ ├── EntityFramework.dll
│ │ ├── Newtonsoft.Json.dll
│ │ ├── System.Web.Cors.dll
│ │ ├── System.Web.Http.dll
│ │ ├── System.Web.Razor.dll
│ │ ├── Microsoft.Owin.Cors.dll
│ │ ├── System.Web.Helpers.dll
│ │ ├── System.Web.WebPages.dll
│ │ ├── System.Web.Http.Cors.dll
│ │ ├── Microsoft.Owin.Security.dll
│ │ ├── System.Web.Http.WebHost.dll
│ │ ├── System.Web.Optimization.dll
│ │ ├── EntityFramework.SqlServer.dll
│ │ ├── System.Net.Http.Formatting.dll
│ │ ├── System.Web.WebPages.Razor.dll
│ │ ├── Microsoft.Owin.Host.SystemWeb.dll
│ │ ├── Microsoft.Owin.Security.OAuth.dll
│ │ ├── Microsoft.Web.Infrastructure.dll
│ │ ├── Microsoft.AspNet.Identity.Core.dll
│ │ ├── Microsoft.AspNet.Identity.Owin.dll
│ │ ├── Microsoft.Owin.Security.Cookies.dll
│ │ ├── System.Web.WebPages.Deployment.dll
│ │ └── Microsoft.AspNet.Identity.EntityFramework.dll
│ ├── favicon.ico
│ ├── Areas
│ │ └── HelpPage
│ │ │ ├── Views
│ │ │ ├── Help
│ │ │ │ ├── DisplayTemplates
│ │ │ │ │ ├── ImageSample.cshtml
│ │ │ │ │ ├── TextSample.cshtml
│ │ │ │ │ ├── InvalidSample.cshtml
│ │ │ │ │ ├── Samples.cshtml
│ │ │ │ │ ├── ApiGroup.cshtml
│ │ │ │ │ ├── HelpPageApiModel.cshtml
│ │ │ │ │ └── Parameters.cshtml
│ │ │ │ ├── Api.cshtml
│ │ │ │ └── Index.cshtml
│ │ │ ├── _ViewStart.cshtml
│ │ │ └── Shared
│ │ │ │ └── _Layout.cshtml
│ │ │ ├── SampleGeneration
│ │ │ ├── SampleDirection.cs
│ │ │ ├── TextSample.cs
│ │ │ ├── InvalidSample.cs
│ │ │ └── ImageSample.cs
│ │ │ ├── HelpPageAreaRegistration.cs
│ │ │ ├── Controllers
│ │ │ └── HelpController.cs
│ │ │ ├── ApiDescriptionExtensions.cs
│ │ │ ├── Models
│ │ │ └── HelpPageApiModel.cs
│ │ │ └── HelpPage.css
│ ├── Scripts
│ │ └── _references.js
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.ttf
│ │ └── glyphicons-halflings-regular.woff
│ ├── App_Start
│ │ ├── FilterConfig.cs
│ │ ├── RouteConfig.cs
│ │ ├── WebApiConfig.cs
│ │ └── BundleConfig.cs
│ ├── Controllers
│ │ ├── HomeController.cs
│ │ ├── RoleController.cs
│ │ └── ValuesController.cs
│ ├── Models
│ │ ├── AccountModel.cs
│ │ └── IdentityModels.cs
│ ├── Migrations
│ │ ├── 201801311545174_ChangedDefaultColumnNames.cs
│ │ ├── 201801311530466_InitailDB.Designer.cs
│ │ ├── 201801311540510_ChangedDefaultTableNames.Designer.cs
│ │ ├── 201801311545174_ChangedDefaultColumnNames.Designer.cs
│ │ ├── Configuration.cs
│ │ └── 201801311540510_ChangedDefaultTableNames.cs
│ ├── AuthorizeAttribute.cs
│ ├── Global.asax.cs
│ ├── Content
│ │ └── Site.css
│ ├── Startup.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── WebAPI.csproj.user
│ └── packages.config
├── WebAPI.v12.suo
├── packages
│ ├── repositories.config
│ ├── Owin.1.0
│ │ ├── Owin.1.0.nupkg
│ │ ├── lib
│ │ │ └── net40
│ │ │ │ └── Owin.dll
│ │ └── Owin.1.0.nuspec
│ ├── WebGrease.1.5.2
│ │ ├── tools
│ │ │ └── WG.exe
│ │ ├── lib
│ │ │ └── WebGrease.dll
│ │ ├── WebGrease.1.5.2.nupkg
│ │ └── WebGrease.1.5.2.nuspec
│ ├── Respond.1.2.0
│ │ ├── Respond.1.2.0.nupkg
│ │ └── Respond.1.2.0.nuspec
│ ├── jQuery.1.10.2
│ │ ├── jQuery.1.10.2.nupkg
│ │ ├── jQuery.1.10.2.nuspec
│ │ └── Tools
│ │ │ ├── install.ps1
│ │ │ └── uninstall.ps1
│ ├── Modernizr.2.6.2
│ │ ├── Modernizr.2.6.2.nupkg
│ │ ├── Tools
│ │ │ ├── uninstall.ps1
│ │ │ └── install.ps1
│ │ └── Modernizr.2.6.2.nuspec
│ ├── bootstrap.3.0.0
│ │ ├── bootstrap.3.0.0.nupkg
│ │ ├── content
│ │ │ └── fonts
│ │ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ │ └── glyphicons-halflings-regular.woff
│ │ └── bootstrap.3.0.0.nuspec
│ ├── Antlr.3.4.1.9004
│ │ ├── Antlr.3.4.1.9004.nupkg
│ │ ├── lib
│ │ │ ├── Antlr3.Runtime.dll
│ │ │ └── Antlr3.Runtime.pdb
│ │ └── Antlr.3.4.1.9004.nuspec
│ ├── EntityFramework.6.1.3
│ │ ├── tools
│ │ │ ├── migrate.exe
│ │ │ ├── EntityFramework.psd1
│ │ │ ├── EntityFramework.PowerShell.dll
│ │ │ ├── EntityFramework.PowerShell.Utility.dll
│ │ │ └── about_EntityFramework.help.txt
│ │ ├── EntityFramework.6.1.3.nupkg
│ │ ├── lib
│ │ │ ├── net40
│ │ │ │ ├── EntityFramework.dll
│ │ │ │ └── EntityFramework.SqlServer.dll
│ │ │ └── net45
│ │ │ │ ├── EntityFramework.dll
│ │ │ │ └── EntityFramework.SqlServer.dll
│ │ ├── content
│ │ │ ├── App.config.transform
│ │ │ └── Web.config.transform
│ │ └── EntityFramework.6.1.3.nuspec
│ ├── Microsoft.AspNet.WebApi.HelpPage.5.0.0
│ │ ├── content
│ │ │ └── Areas
│ │ │ │ └── HelpPage
│ │ │ │ ├── Views
│ │ │ │ ├── Help
│ │ │ │ │ ├── DisplayTemplates
│ │ │ │ │ │ ├── ImageSample.cshtml.pp
│ │ │ │ │ │ ├── TextSample.cshtml.pp
│ │ │ │ │ │ ├── InvalidSample.cshtml.pp
│ │ │ │ │ │ ├── Samples.cshtml.pp
│ │ │ │ │ │ ├── ApiGroup.cshtml.pp
│ │ │ │ │ │ ├── HelpPageApiModel.cshtml.pp
│ │ │ │ │ │ └── Parameters.cshtml.pp
│ │ │ │ │ ├── Api.cshtml.pp
│ │ │ │ │ └── Index.cshtml.pp
│ │ │ │ ├── _ViewStart.cshtml.pp
│ │ │ │ └── Shared
│ │ │ │ │ └── _Layout.cshtml.pp
│ │ │ │ ├── SampleGeneration
│ │ │ │ ├── SampleDirection.cs.pp
│ │ │ │ ├── TextSample.cs.pp
│ │ │ │ ├── InvalidSample.cs.pp
│ │ │ │ └── ImageSample.cs.pp
│ │ │ │ ├── HelpPageAreaRegistration.cs.pp
│ │ │ │ ├── Controllers
│ │ │ │ └── HelpController.cs.pp
│ │ │ │ ├── ApiDescriptionExtensions.cs.pp
│ │ │ │ ├── Models
│ │ │ │ └── HelpPageApiModel.cs.pp
│ │ │ │ └── HelpPage.css.pp
│ │ ├── Microsoft.AspNet.WebApi.HelpPage.5.0.0.nupkg
│ │ └── Microsoft.AspNet.WebApi.HelpPage.5.0.0.nuspec
│ ├── Microsoft.Owin.3.1.0
│ │ ├── Microsoft.Owin.3.1.0.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.Owin.dll
│ │ └── Microsoft.Owin.3.1.0.nuspec
│ ├── Newtonsoft.Json.6.0.8
│ │ ├── Newtonsoft.Json.6.0.8.nupkg
│ │ ├── lib
│ │ │ ├── net20
│ │ │ │ └── Newtonsoft.Json.dll
│ │ │ ├── net35
│ │ │ │ └── Newtonsoft.Json.dll
│ │ │ ├── net40
│ │ │ │ └── Newtonsoft.Json.dll
│ │ │ ├── net45
│ │ │ │ └── Newtonsoft.Json.dll
│ │ │ ├── netcore45
│ │ │ │ └── Newtonsoft.Json.dll
│ │ │ ├── portable-net40+sl5+wp80+win8+wpa81
│ │ │ │ └── Newtonsoft.Json.dll
│ │ │ └── portable-net45+wp80+win8+wpa81+aspnetcore50
│ │ │ │ └── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.6.0.8.nuspec
│ ├── Microsoft.AspNet.Mvc.5.0.0
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── System.Web.Mvc.dll
│ │ ├── Microsoft.AspNet.Mvc.5.0.0.nupkg
│ │ └── Microsoft.AspNet.Mvc.5.0.0.nuspec
│ ├── Microsoft.AspNet.Cors.5.2.3
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── System.Web.Cors.dll
│ │ ├── Microsoft.AspNet.Cors.5.2.3.nupkg
│ │ └── Microsoft.AspNet.Cors.5.2.3.nuspec
│ ├── Microsoft.Owin.Cors.3.1.0
│ │ ├── Microsoft.Owin.Cors.3.1.0.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.Owin.Cors.dll
│ │ └── Microsoft.Owin.Cors.3.1.0.nuspec
│ ├── Microsoft.AspNet.Razor.3.0.0
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── System.Web.Razor.dll
│ │ ├── Microsoft.AspNet.Razor.3.0.0.nupkg
│ │ └── Microsoft.AspNet.Razor.3.0.0.nuspec
│ ├── Microsoft.AspNet.WebApi.5.0.0
│ │ ├── Microsoft.AspNet.WebApi.5.0.0.nupkg
│ │ └── Microsoft.AspNet.WebApi.5.0.0.nuspec
│ ├── Microsoft.AspNet.WebApi.Core.5.2.3
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── System.Web.Http.dll
│ │ ├── Microsoft.AspNet.WebApi.Core.5.2.3.nupkg
│ │ ├── Content
│ │ │ └── web.config.transform
│ │ └── Microsoft.AspNet.WebApi.Core.5.2.3.nuspec
│ ├── Microsoft.AspNet.WebPages.3.0.0
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ ├── System.Web.Helpers.dll
│ │ │ │ ├── System.Web.WebPages.dll
│ │ │ │ ├── System.Web.WebPages.Razor.dll
│ │ │ │ └── System.Web.WebPages.Deployment.dll
│ │ ├── Microsoft.AspNet.WebPages.3.0.0.nupkg
│ │ └── Microsoft.AspNet.WebPages.3.0.0.nuspec
│ ├── Microsoft.Owin.Security.2.1.0
│ │ ├── Microsoft.Owin.Security.2.1.0.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.Owin.Security.dll
│ │ └── Microsoft.Owin.Security.2.1.0.nuspec
│ ├── Microsoft.AspNet.WebApi.Cors.5.2.3
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── System.Web.Http.Cors.dll
│ │ ├── Microsoft.AspNet.WebApi.Cors.5.2.3.nupkg
│ │ └── Microsoft.AspNet.WebApi.Cors.5.2.3.nuspec
│ ├── Microsoft.AspNet.WebApi.WebHost.5.2.3
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── System.Web.Http.WebHost.dll
│ │ ├── Microsoft.AspNet.WebApi.WebHost.5.2.3.nupkg
│ │ └── Microsoft.AspNet.WebApi.WebHost.5.2.3.nuspec
│ ├── Microsoft.AspNet.Web.Optimization.1.1.1
│ │ ├── lib
│ │ │ └── net40
│ │ │ │ └── System.Web.Optimization.dll
│ │ ├── Microsoft.AspNet.Web.Optimization.1.1.1.nupkg
│ │ └── Microsoft.AspNet.Web.Optimization.1.1.1.nuspec
│ ├── Microsoft.AspNet.WebApi.Client.5.2.3
│ │ ├── lib
│ │ │ ├── net45
│ │ │ │ └── System.Net.Http.Formatting.dll
│ │ │ └── portable-wp8+netcore45+net45+wp81+wpa81
│ │ │ │ └── System.Net.Http.Formatting.dll
│ │ ├── Microsoft.AspNet.WebApi.Client.5.2.3.nupkg
│ │ └── Microsoft.AspNet.WebApi.Client.5.2.3.nuspec
│ ├── Microsoft.Owin.Host.SystemWeb.3.1.0
│ │ ├── Microsoft.Owin.Host.SystemWeb.3.1.0.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.Owin.Host.SystemWeb.dll
│ │ └── Microsoft.Owin.Host.SystemWeb.3.1.0.nuspec
│ ├── Microsoft.Owin.Security.OAuth.2.1.0
│ │ ├── Microsoft.Owin.Security.OAuth.2.1.0.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.Owin.Security.OAuth.dll
│ │ └── Microsoft.Owin.Security.OAuth.2.1.0.nuspec
│ ├── Microsoft.AspNet.Identity.Core.2.2.1
│ │ ├── Microsoft.AspNet.Identity.Core.2.2.1.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.AspNet.Identity.Core.dll
│ │ └── Microsoft.AspNet.Identity.Core.2.2.1.nuspec
│ ├── Microsoft.AspNet.Identity.Owin.2.2.1
│ │ ├── Microsoft.AspNet.Identity.Owin.2.2.1.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.AspNet.Identity.Owin.dll
│ │ └── Microsoft.AspNet.Identity.Owin.2.2.1.nuspec
│ ├── Microsoft.Web.Infrastructure.1.0.0.0
│ │ ├── Microsoft.Web.Infrastructure.1.0.0.0.nupkg
│ │ ├── lib
│ │ │ └── net40
│ │ │ │ └── Microsoft.Web.Infrastructure.dll
│ │ └── Microsoft.Web.Infrastructure.1.0.0.0.nuspec
│ ├── Microsoft.Owin.Security.Cookies.2.1.0
│ │ ├── Microsoft.Owin.Security.Cookies.2.1.0.nupkg
│ │ ├── lib
│ │ │ └── net45
│ │ │ │ └── Microsoft.Owin.Security.Cookies.dll
│ │ └── Microsoft.Owin.Security.Cookies.2.1.0.nuspec
│ └── Microsoft.AspNet.Identity.EntityFramework.2.2.1
│ │ ├── Microsoft.AspNet.Identity.EntityFramework.2.2.1.nupkg
│ │ ├── lib
│ │ └── net45
│ │ │ └── Microsoft.AspNet.Identity.EntityFramework.dll
│ │ └── Microsoft.AspNet.Identity.EntityFramework.2.2.1.nuspec
└── WebAPI.sln
└── README.md
/Angular5/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/app.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/home/home.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/user/user.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/forbidden/forbidden.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/user/sign-in/sign-in.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/user/sign-up/sign-up.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/admin-panel/admin-panel.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Angular5/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
2 | admin-panel works! 3 |
4 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /Angular5/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="WebAPI.WebApiApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /WebAPI/WebAPI.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI.v12.suo -------------------------------------------------------------------------------- /Angular5/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/Angular5/src/favicon.ico -------------------------------------------------------------------------------- /Angular5/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | /* SystemJS module definition */ 2 | declare var module: NodeModule; 3 | interface NodeModule { 4 | id: string; 5 | } 6 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Owin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Owin.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/favicon.ico -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/WebAPI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/WebAPI.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/WebAPI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/WebAPI.pdb -------------------------------------------------------------------------------- /Angular5/src/assets/img/403.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/Angular5/src/assets/img/403.png -------------------------------------------------------------------------------- /WebAPI/WebAPI/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml: -------------------------------------------------------------------------------- 1 | @using WebAPI.Areas.HelpPage 2 | @model ImageSample 3 | 4 |5 | @Model.Text 6 |-------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.Owin.Cors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.Owin.Cors.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Web.Helpers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Web.Helpers.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Web.WebPages.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Web.WebPages.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Web.Http.Cors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Web.Http.Cors.dll -------------------------------------------------------------------------------- /WebAPI/packages/Owin.1.0/lib/net40/Owin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Owin.1.0/lib/net40/Owin.dll -------------------------------------------------------------------------------- /WebAPI/packages/WebGrease.1.5.2/tools/WG.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/WebGrease.1.5.2/tools/WG.exe -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.Owin.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.Owin.Security.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Web.Http.WebHost.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Web.Http.WebHost.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Web.Optimization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Web.Optimization.dll -------------------------------------------------------------------------------- /Angular5/src/app/shared/user.model.ts: -------------------------------------------------------------------------------- 1 | export class User { 2 | UserName: string; 3 | Password: string; 4 | Email: string; 5 | FirstName: string; 6 | LastName: string; 7 | } 8 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/EntityFramework.SqlServer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/EntityFramework.SqlServer.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Net.Http.Formatting.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Net.Http.Formatting.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Web.WebPages.Razor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Web.WebPages.Razor.dll -------------------------------------------------------------------------------- /WebAPI/packages/Respond.1.2.0/Respond.1.2.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Respond.1.2.0/Respond.1.2.0.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/WebGrease.1.5.2/lib/WebGrease.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/WebGrease.1.5.2/lib/WebGrease.dll -------------------------------------------------------------------------------- /WebAPI/packages/jQuery.1.10.2/jQuery.1.10.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/jQuery.1.10.2/jQuery.1.10.2.nupkg -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.Owin.Host.SystemWeb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.Owin.Host.SystemWeb.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.Owin.Security.OAuth.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.Owin.Security.OAuth.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.Web.Infrastructure.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.Web.Infrastructure.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.AspNet.Identity.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.AspNet.Identity.Core.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.AspNet.Identity.Owin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.AspNet.Identity.Owin.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Microsoft.Owin.Security.Cookies.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/Microsoft.Owin.Security.Cookies.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/System.Web.WebPages.Deployment.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/bin/System.Web.WebPages.Deployment.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /WebAPI/WebAPI/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /WebAPI/WebAPI/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /WebAPI/packages/Modernizr.2.6.2/Modernizr.2.6.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Modernizr.2.6.2/Modernizr.2.6.2.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/WebGrease.1.5.2/WebGrease.1.5.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/WebGrease.1.5.2/WebGrease.1.5.2.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/bootstrap.3.0.0/bootstrap.3.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/bootstrap.3.0.0/bootstrap.3.0.0.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Antlr.3.4.1.9004/Antlr.3.4.1.9004.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Antlr.3.4.1.9004/Antlr.3.4.1.9004.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Antlr.3.4.1.9004/lib/Antlr3.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Antlr.3.4.1.9004/lib/Antlr3.Runtime.dll -------------------------------------------------------------------------------- /WebAPI/packages/Antlr.3.4.1.9004/lib/Antlr3.Runtime.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Antlr.3.4.1.9004/lib/Antlr3.Runtime.pdb -------------------------------------------------------------------------------- /WebAPI/packages/EntityFramework.6.1.3/tools/migrate.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/EntityFramework.6.1.3/tools/migrate.exe -------------------------------------------------------------------------------- /WebAPI/WebAPI/Areas/HelpPage/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | // Change the Layout path below to blend the look and feel of the help page with your existing web pages 3 | Layout = "~/Views/Shared/_Layout.cshtml"; 4 | } -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/WebAPI.Migrations.InitailDB.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/obj/Debug/WebAPI.Migrations.InitailDB.resources -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/WebAPI.csproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/obj/Debug/WebAPI.csproj.GenerateResource.Cache -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.HelpPage.5.0.0/content/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml.pp: -------------------------------------------------------------------------------- 1 | @using $rootnamespace$.Areas.HelpPage 2 | @model ImageSample 3 | 4 |
5 | @Model.Text 6 |-------------------------------------------------------------------------------- /WebAPI/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /WebAPI/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.Cors.5.2.3/lib/net45/System.Web.Cors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.Cors.5.2.3/lib/net45/System.Web.Cors.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.Owin.Cors.3.1.0/Microsoft.Owin.Cors.3.1.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.Owin.Cors.3.1.0/Microsoft.Owin.Cors.3.1.0.nupkg -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/WebAPI.Migrations.ChangedDefaultTableNames.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/obj/Debug/WebAPI.Migrations.ChangedDefaultTableNames.resources -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.Mvc.5.0.0/Microsoft.AspNet.Mvc.5.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.Mvc.5.0.0/Microsoft.AspNet.Mvc.5.0.0.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.Razor.3.0.0/lib/net45/System.Web.Razor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.Razor.3.0.0/lib/net45/System.Web.Razor.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.Owin.Cors.3.1.0/lib/net45/Microsoft.Owin.Cors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.Owin.Cors.3.1.0/lib/net45/Microsoft.Owin.Cors.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/WebAPI.Migrations.ChangedDefaultColumnNames.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/WebAPI/obj/Debug/WebAPI.Migrations.ChangedDefaultColumnNames.resources -------------------------------------------------------------------------------- /WebAPI/packages/EntityFramework.6.1.3/lib/net40/EntityFramework.SqlServer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/EntityFramework.6.1.3/lib/net40/EntityFramework.SqlServer.dll -------------------------------------------------------------------------------- /WebAPI/packages/EntityFramework.6.1.3/lib/net45/EntityFramework.SqlServer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/EntityFramework.6.1.3/lib/net45/EntityFramework.SqlServer.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.Cors.5.2.3/Microsoft.AspNet.Cors.5.2.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.Cors.5.2.3/Microsoft.AspNet.Cors.5.2.3.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.Razor.3.0.0/Microsoft.AspNet.Razor.3.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.Razor.3.0.0/Microsoft.AspNet.Razor.3.0.0.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /WebAPI/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /WebAPI/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.5.0.0/Microsoft.AspNet.WebApi.5.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebApi.5.0.0/Microsoft.AspNet.WebApi.5.0.0.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/lib/net45/System.Web.Helpers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/lib/net45/System.Web.Helpers.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/lib/net45/System.Web.WebPages.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/lib/net45/System.Web.WebPages.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.Owin.Security.2.1.0/Microsoft.Owin.Security.2.1.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.Owin.Security.2.1.0/Microsoft.Owin.Security.2.1.0.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Modernizr.2.6.2/Tools/uninstall.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | . (Join-Path $toolsPath common.ps1) 4 | 5 | # Update the _references.js file 6 | Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx -------------------------------------------------------------------------------- /WebAPI/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.Utility.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/EntityFramework.6.1.3/tools/EntityFramework.PowerShell.Utility.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.Owin.Security.2.1.0/lib/net45/Microsoft.Owin.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.Owin.Security.2.1.0/lib/net45/Microsoft.Owin.Security.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.Cors.5.2.3/lib/net45/System.Web.Http.Cors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebApi.Cors.5.2.3/lib/net45/System.Web.Http.Cors.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/Microsoft.AspNet.WebPages.3.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/Microsoft.AspNet.WebPages.3.0.0.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/lib/net45/System.Web.WebPages.Razor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebPages.3.0.0/lib/net45/System.Web.WebPages.Razor.dll -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Microsoft.AspNet.WebApi.Core.5.2.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Microsoft.AspNet.WebApi.Core.5.2.3.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.Cors.5.2.3/Microsoft.AspNet.WebApi.Cors.5.2.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebApi.Cors.5.2.3/Microsoft.AspNet.WebApi.Cors.5.2.3.nupkg -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodAffection/Angular-5---Role-Based-Authorization-with-Web-API/master/WebAPI/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.dll -------------------------------------------------------------------------------- /Angular5/e2e/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.css('app-root h1')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /WebAPI/packages/EntityFramework.6.1.3/content/App.config.transform: -------------------------------------------------------------------------------- 1 |
Sample not available.
13 | } -------------------------------------------------------------------------------- /Angular5/src/app/user/user.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-user', 5 | templateUrl: './user.component.html', 6 | styleUrls: ['./user.component.css'] 7 | }) 8 | export class UserComponent implements OnInit { 9 | 10 | constructor() { } 11 | 12 | ngOnInit() { 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /Angular5/e2e/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | 3 | describe('angular5 App', () => { 4 | let page: AppPage; 5 | 6 | beforeEach(() => { 7 | page = new AppPage(); 8 | }); 9 | 10 | it('should display welcome message', () => { 11 | page.navigateTo(); 12 | expect(page.getParagraphText()).toEqual('Welcome to app!'); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.HelpPage.5.0.0/content/Areas/HelpPage/SampleGeneration/SampleDirection.cs.pp: -------------------------------------------------------------------------------- 1 | namespace $rootnamespace$.Areas.HelpPage 2 | { 3 | ///Sample not available.
13 | } -------------------------------------------------------------------------------- /Angular5/src/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/spec", 5 | "baseUrl": "./", 6 | "module": "commonjs", 7 | "target": "es5", 8 | "types": [ 9 | "jasmine", 10 | "node" 11 | ] 12 | }, 13 | "files": [ 14 | "test.ts" 15 | ], 16 | "include": [ 17 | "**/*.spec.ts", 18 | "**/*.d.ts" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /WebAPI/packages/Modernizr.2.6.2/Tools/install.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | . (Join-Path $toolsPath common.ps1) 4 | 5 | if ($scriptsFolderProjectItem -eq $null) { 6 | # No Scripts folder 7 | Write-Host "No Scripts folder found" 8 | exit 9 | } 10 | 11 | # Update the _references.js file 12 | AddOrUpdate-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx $modernizrFileName -------------------------------------------------------------------------------- /Angular5/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.log(err)); 13 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | 7 | namespace WebAPI.Controllers 8 | { 9 | public class HomeController : Controller 10 | { 11 | public ActionResult Index() 12 | { 13 | ViewBag.Title = "Home Page"; 14 | 15 | return View(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Angular5/src/app/auth/auth.guard.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, async, inject } from '@angular/core/testing'; 2 | 3 | import { AuthGuard } from './auth.guard'; 4 | 5 | describe('AuthGuard', () => { 6 | beforeEach(() => { 7 | TestBed.configureTestingModule({ 8 | providers: [AuthGuard] 9 | }); 10 | }); 11 | 12 | it('should ...', inject([AuthGuard], (guard: AuthGuard) => { 13 | expect(guard).toBeTruthy(); 14 | })); 15 | }); 16 | -------------------------------------------------------------------------------- /Angular5/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // The file contents for the current environment will overwrite these during build. 2 | // The build system defaults to the dev environment which uses `environment.ts`, but if you do 3 | // `ng build --env=prod` then `environment.prod.ts` will be used instead. 4 | // The list of which env maps to which file can be found in `.angular-cli.json`. 5 | 6 | export const environment = { 7 | production: false 8 | }; 9 | -------------------------------------------------------------------------------- /Angular5/src/app/shared/user.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, inject } from '@angular/core/testing'; 2 | 3 | import { UserService } from './user.service'; 4 | 5 | describe('UserService', () => { 6 | beforeEach(() => { 7 | TestBed.configureTestingModule({ 8 | providers: [UserService] 9 | }); 10 | }); 11 | 12 | it('should be created', inject([UserService], (service: UserService) => { 13 | expect(service).toBeTruthy(); 14 | })); 15 | }); 16 | -------------------------------------------------------------------------------- /Angular5/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "outDir": "./dist/out-tsc", 5 | "sourceMap": true, 6 | "declaration": false, 7 | "moduleResolution": "node", 8 | "emitDecoratorMetadata": true, 9 | "experimentalDecorators": true, 10 | "target": "es5", 11 | "typeRoots": [ 12 | "node_modules/@types" 13 | ], 14 | "lib": [ 15 | "es2017", 16 | "dom" 17 | ] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Angular5/src/app/forbidden/forbidden.component.html: -------------------------------------------------------------------------------- 1 |
6 |
7 | You don't have the permission to access this resource.
11 |14 | @Html.ActionLink("Help Page Home", "Index") 15 |
16 |14 | @Html.ActionLink("Help Page Home", "Index") 15 |
16 |Sample not available.
22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |Sample not available.
22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |27 | Provide a general description of your APIs here. 28 |
29 |27 | Provide a general description of your APIs here. 28 |
29 |@controllerDocumentation
18 | } 19 || API | Description |
|---|---|
| @api.HttpMethod.Method @api.RelativePath | 28 |
29 | @if (api.Documentation != null)
30 | {
31 | @api.Documentation 32 | } 33 | else 34 | { 35 |No documentation available. 36 | } 37 | |
38 |
@controllerDocumentation
18 | } 19 || API | Description |
|---|---|
| @api.HttpMethod.Method @api.RelativePath | 28 |
29 | @if (api.Documentation != null)
30 | {
31 | @api.Documentation 32 | } 33 | else 34 | { 35 |No documentation available. 36 | } 37 | |
38 |
ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.
4 | 5 |ASP.NET Web API is a framework that makes it easy to build HTTP services that reach 10 | a broad range of clients, including browsers and mobile devices. ASP.NET Web API 11 | is an ideal platform for building RESTful applications on the .NET Framework.
12 | 13 |NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
17 | 18 |You can easily find a web hosting company that offers the right mix of features and price for your applications.
22 | 23 |@description.Documentation
16 | } 17 | else 18 | { 19 |No documentation available.
20 | } 21 | 22 | @if (hasParameters || hasRequestSamples) 23 | { 24 |@description.ResponseDescription.Documentation
43 | } 44 | else 45 | { 46 |No documentation available.
47 | } 48 |@description.Documentation
16 | } 17 | else 18 | { 19 |No documentation available.
20 | } 21 | 22 | @if (hasParameters || hasRequestSamples) 23 | { 24 |@description.ResponseDescription.Documentation
43 | } 44 | else 45 | { 46 |No documentation available.
47 | } 48 || Name | Description | Additional information |
|---|---|---|
| @parameter.Name | 24 |@parameterDocumentation |
25 |
26 | @switch (parameter.Source)
27 | {
28 | case ApiParameterSource.FromBody:
29 | Define this parameter in the request body. 30 | break; 31 | case ApiParameterSource.FromUri: 32 |Define this parameter in the request URI. 33 | break; 34 | case ApiParameterSource.Unknown: 35 | default: 36 |None. 37 | break; 38 | } 39 | |
40 |
| Name | Description | Additional information |
|---|---|---|
| @parameter.Name | 24 |@parameterDocumentation |
25 |
26 | @switch (parameter.Source)
27 | {
28 | case ApiParameterSource.FromBody:
29 | Define this parameter in the request body. 30 | break; 31 | case ApiParameterSource.FromUri: 32 |Define this parameter in the request URI. 33 | break; 34 | case ApiParameterSource.Unknown: 35 | default: 36 |None. 37 | break; 38 | } 39 | |
40 |
28 |
29 |
30 |
31 | | :bar_chart: | List of Tutorials | | :moneybag: | Support Us |
32 | |--------------------------:|:---------------------|---|---------------------:|:-------------------------------------|
33 | | Angular |http://bit.ly/2KQN9xF | |Paypal | https://goo.gl/bPcyXW |
34 | | Asp.Net Core |http://bit.ly/30fPDMg | |Amazon Affiliate | https://geni.us/JDzpE |
35 | | React |http://bit.ly/325temF | |
36 | | Python |http://bit.ly/2ws4utg | | :point_right: | Follow Us |
37 | | Node.js |https://goo.gl/viJcFs | |Website |http://www.codaffection.com |
38 | | Asp.Net MVC |https://goo.gl/gvjUJ7 | |YouTube |https://www.youtube.com/codaffection |
39 | | Flutter |https://bit.ly/3ggmmJz| |Facebook |https://www.facebook.com/codaffection |
40 | | Web API |https://goo.gl/itVayJ | |Twitter |https://twitter.com/CodAffection |
41 | | MEAN Stack |https://goo.gl/YJPPAH | |
42 | | C# Tutorial |https://goo.gl/s1zJxo | |
43 | | Asp.Net WebForm |https://goo.gl/GXC2aJ | |
44 | | C# WinForm |https://goo.gl/vHS9Hd | |
45 | | MS SQL |https://goo.gl/MLYS9e | |
46 | | Crystal Report |https://goo.gl/5Vou7t | |
47 | | CG Exercises in C Program |https://goo.gl/qEWJCs | |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/Angular5/src/polyfills.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * This file includes polyfills needed by Angular and is loaded before the app.
3 | * You can add your own extra polyfills to this file.
4 | *
5 | * This file is divided into 2 sections:
6 | * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7 | * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8 | * file.
9 | *
10 | * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11 | * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12 | * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13 | *
14 | * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
15 | */
16 |
17 | /***************************************************************************************************
18 | * BROWSER POLYFILLS
19 | */
20 |
21 | /** IE9, IE10 and IE11 requires all of the following polyfills. **/
22 | // import 'core-js/es6/symbol';
23 | // import 'core-js/es6/object';
24 | // import 'core-js/es6/function';
25 | // import 'core-js/es6/parse-int';
26 | // import 'core-js/es6/parse-float';
27 | // import 'core-js/es6/number';
28 | // import 'core-js/es6/math';
29 | // import 'core-js/es6/string';
30 | // import 'core-js/es6/date';
31 | // import 'core-js/es6/array';
32 | // import 'core-js/es6/regexp';
33 | // import 'core-js/es6/map';
34 | // import 'core-js/es6/weak-map';
35 | // import 'core-js/es6/set';
36 |
37 | /** IE10 and IE11 requires the following for NgClass support on SVG elements */
38 | // import 'classlist.js'; // Run `npm install --save classlist.js`.
39 |
40 | /** IE10 and IE11 requires the following for the Reflect API. */
41 | // import 'core-js/es6/reflect';
42 |
43 |
44 | /** Evergreen browsers require these. **/
45 | // Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
46 | import 'core-js/es7/reflect';
47 |
48 |
49 | /**
50 | * Required to support Web Animations `@angular/platform-browser/animations`.
51 | * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
52 | **/
53 | // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
54 |
55 |
56 |
57 | /***************************************************************************************************
58 | * Zone JS is required by default for Angular itself.
59 | */
60 | import 'zone.js/dist/zone'; // Included with Angular CLI.
61 |
62 |
63 |
64 | /***************************************************************************************************
65 | * APPLICATION IMPORTS
66 | */
67 |
--------------------------------------------------------------------------------