├── .gitattributes ├── .gitignore ├── Programming ASP.NET Core.sln ├── ReadMe.md └── Src ├── Ch01 ├── HelloWorldConsole │ ├── Ch01.HelloWorldConsole.csproj │ └── Program.cs └── HelloWorldWeb │ ├── Ch01.HelloWorldWeb.csproj │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ └── Startup.cs ├── Ch02 ├── Echo │ ├── Ch02.Echo.csproj │ ├── Echo.sln │ ├── Program.cs │ └── Properties │ │ └── launchSettings.json ├── Environments │ ├── Ch02.Environments.csproj │ ├── GlobalAsax.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── StartupDevelopment.cs │ ├── StartupProduction.cs │ └── StartupWhatever.cs ├── FileServer │ ├── Assets │ │ └── test.jpg │ ├── Ch02.FileServer.csproj │ ├── Common │ │ └── MobileHelpers.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── ReadMe.txt │ ├── Startup - Copy.cs │ ├── Startup.cs │ └── wwwroot │ │ ├── css │ │ └── site.css │ │ └── index.html └── MiniWeb │ ├── Ch02.MiniWeb.csproj │ ├── Countries.json │ ├── Persistence │ ├── Abstractions │ │ └── ICountryRepository.cs │ ├── CountryRepository.cs │ └── Model │ │ ├── Continent.cs │ │ └── Country.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── ReadMe.txt │ └── Startup.cs ├── Ch03 ├── Routes │ ├── Ch03.Routes.csproj │ ├── Implementation │ │ ├── DateController.cs │ │ └── HomeController.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── Startup.cs └── RoutesEx │ ├── Ch03.RoutesEx.csproj │ ├── Common │ └── YourRouteConstraint.cs │ ├── Implementation │ ├── DateController.cs │ └── HomeController.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ └── Startup.cs ├── Ch04 ├── AttrRouting │ ├── Ch04.AttrRouting.csproj │ ├── Controllers │ │ ├── InputController.cs │ │ ├── TourController.cs │ │ └── VipTourController.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── Startup.cs ├── Poco │ ├── Ch04.Poco.csproj │ ├── Common │ │ └── MyClass.cs │ ├── PocoController.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ └── Views │ │ ├── Home │ │ ├── Index.cshtml │ │ └── simple.cshtml │ │ ├── Shared │ │ └── _Layout.cshtml │ │ └── _ViewStart.cshtml └── Simple │ ├── AllControllers │ ├── BindingController.cs │ ├── FilterController.cs │ └── HomeController.cs │ ├── Ch04.Simple.csproj │ ├── Common │ ├── AjaxOnlyAttribute.cs │ ├── CultureAttribute.cs │ ├── HeaderAttribute.cs │ └── HttpRequestExtensions.cs │ ├── Models │ └── RepeatText.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ └── Views │ ├── Binding │ ├── Date.cshtml │ └── Email.cshtml │ ├── Home │ └── Index.cshtml │ ├── Shared │ └── _Layout.cshtml │ └── _ViewStart.cshtml ├── Ch05 ├── ExtraViews │ ├── Application │ │ ├── ApplicationServiceBase.cs │ │ ├── HomeService.cs │ │ └── IHomeService.cs │ ├── Ch05.JustViews.csproj │ ├── Controllers │ │ └── HomeController.cs │ ├── Models │ │ ├── HomeViewModel.cs │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Home │ │ │ └── Index.cshtml │ │ ├── Shared │ │ │ ├── Error.cshtml │ │ │ └── _Layout.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ └── wwwroot │ │ ├── Content │ │ ├── Fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── Scripts │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery.min.js │ │ │ ├── starter-kit.js │ │ │ ├── tether.min.js │ │ │ ├── typeahead.bundle.min.js │ │ │ └── typeahead.container.js │ │ └── Styles │ │ │ ├── Site │ │ │ ├── bootstrap-extensions.css │ │ │ └── site.css │ │ │ ├── bootstrap.min.css │ │ │ ├── font-awesome.min.css │ │ │ └── typeahead.css │ │ └── favicon.ico └── ViewEngine │ ├── Ch05.ViewEngine.csproj │ ├── Common │ ├── Dog.cs │ ├── MultiTenantViewLocationExpander.cs │ └── SpyTemplateEngine.cs │ ├── Controllers │ └── HomeController.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ └── Views │ ├── Home │ └── Index.cshtml │ └── Shared │ ├── Layouts │ └── _Layout.cshtml │ ├── _ViewStart.cshtml │ └── test.cshtml ├── Ch06 ├── BootstrapTagHelpers │ ├── Application │ │ ├── ApplicationServiceBase.cs │ │ └── HomeService.cs │ ├── Ch06.BootstrapTagHelpers.csproj │ ├── Common │ │ ├── ModalContentItemTagHelper.cs │ │ ├── ModalContentTagHelper.cs │ │ ├── ModalContext.cs │ │ ├── ModalTagHelper.cs │ │ └── ToggleTagHelper.cs │ ├── Controllers │ │ └── HomeController.cs │ ├── Models │ │ ├── HomeViewModel.cs │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Home │ │ │ └── Index.cshtml │ │ ├── Shared │ │ │ ├── Error.cshtml │ │ │ ├── _Layout.cshtml │ │ │ └── pv_UxDebug.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ └── wwwroot │ │ ├── Content │ │ ├── Fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── Images │ │ │ └── app-logo.png │ │ ├── Scripts │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery.min.js │ │ │ ├── starter-kit.js │ │ │ ├── tether.min.js │ │ │ ├── typeahead.bundle.min.js │ │ │ └── typeahead.container.js │ │ └── Styles │ │ │ ├── Site │ │ │ ├── bootstrap-extensions.css │ │ │ └── site.css │ │ │ ├── bootstrap.min.css │ │ │ ├── font-awesome.min.css │ │ │ └── typeahead.css │ │ └── favicon.ico └── TagHelpers │ ├── Application │ ├── ApplicationServiceBase.cs │ └── HomeService.cs │ ├── Ch06.TagHelpers.csproj │ ├── Common │ ├── EmailTagHelper.cs │ └── SelectTagHelper.cs │ ├── Controllers │ └── HomeController.cs │ ├── Models │ ├── HomeViewModel.cs │ ├── RoomViewModel.cs │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ ├── Home │ │ ├── Index.cshtml │ │ └── Room.cshtml │ ├── Shared │ │ ├── Error.cshtml │ │ └── _Layout.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml │ └── wwwroot │ ├── Content │ ├── Fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── Images │ │ └── app-logo.png │ ├── Scripts │ │ ├── bootstrap.min.js │ │ ├── jquery.min.js │ │ ├── starter-kit.js │ │ ├── tether.min.js │ │ ├── typeahead.bundle.min.js │ │ └── typeahead.container.js │ └── Styles │ │ ├── Site │ │ ├── bootstrap-extensions.css │ │ └── site.css │ │ ├── bootstrap.min.css │ │ ├── font-awesome.min.css │ │ └── typeahead.css │ └── favicon.ico ├── Ch07 ├── Config │ ├── Application │ │ ├── IRandomCustomerService.cs │ │ ├── Providers │ │ │ ├── MyDatabaseConfigProvider.cs │ │ │ └── MyDatabaseConfigSource.cs │ │ └── RandomCustomerService.cs │ ├── Ch07.Config.csproj │ ├── Controllers │ │ ├── ConfigController.cs │ │ ├── HomeController.cs │ │ ├── MonitorController.cs │ │ └── RandomController.cs │ ├── Models │ │ ├── GeneralSettings.cs │ │ └── ViewModelBase.cs │ ├── MyAppSettings.json │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ └── Views │ │ ├── Config │ │ └── Index.cshtml │ │ ├── Home │ │ └── Index.cshtml │ │ ├── Monitor │ │ └── Index.cshtml │ │ └── Shared │ │ ├── _Layout.cshtml │ │ ├── _ViewStart.cshtml │ │ └── error.cshtml ├── Encrypt │ ├── Backend │ │ ├── Customer.cs │ │ └── Repository.cs │ ├── Ch07.Encrypt.csproj │ ├── Controllers │ │ ├── HomeController.cs │ │ └── IndexViewModel.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Home │ │ │ └── Index.cshtml │ │ └── Shared │ │ │ ├── _Layout.cshtml │ │ │ ├── _ViewStart.cshtml │ │ │ └── error.cshtml │ └── sample.txt ├── Excep │ ├── Ch07.Except.csproj │ ├── Controllers │ │ ├── AppController.cs │ │ └── HomeController.cs │ ├── Models │ │ ├── ErrorViewModel.cs │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Home │ │ │ └── Index.cshtml │ │ └── Shared │ │ │ ├── _Layout.cshtml │ │ │ ├── _ViewStart.cshtml │ │ │ └── error.cshtml │ └── appsettings.json ├── HandleError.sln ├── HandleError │ ├── Controllers │ │ ├── AppController.cs │ │ └── HomeController.cs │ ├── HandleError.csproj │ ├── Models │ │ ├── ErrorViewModel.cs │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Home │ │ │ └── Index.cshtml │ │ └── Shared │ │ │ ├── _Layout.cshtml │ │ │ ├── _ViewStart.cshtml │ │ │ └── error.cshtml │ └── appsettings.json └── UserSecrets │ ├── Application │ ├── IMiscService.cs │ └── MiscService.cs │ ├── Ch07.UserSecrets.csproj │ ├── Common │ └── MyAppSecretConfig.cs │ ├── Controllers │ └── HomeController.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ └── Views │ ├── Home │ └── Index.cshtml │ └── Shared │ ├── _Layout.cshtml │ ├── _ViewStart.cshtml │ └── error.cshtml ├── Ch08 ├── Autho │ ├── Ch08.Autho.csproj │ ├── Controllers │ │ ├── AccountController.cs │ │ ├── HomeController.cs │ │ └── SecretController.cs │ ├── Models │ │ ├── IndexViewModel.cs │ │ ├── LoginViewModel.cs │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Account │ │ │ ├── Forbidden.cshtml │ │ │ └── Login.cshtml │ │ ├── Home │ │ │ └── Index.cshtml │ │ ├── Secret │ │ │ ├── Index.cshtml │ │ │ ├── admin1.cshtml │ │ │ └── guest1.cshtml │ │ ├── Shared │ │ │ ├── Error.cshtml │ │ │ └── _Layout.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ └── wwwroot │ │ └── Content │ │ ├── Fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ │ ├── Scripts │ │ ├── bootstrap.min.js │ │ ├── jquery.min.js │ │ └── tether.min.js │ │ └── Styles │ │ ├── Site │ │ └── site.css │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.xcss │ │ └── font-awesome.min.css └── Authorz │ ├── Ch08.Authorz.csproj │ ├── Common │ ├── GlobalConfig.cs │ ├── InitialsAuthorizationHandler.cs │ ├── InitialsRequirement.cs │ └── UserContainer.cs │ ├── Controllers │ ├── AccountController.cs │ ├── HomeController.cs │ ├── MyControllerBase.cs │ └── SecretController.cs │ ├── Models │ ├── IndexViewModel.cs │ ├── LoginViewModel.cs │ └── ViewModelBase.cs │ ├── MyAppSettings.json │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ ├── Account │ │ ├── Forbidden.cshtml │ │ └── Login.cshtml │ ├── Home │ │ └── Index.cshtml │ ├── Secret │ │ ├── Index.cshtml │ │ ├── admin1.cshtml │ │ ├── admin2.cshtml │ │ ├── guest1.cshtml │ │ └── guest2.cshtml │ ├── Shared │ │ └── _Layout.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml │ └── wwwroot │ └── Content │ ├── Fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── Scripts │ ├── bootstrap.min.js │ ├── jquery.min.js │ └── tether.min.js │ └── Styles │ ├── Site │ └── site.css │ ├── bootstrap.min.css │ ├── bootstrap.min.xcss │ └── font-awesome.min.css ├── Ch09 ├── AdoNet │ ├── Application │ │ ├── HomeService.cs │ │ └── SomeRepository.cs │ ├── Ch09.AdoNet.csproj │ ├── Common │ │ └── ConnectionStrings.cs │ ├── Controllers │ │ └── HomeController.cs │ ├── Models │ │ └── HomeViewModel.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ └── Views │ │ ├── Home │ │ └── Index.cshtml │ │ ├── Shared │ │ └── _Layout.cshtml │ │ └── _ViewStart.cshtml └── EfCore │ ├── Application │ ├── HomeService.cs │ └── RecordService.cs │ ├── Backend │ └── Persistence │ │ ├── DomainServices │ │ └── RecordRepository.cs │ │ ├── Model │ │ ├── Customer.cs │ │ └── EntityBase.cs │ │ └── YourDatabase.cs │ ├── Ch09.EfCore.csproj │ ├── Controllers │ ├── HomeController.cs │ └── RecordController.cs │ ├── Models │ ├── HomeViewModel.cs │ └── RecordVIewModel.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ └── Views │ ├── Home │ └── Index.cshtml │ ├── Record │ └── new.cshtml │ ├── Shared │ └── _Layout.cshtml │ └── _ViewStart.cshtml ├── Ch10 ├── MyClientApp │ ├── Ch10.MyClientApp.csproj │ └── Program.cs ├── MyIdentityServer │ ├── Ch10.MyIdentityServer.csproj │ ├── Common │ │ └── Config.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ └── tempkey.rsa ├── MySecuredAPI │ ├── Application │ │ ├── Formatters │ │ │ └── ForecastsXmlFormatter.cs │ │ └── WeatherService.cs │ ├── Ch10.MySecuredAPI.csproj │ ├── Common │ │ ├── WeatherApi.cs │ │ └── WeatherInfo.cs │ ├── Controllers │ │ └── WeatherController.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ └── wwwroot │ │ └── index.html └── SampleAPI │ ├── Application │ ├── Formatters │ │ └── ForecastsXmlFormatter.cs │ └── WeatherService.cs │ ├── Ch10.SampleApi.csproj │ ├── Common │ ├── Dto.cs │ ├── InternalDto.cs │ ├── News.cs │ ├── WeatherApi.cs │ └── WeatherInfo.cs │ ├── Controllers │ ├── ApiController.cs │ └── RestApiController.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── sample-1.pdf │ └── wwwroot │ └── index.html ├── Ch11 ├── LargeForms │ ├── Application │ │ └── HomeService.cs │ ├── Ch11.LargeForms.csproj │ ├── Controllers │ │ ├── DemoController.cs │ │ └── HomeController.cs │ ├── Models │ │ ├── CommandResponse.cs │ │ ├── HomeViewModel.cs │ │ ├── LargeFormInputModel.cs │ │ ├── Options.cs │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Demo │ │ │ ├── LargeForm.cshtml │ │ │ ├── multiple.cshtml │ │ │ ├── pv_lgform_emails.cshtml │ │ │ ├── pv_lgform_general.cshtml │ │ │ ├── pv_lgform_password.cshtml │ │ │ └── uploadForm.cshtml │ │ ├── Home │ │ │ └── Index.cshtml │ │ ├── Shared │ │ │ └── _Layout.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ ├── bundleconfig.json │ └── wwwroot │ │ └── Content │ │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ │ ├── images │ │ ├── dafc4c99f69d9f542734c451b6bc8ae0.ico.zip │ │ ├── favicon.png │ │ ├── flags │ │ │ ├── en-us.png │ │ │ └── it-it.png │ │ ├── ybq-xs.png │ │ └── ybq.png │ │ ├── scripts │ │ ├── bootstrap.min.js │ │ ├── jquery-3.1.1.min.js │ │ ├── site │ │ │ ├── ybq-core.js │ │ │ ├── ybq-core.min.js │ │ │ ├── ybq-core.min.js.map │ │ │ ├── ybq-coreinit.js │ │ │ ├── ybq-coreinit.min.js │ │ │ └── ybq-coreinit.min.js.map │ │ └── typeahead.bundle.min.js │ │ └── styles │ │ ├── bootstrap.min.css │ │ ├── font-awesome.min.css │ │ ├── site │ │ ├── ybqapp-login.css │ │ ├── ybqapp-login.min.css │ │ ├── ybqapp-site.css │ │ └── ybqapp-site.min.css │ │ ├── typeahead.css │ │ ├── typeahead.min.css │ │ ├── ybq-core.css │ │ └── ybq-core.min.css └── SimpleForms │ ├── Application │ └── HomeService.cs │ ├── Ch11.SimpleForms.csproj │ ├── Controllers │ ├── DemoController.cs │ └── HomeController.cs │ ├── Models │ ├── CommandResponse.cs │ ├── FormInputModel.cs │ ├── HomeViewModel.cs │ ├── Options.cs │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ ├── Demo │ │ ├── LargeForm.cshtml │ │ ├── multiple.cshtml │ │ ├── pv_lgform_emails.cshtml │ │ ├── pv_lgform_general.cshtml │ │ ├── pv_lgform_password.cshtml │ │ └── uploadForm.cshtml │ ├── Home │ │ └── Index.cshtml │ ├── Shared │ │ └── _Layout.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml │ ├── bundleconfig.json │ └── wwwroot │ └── Content │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── images │ ├── dafc4c99f69d9f542734c451b6bc8ae0.ico.zip │ ├── favicon.png │ ├── flags │ │ ├── en-us.png │ │ └── it-it.png │ ├── ybq-xs.png │ └── ybq.png │ ├── scripts │ ├── bootstrap.min.js │ ├── jquery-3.1.1.min.js │ ├── site │ │ ├── ybq-core.js │ │ ├── ybq-core.min.js │ │ ├── ybq-core.min.js.map │ │ ├── ybq-coreinit.js │ │ ├── ybq-coreinit.min.js │ │ └── ybq-coreinit.min.js.map │ └── typeahead.bundle.min.js │ └── styles │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ ├── site │ ├── ybqapp-login.css │ ├── ybqapp-login.min.css │ ├── ybqapp-site.css │ └── ybqapp-site.min.css │ ├── typeahead.css │ ├── typeahead.min.css │ ├── ybq-core.css │ └── ybq-core.min.css ├── Ch12 ├── DataBinding │ ├── Backend │ │ └── Countries │ │ │ ├── Capital.cs │ │ │ ├── Country.cs │ │ │ ├── CountryCodes.cs │ │ │ ├── CountryDetails.cs │ │ │ └── CountryRepository.cs │ ├── Ch12.DataBinding.csproj │ ├── Common │ │ ├── AjaxOnlyAttribute.cs │ │ ├── RequestExtensions.cs │ │ └── U.cs │ ├── Controllers │ │ └── HomeController.cs │ ├── Models │ │ ├── CountryViewModel.cs │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Home │ │ │ ├── Index.cshtml │ │ │ └── Ko.cshtml │ │ ├── Shared │ │ │ ├── _Layout.cshtml │ │ │ └── _pv_ListOfCountries.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ ├── bundleconfig.json │ └── wwwroot │ │ └── Content │ │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ │ ├── images │ │ ├── dafc4c99f69d9f542734c451b6bc8ae0.ico.zip │ │ ├── favicon.png │ │ ├── flags │ │ │ ├── en-us.png │ │ │ └── it-it.png │ │ ├── ybq-xs.png │ │ └── ybq.png │ │ ├── scripts │ │ ├── bootstrap.min.js │ │ ├── jquery-3.1.1.min.js │ │ ├── knockout.min.js │ │ ├── mustache.min.js │ │ ├── site │ │ │ ├── ybq-core.js │ │ │ ├── ybq-core.min.js │ │ │ ├── ybq-core.min.js.map │ │ │ ├── ybq-coreinit.js │ │ │ ├── ybq-coreinit.min.js │ │ │ └── ybq-coreinit.min.js.map │ │ └── typeahead.bundle.min.js │ │ └── styles │ │ ├── bootstrap.min.css │ │ ├── font-awesome.min.css │ │ ├── site │ │ ├── ybqapp-login.css │ │ ├── ybqapp-login.min.css │ │ ├── ybqapp-site.css │ │ └── ybqapp-site.min.css │ │ ├── typeahead.css │ │ ├── typeahead.min.css │ │ ├── ybq-core.css │ │ └── ybq-core.min.css └── PartialRendering │ ├── Application │ └── HomeService.cs │ ├── Backend │ ├── Customer.cs │ └── CustomerRepository.cs │ ├── Ch12.PartialRendering.csproj │ ├── Common │ ├── AjaxOnlyAttribute.cs │ ├── MultiplePartialViewResult.cs │ ├── RequestExtensions.cs │ ├── RequireReferrerAttribute.cs │ └── U.cs │ ├── Controllers │ └── HomeController.cs │ ├── Models │ ├── HomeViewModel.cs │ ├── IndexViewModel.cs │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ ├── Home │ │ └── Index.cshtml │ ├── Shared │ │ ├── _Layout.cshtml │ │ ├── _pv_ListOfCustomers.cshtml │ │ └── _pv_OnBehalfOfCustomers.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml │ ├── bundleconfig.json │ └── wwwroot │ └── Content │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── images │ ├── dafc4c99f69d9f542734c451b6bc8ae0.ico.zip │ ├── favicon.png │ ├── flags │ │ ├── en-us.png │ │ └── it-it.png │ ├── ybq-xs.png │ └── ybq.png │ ├── scripts │ ├── bootstrap.min.js │ ├── jquery-3.1.1.min.js │ ├── site │ │ ├── ybq-core.js │ │ ├── ybq-core.min.js │ │ ├── ybq-core.min.js.map │ │ ├── ybq-coreinit.js │ │ ├── ybq-coreinit.min.js │ │ └── ybq-coreinit.min.js.map │ └── typeahead.bundle.min.js │ └── styles │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ ├── site │ ├── ybqapp-login.css │ ├── ybqapp-login.min.css │ ├── ybqapp-site.css │ └── ybqapp-site.min.css │ ├── typeahead.css │ ├── typeahead.min.css │ ├── ybq-core.css │ └── ybq-core.min.css ├── Ch13 ├── DeviceFriendly │ ├── Ch13.DeviceFriendly.csproj │ ├── Controllers │ │ └── HomeController.cs │ ├── Models │ │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ │ ├── PublishProfiles │ │ │ └── FolderProfile.pubxml │ │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ │ ├── Home │ │ │ ├── Index.cshtml │ │ │ └── Pic.cshtml │ │ ├── Shared │ │ │ ├── _Layout.cshtml │ │ │ └── pv_UxDebug.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ └── wwwroot │ │ ├── Content │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── images │ │ │ ├── Smartphone.png │ │ │ ├── desktop.png │ │ │ ├── favicon.png │ │ │ ├── feature phone.png │ │ │ ├── other.png │ │ │ ├── poppies.jpg │ │ │ ├── poppies_md.jpg │ │ │ ├── poppies_xs.jpg │ │ │ ├── qr-datepicking.jpg │ │ │ ├── qr-device.jpg │ │ │ ├── qr-geo.jpg │ │ │ ├── qr-images.jpg │ │ │ ├── qr-input.jpg │ │ │ ├── smart-tv.png │ │ │ └── tablet.png │ │ ├── scripts │ │ │ ├── bootstrap-datepicker.min.js │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery-3.1.1.min.js │ │ │ ├── knockout.min.js │ │ │ ├── mustache.min.js │ │ │ ├── site │ │ │ │ ├── ybq-core.js │ │ │ │ ├── ybq-core.min.js │ │ │ │ ├── ybq-core.min.js.map │ │ │ │ ├── ybq-coreinit.js │ │ │ │ ├── ybq-coreinit.min.js │ │ │ │ └── ybq-coreinit.min.js.map │ │ │ └── typeahead.bundle.min.js │ │ └── styles │ │ │ ├── bootstrap-datepicker.min.css │ │ │ ├── bootstrap.min.css │ │ │ ├── font-awesome.min.css │ │ │ ├── site │ │ │ ├── ybqapp-login.css │ │ │ ├── ybqapp-login.min.css │ │ │ ├── ybqapp-site.css │ │ │ └── ybqapp-site.min.css │ │ │ ├── typeahead.css │ │ │ ├── typeahead.min.css │ │ │ ├── ybq-core.css │ │ │ └── ybq-core.min.css │ │ ├── datepicking.html │ │ ├── device.html │ │ ├── geo.html │ │ ├── images.html │ │ └── input.html └── RoutingViews │ ├── Ch13.RoutingViews.csproj │ ├── Controllers │ ├── HomeController.cs │ └── ScreenController.cs │ ├── Models │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── Views │ ├── Home │ │ └── Index.cshtml │ ├── Screen │ │ ├── default.cshtml │ │ ├── smartphone.cshtml │ │ └── tablet.cshtml │ ├── Shared │ │ ├── _Layout.cshtml │ │ └── pv_UxDebug.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml │ └── wwwroot │ ├── Content │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── images │ │ └── favicon.png │ ├── scripts │ │ ├── bootstrap.min.js │ │ ├── jquery-3.1.1.min.js │ │ └── site │ │ │ ├── ybq-core.js │ │ │ ├── ybq-core.min.js │ │ │ ├── ybq-core.min.js.map │ │ │ ├── ybq-coreinit.js │ │ │ ├── ybq-coreinit.min.js │ │ │ └── ybq-coreinit.min.js.map │ └── styles │ │ ├── bootstrap-datepicker.min.css │ │ ├── bootstrap.min.css │ │ ├── font-awesome.min.css │ │ ├── site │ │ ├── ybqapp-login.css │ │ ├── ybqapp-login.min.css │ │ ├── ybqapp-site.css │ │ └── ybqapp-site.min.css │ │ ├── ybq-core.css │ │ └── ybq-core.min.css │ └── Multi.html ├── Ch14 ├── Builder │ ├── Ch14.Builder.csproj │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── Startup.cs ├── Middleware │ ├── Ch14.Middleware.csproj │ ├── Common │ │ ├── Components │ │ │ ├── MobileDetectionHelpers.cs │ │ │ ├── MobileDetectionMiddleware.cs │ │ │ └── MobileDetectionMiddlewareExtensions.cs │ │ └── SomeWork.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── Startup.cs ├── Response │ ├── Ch14.Response.csproj │ ├── Common │ │ └── SomeWork.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── Startup.cs └── StartHost │ ├── Ch14.StartHost.csproj │ ├── Program.cs │ └── Properties │ └── launchSettings.json ├── Ch15 ├── SimplePage │ ├── .vscode │ │ ├── launch.json │ │ └── tasks.json │ ├── Ch15.SimplePage.csproj │ ├── Pages │ │ ├── Cover.cshtml │ │ ├── Index.cshtml │ │ ├── Index.cshtml.cs │ │ ├── _Layout.cshtml │ │ ├── _ViewImports.cshtml │ │ ├── _ViewStart.cshtml │ │ └── pv_UxDebug.cshtml │ ├── Program.cs │ ├── Properties │ │ ├── PublishProfiles │ │ │ ├── FolderProfile.pubxml │ │ │ └── ProgCore-Book - Web Deploy.pubxml │ │ └── launchSettings.json │ ├── Startup.cs │ └── wwwroot │ │ └── Content │ │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ │ ├── images │ │ ├── favicon.png │ │ └── progcore.jpg │ │ ├── scripts │ │ ├── bootstrap.min.js │ │ ├── jquery-3.1.1.min.js │ │ └── site │ │ │ ├── ybq-core.js │ │ │ ├── ybq-core.min.js │ │ │ ├── ybq-core.min.js.map │ │ │ ├── ybq-coreinit.js │ │ │ ├── ybq-coreinit.min.js │ │ │ └── ybq-coreinit.min.js.map │ │ └── styles │ │ ├── bootstrap-datepicker.min.css │ │ ├── bootstrap.min.css │ │ ├── font-awesome.min.css │ │ ├── site │ │ ├── ybqapp-login.css │ │ ├── ybqapp-login.min.css │ │ ├── ybqapp-site.css │ │ └── ybqapp-site.min.css │ │ ├── ybq-core.css │ │ └── ybq-core.min.css ├── SimplePageDocker │ ├── Ch15.SimplePageDocker │ │ ├── .dockerignore │ │ ├── Ch15.SimplePageDocker.csproj │ │ ├── Dockerfile │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ └── Startup.cs │ ├── docker-compose.ci.build.yml │ ├── docker-compose.dcproj │ ├── docker-compose.override.yml │ └── docker-compose.yml └── SimplePageScm │ ├── Ch15.SimplePageScm.csproj │ ├── Pages │ ├── Cover.cshtml │ ├── Index.cshtml │ ├── Index.cshtml.cs │ ├── _Layout.cshtml │ ├── _ViewImports.cshtml │ ├── _ViewStart.cshtml │ └── pv_UxDebug.cshtml │ ├── Program.cs │ ├── Properties │ ├── PublishProfiles │ │ └── FolderProfile.pubxml │ └── launchSettings.json │ ├── Startup.cs │ └── wwwroot │ └── Content │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── images │ ├── favicon.png │ └── progcore.jpg │ ├── scripts │ ├── bootstrap.min.js │ ├── jquery-3.1.1.min.js │ └── site │ │ ├── ybq-core.js │ │ ├── ybq-core.min.js │ │ ├── ybq-core.min.js.map │ │ ├── ybq-coreinit.js │ │ ├── ybq-coreinit.min.js │ │ └── ybq-coreinit.min.js.map │ └── styles │ ├── bootstrap-datepicker.min.css │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ ├── site │ ├── ybqapp-login.css │ ├── ybqapp-login.min.css │ ├── ybqapp-site.css │ └── ybqapp-site.min.css │ ├── ybq-core.css │ └── ybq-core.min.css └── Extras ├── Blazor Demos ├── 0.4.0 │ ├── Blazor04 │ │ ├── Blazor04.sln │ │ └── Blazor04 │ │ │ ├── App.cshtml │ │ │ ├── Blazor04.csproj │ │ │ ├── Pages │ │ │ ├── DigitalClock.cshtml │ │ │ ├── Index.cshtml │ │ │ └── _ViewImports.cshtml │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ └── launchSettings.json │ │ │ ├── Shared │ │ │ └── MainLayout.cshtml │ │ │ ├── _ViewImports.cshtml │ │ │ ├── global.json │ │ │ └── wwwroot │ │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap.min.css.map │ │ │ └── digitalclock.css │ │ │ ├── images │ │ │ └── loading.gif │ │ │ ├── index.html │ │ │ └── js │ │ │ ├── bootstrap.bundle.min.js │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ └── jquery-3.1.1.min.js │ ├── CountryFinder04 │ │ ├── CountryFinder.Client │ │ │ ├── App.cshtml │ │ │ ├── CountryFinder.Client.csproj │ │ │ ├── Pages │ │ │ │ ├── Counter.cshtml │ │ │ │ ├── FetchData.cshtml │ │ │ │ ├── Index.cshtml │ │ │ │ └── _ViewImports.cshtml │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ ├── Shared │ │ │ │ ├── CountrySelector.cshtml │ │ │ │ ├── MainLayout.cshtml │ │ │ │ ├── SurveyPrompt.cshtml │ │ │ │ └── UxDebug.cshtml │ │ │ ├── _ViewImports.cshtml │ │ │ └── wwwroot │ │ │ │ ├── css │ │ │ │ ├── bootstrap.min.css │ │ │ │ ├── bootstrap.min.css.map │ │ │ │ ├── font-awesome.min.css │ │ │ │ ├── local.css │ │ │ │ └── typeahead.min.css │ │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ ├── images │ │ │ │ ├── favicon.png │ │ │ │ └── loading.gif │ │ │ │ ├── index.html │ │ │ │ └── js │ │ │ │ ├── bootstrap.bundle.min.js │ │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ │ ├── interop-uxdebug.js │ │ │ │ ├── jquery-3.1.1.min.js │ │ │ │ └── uxdebug.js │ │ ├── CountryFinder.Server │ │ │ ├── Controllers │ │ │ │ └── CountryController.cs │ │ │ ├── CountryFinder.Server.csproj │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ └── Startup.cs │ │ ├── CountryFinder.Shared │ │ │ ├── CountryFinder.Shared.csproj │ │ │ └── WeatherForecast.cs │ │ ├── CountryFinder.sln │ │ ├── global.json │ │ └── xxx │ │ │ ├── Component1.cshtml │ │ │ ├── ExampleJsInterop.cs │ │ │ ├── content │ │ │ ├── background.png │ │ │ ├── exampleJsInterop.js │ │ │ └── styles.css │ │ │ └── xxx.csproj │ ├── FlightFinder04 │ │ ├── FlightFinder.Client │ │ │ ├── Components │ │ │ │ ├── AirportsList.cshtml │ │ │ │ ├── GreyOutZone.cshtml │ │ │ │ ├── Search.cshtml │ │ │ │ ├── SearchResultFlightSegment.cshtml │ │ │ │ ├── SearchResults.cshtml │ │ │ │ ├── Shortlist.cshtml │ │ │ │ └── ShortlistFlightSegment.cshtml │ │ │ ├── FlightFinder.Client.csproj │ │ │ ├── Main.cshtml │ │ │ ├── Program.cs │ │ │ ├── Services │ │ │ │ └── AppState.cs │ │ │ ├── _ViewImports.cshtml │ │ │ └── wwwroot │ │ │ │ ├── css │ │ │ │ ├── bootstrap │ │ │ │ │ └── bootstrap.min.css │ │ │ │ ├── site.css │ │ │ │ └── site.scss │ │ │ │ └── index.html │ │ ├── FlightFinder.Server │ │ │ ├── Controllers │ │ │ │ ├── AirportsController.cs │ │ │ │ └── FlightSearchController.cs │ │ │ ├── FlightFinder.Server.csproj │ │ │ ├── Program.cs │ │ │ ├── SampleData.cs │ │ │ └── Startup.cs │ │ ├── FlightFinder.Shared │ │ │ ├── Airport.cs │ │ │ ├── FlightFinder.Shared.csproj │ │ │ ├── FlightSegment.cs │ │ │ ├── Itinerary.cs │ │ │ ├── SearchCriteria.cs │ │ │ └── TicketClass.cs │ │ └── FlightFinder.sln │ └── samples-master.zip ├── 0.5.0 │ ├── Blazor05 │ │ ├── Blazor05.sln │ │ └── Blazor05 │ │ │ ├── App.cshtml │ │ │ ├── Blazor05.csproj │ │ │ ├── Pages │ │ │ ├── DigitalClock.cshtml │ │ │ ├── Index.cshtml │ │ │ └── _ViewImports.cshtml │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ └── launchSettings.json │ │ │ ├── Shared │ │ │ └── MainLayout.cshtml │ │ │ ├── Startup.cs │ │ │ ├── _ViewImports.cshtml │ │ │ ├── global.json │ │ │ └── wwwroot │ │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap.min.css.map │ │ │ └── digitalclock.css │ │ │ ├── images │ │ │ └── loading.gif │ │ │ ├── index.html │ │ │ └── js │ │ │ ├── bootstrap.bundle.min.js │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ └── jquery-3.1.1.min.js │ └── CountryFinder05 │ │ ├── CountryFinder05.Client │ │ ├── CountryFinder05.Client.csproj │ │ ├── MyApp.cshtml │ │ ├── Pages │ │ │ ├── FetchData.cshtml │ │ │ ├── Index.cshtml │ │ │ ├── JsType.cshtml │ │ │ └── _ViewImports.cshtml │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── Shared │ │ │ ├── CountryGrid.cshtml │ │ │ ├── CountrySelector.cshtml │ │ │ ├── MainLayout.cshtml │ │ │ ├── TypeAhead.cshtml │ │ │ └── UxDebug.cshtml │ │ ├── Startup.cs │ │ ├── _ViewImports.cshtml │ │ ├── bundleconfig.json │ │ └── wwwroot │ │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap.min.css.map │ │ │ ├── font-awesome.min.css │ │ │ ├── local.css │ │ │ ├── typeahead.css │ │ │ └── typeahead.min.css │ │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── images │ │ │ ├── favicon.png │ │ │ └── loading.gif │ │ │ ├── index.html │ │ │ └── js │ │ │ ├── bootstrap.bundle.min.js │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ ├── interop.js │ │ │ ├── jquery-3.1.1.min.js │ │ │ ├── ta.js │ │ │ ├── typeahead.bundle.min.js │ │ │ ├── typeahead.container.js │ │ │ ├── typeahead.container.min.js │ │ │ └── uxdebug.js │ │ ├── CountryFinder05.Server │ │ ├── Application │ │ │ └── CountryService.cs │ │ ├── Backend │ │ │ └── Persistence │ │ │ │ ├── Countries.json │ │ │ │ └── CountryRepository.cs │ │ ├── Common │ │ │ ├── AutoCompleteItem.cs │ │ │ └── MiscExtensions.cs │ │ ├── Controllers │ │ │ ├── CountryController.cs │ │ │ └── HintController.cs │ │ ├── CountryFinder05.Server.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ └── Startup.cs │ │ ├── CountryFinder05.Shared │ │ ├── CountryFinder05.Shared.csproj │ │ ├── Model │ │ │ ├── Continent.cs │ │ │ ├── Country.Html.cs │ │ │ └── Country.cs │ │ └── TypeAheadItem.cs │ │ ├── CountryFinder05.sln │ │ └── global.json ├── 0.6.0 │ ├── Blazor001 │ │ ├── Blazor001.sln │ │ └── Blazor001 │ │ │ ├── App.cshtml │ │ │ ├── Blazor001.csproj │ │ │ ├── Pages │ │ │ ├── Counter.cshtml │ │ │ ├── FetchData.cshtml │ │ │ ├── Index.cshtml │ │ │ └── _ViewImports.cshtml │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ └── launchSettings.json │ │ │ ├── Shared │ │ │ ├── MainLayout.cshtml │ │ │ ├── NavMenu.cshtml │ │ │ └── SurveyPrompt.cshtml │ │ │ ├── Startup.cs │ │ │ ├── _ViewImports.cshtml │ │ │ └── wwwroot │ │ │ ├── css │ │ │ ├── bootstrap │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.css.map │ │ │ ├── open-iconic │ │ │ │ ├── FONT-LICENSE │ │ │ │ ├── ICON-LICENSE │ │ │ │ ├── README.md │ │ │ │ └── font │ │ │ │ │ ├── css │ │ │ │ │ └── open-iconic-bootstrap.min.css │ │ │ │ │ └── fonts │ │ │ │ │ ├── open-iconic.eot │ │ │ │ │ ├── open-iconic.otf │ │ │ │ │ ├── open-iconic.svg │ │ │ │ │ ├── open-iconic.ttf │ │ │ │ │ └── open-iconic.woff │ │ │ └── site.css │ │ │ ├── index.html │ │ │ └── sample-data │ │ │ └── weather.json │ ├── CountryFinder │ │ ├── CountryFinder.Client │ │ │ ├── App.cshtml │ │ │ ├── CountryFinder.Client.csproj │ │ │ ├── Pages │ │ │ │ ├── Counter.cshtml │ │ │ │ ├── DataBind.cshtml │ │ │ │ ├── DatePicker.cshtml │ │ │ │ ├── FetchData.cshtml │ │ │ │ ├── FetchData1.cshtml │ │ │ │ ├── Index.cshtml │ │ │ │ ├── JsType.cshtml │ │ │ │ ├── Paging.cshtml │ │ │ │ └── _ViewImports.cshtml │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ ├── Shared │ │ │ │ ├── CountryGrid.cshtml │ │ │ │ ├── CountrySelector.cshtml │ │ │ │ ├── DataGrid.cshtml │ │ │ │ ├── DataSource.cshtml │ │ │ │ ├── MainLayout.cshtml │ │ │ │ ├── NavMenu.cshtml │ │ │ │ ├── NavMenu1.cshtml │ │ │ │ ├── TypeAhead.cshtml │ │ │ │ ├── TypeAhead1.cshtml │ │ │ │ └── UxDebug.cshtml │ │ │ ├── Startup.cs │ │ │ ├── _ViewImports.cshtml │ │ │ └── wwwroot │ │ │ │ ├── css │ │ │ │ ├── bootstrap-datepicker.min.css │ │ │ │ ├── bootstrap.min.css │ │ │ │ ├── bootstrap.min.css.map │ │ │ │ ├── font-awesome.min.css │ │ │ │ ├── local.css │ │ │ │ ├── typeahead.css │ │ │ │ └── typeahead.min.css │ │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ ├── images │ │ │ │ ├── favicon.png │ │ │ │ └── loading.gif │ │ │ │ ├── index.html │ │ │ │ └── js │ │ │ │ ├── bootstrap-datepicker.min.js │ │ │ │ ├── bootstrap.bundle.min.js │ │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ │ ├── interop.js │ │ │ │ ├── jquery-3.1.1.min.js │ │ │ │ ├── ta.js │ │ │ │ ├── typeahead.bundle.min.js │ │ │ │ ├── typeahead.container.js │ │ │ │ ├── typeahead.container.min.js │ │ │ │ └── uxdebug.js │ │ ├── CountryFinder.Server │ │ │ ├── Application │ │ │ │ └── CountryService.cs │ │ │ ├── Backend │ │ │ │ └── Persistence │ │ │ │ │ ├── Countries.json │ │ │ │ │ └── CountryRepository.cs │ │ │ ├── Common │ │ │ │ ├── AutoCompleteItem.cs │ │ │ │ ├── MenuItem.cs │ │ │ │ └── MiscExtensions.cs │ │ │ ├── Controllers │ │ │ │ ├── CountryController.cs │ │ │ │ ├── HintController.cs │ │ │ │ └── WeatherController.cs │ │ │ ├── CountryFinder.Server.csproj │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ └── Startup.cs │ │ ├── CountryFinder.Shared │ │ │ ├── CountryFinder.Shared.csproj │ │ │ ├── FooterSettings.cs │ │ │ ├── MenuItem.cs │ │ │ ├── Model │ │ │ │ ├── Continent.cs │ │ │ │ ├── Country.Html.cs │ │ │ │ └── Country.cs │ │ │ ├── PagingHelper.cs │ │ │ ├── TypeAheadItem.cs │ │ │ └── WeatherForecast.cs │ │ └── CountryFinder.sln │ └── StdServer │ │ ├── StdServer.App │ │ ├── App.cshtml │ │ ├── Pages │ │ │ ├── Counter.cshtml │ │ │ ├── FetchData.cshtml │ │ │ ├── Index.cshtml │ │ │ └── _ViewImports.cshtml │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── Services │ │ │ ├── WeatherForecast.cs │ │ │ └── WeatherForecastService.cs │ │ ├── Shared │ │ │ ├── MainLayout.cshtml │ │ │ ├── NavMenu.cshtml │ │ │ └── SurveyPrompt.cshtml │ │ ├── Startup.cs │ │ ├── StdServer.App.csproj │ │ ├── _ViewImports.cshtml │ │ └── wwwroot │ │ │ ├── css │ │ │ ├── bootstrap │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.css.map │ │ │ ├── open-iconic │ │ │ │ ├── FONT-LICENSE │ │ │ │ ├── ICON-LICENSE │ │ │ │ ├── README.md │ │ │ │ └── font │ │ │ │ │ ├── css │ │ │ │ │ └── open-iconic-bootstrap.min.css │ │ │ │ │ └── fonts │ │ │ │ │ ├── open-iconic.eot │ │ │ │ │ ├── open-iconic.otf │ │ │ │ │ ├── open-iconic.svg │ │ │ │ │ ├── open-iconic.ttf │ │ │ │ │ └── open-iconic.woff │ │ │ └── site.css │ │ │ └── index.html │ │ ├── StdServer.Server │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── Startup.cs │ │ └── StdServer.Server.csproj │ │ └── StdServer.sln └── 0.7.0 │ └── Forms │ ├── Forms.App │ ├── App.cshtml │ ├── Common │ │ └── ModalContext.cs │ ├── Forms.App.csproj │ ├── Pages │ │ ├── Cascade.cshtml │ │ ├── Counter.cshtml │ │ ├── Index.cshtml │ │ ├── RegisterUser.cshtml │ │ └── _ViewImports.cshtml │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Shared │ │ ├── Content.cshtml │ │ ├── MainLayout.cshtml │ │ ├── Modal.cshtml │ │ ├── NavMenu.cshtml │ │ └── Toggle.cshtml │ ├── Startup.cs │ ├── _ViewImports.cshtml │ └── wwwroot │ │ ├── css │ │ ├── bootstrap │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ ├── login.css │ │ ├── open-iconic │ │ │ ├── FONT-LICENSE │ │ │ ├── ICON-LICENSE │ │ │ ├── README.md │ │ │ └── font │ │ │ │ ├── css │ │ │ │ └── open-iconic-bootstrap.min.css │ │ │ │ └── fonts │ │ │ │ ├── open-iconic.eot │ │ │ │ ├── open-iconic.otf │ │ │ │ ├── open-iconic.svg │ │ │ │ ├── open-iconic.ttf │ │ │ │ └── open-iconic.woff │ │ └── site.css │ │ ├── index.html │ │ └── js │ │ ├── bootstrap.bundle.min.js │ │ └── jquery-3.1.1.min.js │ ├── Forms.Server │ ├── Application │ │ └── WeatherService.cs │ ├── Controllers │ │ ├── AccountController.cs │ │ └── WeatherController.cs │ ├── Forms.Server.csproj │ ├── Pages │ │ └── _ViewImports.cshtml │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ └── wwwroot │ │ └── css │ │ ├── bootstrap │ │ ├── bootstrap.min.css │ │ └── bootstrap.min.css.map │ │ ├── login.css │ │ ├── open-iconic │ │ ├── FONT-LICENSE │ │ ├── ICON-LICENSE │ │ ├── README.md │ │ └── font │ │ │ ├── css │ │ │ └── open-iconic-bootstrap.min.css │ │ │ └── fonts │ │ │ ├── open-iconic.eot │ │ │ ├── open-iconic.otf │ │ │ ├── open-iconic.svg │ │ │ ├── open-iconic.ttf │ │ │ └── open-iconic.woff │ │ └── site.css │ ├── Forms.Shared │ ├── CommandResponse.cs │ ├── Forms.Shared.csproj │ ├── RegisterUserViewModel.cs │ └── WeatherForecast.cs │ └── Forms.sln ├── Bootstrap4 ├── Application │ └── CountryService.cs ├── Backend │ ├── Countries.json │ ├── Country.cs │ └── CountryRepository.cs ├── Bs4.csproj ├── Bs4.sln ├── Common │ └── Paginator.cs ├── Controllers │ ├── CountryController.cs │ ├── DemoController.cs │ └── HomeController.cs ├── Models │ └── ViewModelBase.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── Startup.cs ├── Stuff │ ├── Bootstrap4 │ │ ├── bootstrap-4.1.1-dist.zip │ │ ├── css │ │ │ ├── bootstrap-grid.css │ │ │ ├── bootstrap-grid.css.map │ │ │ ├── bootstrap-grid.min.css │ │ │ ├── bootstrap-grid.min.css.map │ │ │ ├── bootstrap-reboot.css │ │ │ ├── bootstrap-reboot.css.map │ │ │ ├── bootstrap-reboot.min.css │ │ │ ├── bootstrap-reboot.min.css.map │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ └── js │ │ │ ├── bootstrap.bundle.js │ │ │ ├── bootstrap.bundle.js.map │ │ │ ├── bootstrap.bundle.min.js │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.js.map │ │ │ ├── bootstrap.min.js │ │ │ └── bootstrap.min.js.map │ └── DataTables-1.10.18 │ │ ├── DataTables.zip │ │ ├── css │ │ ├── dataTables.bootstrap.css │ │ ├── dataTables.bootstrap.min.css │ │ ├── dataTables.bootstrap4.css │ │ ├── dataTables.bootstrap4.min.css │ │ ├── dataTables.foundation.css │ │ ├── dataTables.foundation.min.css │ │ ├── dataTables.jqueryui.css │ │ ├── dataTables.jqueryui.min.css │ │ ├── dataTables.semanticui.css │ │ ├── dataTables.semanticui.min.css │ │ ├── jquery.dataTables.css │ │ └── jquery.dataTables.min.css │ │ ├── datatables.css │ │ ├── datatables.js │ │ ├── datatables.min.css │ │ ├── datatables.min.js │ │ ├── images │ │ ├── sort_asc.png │ │ ├── sort_asc_disabled.png │ │ ├── sort_both.png │ │ ├── sort_desc.png │ │ └── sort_desc_disabled.png │ │ └── js │ │ ├── dataTables.bootstrap.js │ │ ├── dataTables.bootstrap.min.js │ │ ├── dataTables.bootstrap4.js │ │ ├── dataTables.bootstrap4.min.js │ │ ├── dataTables.foundation.js │ │ ├── dataTables.foundation.min.js │ │ ├── dataTables.jqueryui.js │ │ ├── dataTables.jqueryui.min.js │ │ ├── dataTables.semanticui.js │ │ ├── dataTables.semanticui.min.js │ │ ├── jquery.dataTables.js │ │ └── jquery.dataTables.min.js ├── Views │ ├── Demo │ │ ├── card.cshtml │ │ ├── datatable.cshtml │ │ ├── file.cshtml │ │ ├── form1.cshtml │ │ ├── form2.cshtml │ │ ├── form3.cshtml │ │ ├── media.cshtml │ │ ├── modal.cshtml │ │ ├── sidebar.cshtml │ │ └── updater.cshtml │ ├── Home │ │ └── Index.cshtml │ ├── Shared │ │ ├── _Layout.cshtml │ │ ├── pv_ListOfCustomers.cshtml │ │ ├── pv_OnBehalfOfCustomers.cshtml │ │ ├── pv_UxDebug.cshtml │ │ ├── pv_country_grid.cshtml │ │ ├── pv_defaultFilter.cshtml │ │ └── pv_defaultPager.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml ├── bundleconfig.json └── wwwroot │ ├── Content │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── images │ │ ├── dino-ps-sm.jpg │ │ ├── eveningsea.JPG │ │ ├── favicon.png │ │ ├── flags │ │ │ ├── en-us.png │ │ │ └── it-it.png │ │ ├── loading.gif │ │ ├── poppies-xs.jpg │ │ ├── poppies.jpg │ │ ├── tracks.jpg │ │ ├── ybq-xs.png │ │ └── ybq.png │ ├── scripts │ │ ├── bootstrap.bundle.min.js │ │ ├── bootstrap.bundle.min.js.map │ │ ├── datatables.min.js │ │ ├── jquery-3.1.1.min.js │ │ └── site │ │ │ ├── ybq-core-bs4.js │ │ │ ├── ybq-core-bs4.min.js │ │ │ ├── ybq-core-bs4.min.js.map │ │ │ ├── ybq-forms-bs4.js │ │ │ ├── ybq-init-bs4.js │ │ │ ├── ybq-init-bs4.min.js │ │ │ └── ybq-init-bs4.min.js.map │ └── styles │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.css.map │ │ ├── datatables.css │ │ ├── datatables.min.css │ │ ├── font-awesome.min.css │ │ ├── site │ │ ├── ybqapp-login.css │ │ ├── ybqapp-login.min.css │ │ ├── ybqapp-site.css │ │ └── ybqapp-site.min.css │ │ ├── sticky-footer.css │ │ ├── typeahead.css │ │ ├── typeahead.min.css │ │ ├── ybq-core.css │ │ ├── ybq-core.min.css │ │ ├── ybq-forms.css │ │ └── ybq-forms.min.css │ └── test.html ├── SignalAzure ├── SignalAzure.sln └── SignalAzure │ ├── Application │ └── UserCountHub.cs │ ├── Controllers │ └── HomeController.cs │ ├── Models │ └── ViewModelBase.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── SignalAzure.csproj │ ├── Startup.cs │ ├── Views │ ├── Home │ │ └── Index.cshtml │ ├── Shared │ │ └── _Layout.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml │ ├── package-lock.json │ └── wwwroot │ └── Content │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── images │ ├── dafc4c99f69d9f542734c451b6bc8ae0.ico.zip │ ├── favicon.png │ ├── flags │ │ ├── en-us.png │ │ └── it-it.png │ ├── ybq-xs.png │ └── ybq.png │ ├── scripts │ ├── bootstrap.min.js │ ├── jquery-3.1.1.min.js │ ├── signalr.min.js │ └── site │ │ ├── ybq-core.js │ │ ├── ybq-core.min.js │ │ ├── ybq-core.min.js.map │ │ ├── ybq-coreinit.js │ │ ├── ybq-coreinit.min.js │ │ └── ybq-coreinit.min.js.map │ └── styles │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ ├── site │ ├── ybqapp-login.css │ ├── ybqapp-login.min.css │ ├── ybqapp-site.css │ └── ybqapp-site.min.css │ ├── typeahead.css │ ├── typeahead.min.css │ ├── ybq-core.css │ └── ybq-core.min.css ├── SignalFriend ├── Application │ ├── BackendService.cs │ ├── FriendHub.cs │ └── MyUserIdProvider.cs ├── Backend │ ├── Model │ │ ├── FriendRelationship.cs │ │ └── User.cs │ └── UserRepository.cs ├── Controllers │ ├── AccountController.cs │ ├── FriendController.cs │ └── HomeController.cs ├── Models │ ├── IndexViewModel.cs │ ├── LoginViewModel.cs │ └── ViewModelBase.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── SignalFriend.csproj ├── SignalFriend.sln ├── Startup.cs ├── Views │ ├── Account │ │ └── Login.cshtml │ ├── Friend │ │ └── Index.cshtml │ ├── Home │ │ └── Index.cshtml │ ├── Shared │ │ ├── _Layout.cshtml │ │ └── pv_ListOfFriends.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml └── wwwroot │ └── Content │ ├── Fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── Scripts │ ├── bootstrap.min.js │ ├── jquery.min.js │ ├── signalr.min.js │ ├── signalr.min.js.map │ ├── tether.min.js │ ├── ybq-core.min.js │ └── ybq-core.min.js.map │ └── Styles │ ├── Site │ └── site.css │ ├── bootstrap.min.css │ ├── bootstrap.min.xcss │ └── font-awesome.min.css ├── SignalR1 ├── Application │ ├── ClockHub.cs │ ├── ClockService.cs │ ├── ObservableExtensions.cs │ ├── ProgressHub.cs │ └── UpdaterHub.cs ├── Controllers │ ├── Backend │ │ ├── Customer.cs │ │ └── CustomerRepository.cs │ ├── ClockController.cs │ ├── DemoController.cs │ ├── HomeController.cs │ └── TaskController.cs ├── Models │ ├── CustomersViewModel.cs │ └── ViewModelBase.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── SignalR1.csproj ├── SignalR1.sln ├── Startup.cs ├── Views │ ├── Demo │ │ ├── clock.cshtml │ │ ├── progress.cshtml │ │ ├── socket.cshtml │ │ └── updater.cshtml │ ├── Home │ │ └── Index.cshtml │ ├── Shared │ │ ├── _Layout.cshtml │ │ ├── pv_ListOfCustomers.cshtml │ │ └── pv_OnBehalfOfCustomers.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml ├── package-lock.json └── wwwroot │ └── Content │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── images │ ├── dafc4c99f69d9f542734c451b6bc8ae0.ico.zip │ ├── favicon.png │ ├── flags │ │ ├── en-us.png │ │ └── it-it.png │ ├── ybq-xs.png │ └── ybq.png │ ├── scripts │ ├── bootstrap.min.js │ ├── jquery-3.1.1.min.js │ ├── signalr.js │ ├── signalr.js.map │ ├── signalr.min.js │ ├── signalr.min.js.map │ └── site │ │ ├── ybq-core.js │ │ ├── ybq-core.min.js │ │ ├── ybq-core.min.js.map │ │ ├── ybq-coreinit.js │ │ ├── ybq-coreinit.min.js │ │ └── ybq-coreinit.min.js.map │ └── styles │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ ├── site │ ├── ybqapp-login.css │ ├── ybqapp-login.min.css │ ├── ybqapp-site.css │ └── ybqapp-site.min.css │ ├── typeahead.css │ ├── typeahead.min.css │ ├── ybq-core.css │ └── ybq-core.min.css ├── SignalRWinForm └── WindCli │ ├── App.config │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings │ ├── WindCli.csproj │ ├── WindCli.sln │ └── packages.config └── WebSock ├── WebSock.sln └── WebSock ├── Common └── ChatRoomMiddleware.cs ├── Controllers └── HomeController.cs ├── Models └── ViewModelBase.cs ├── Program.cs ├── Properties └── launchSettings.json ├── Startup.cs ├── Views ├── Home │ ├── chatroom.cshtml │ └── index.cshtml ├── Shared │ └── _Layout.cshtml ├── _ViewImports.cshtml └── _ViewStart.cshtml ├── WebSock.csproj └── wwwroot └── Content ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff └── fontawesome-webfont.woff2 ├── images ├── dafc4c99f69d9f542734c451b6bc8ae0.ico.zip ├── favicon.png ├── flags │ ├── en-us.png │ └── it-it.png ├── ybq-xs.png └── ybq.png ├── scripts ├── bootstrap.min.js ├── jquery-3.1.1.min.js ├── signalr.min.js └── site │ ├── ybq-core.js │ ├── ybq-core.min.js │ ├── ybq-core.min.js.map │ ├── ybq-coreinit.js │ ├── ybq-coreinit.min.js │ └── ybq-coreinit.min.js.map └── styles ├── bootstrap.min.css ├── font-awesome.min.css ├── site ├── ybqapp-login.css ├── ybqapp-login.min.css ├── ybqapp-site.css └── ybqapp-site.min.css ├── typeahead.css ├── typeahead.min.css ├── ybq-core.css └── ybq-core.min.css /Src/Ch01/HelloWorldConsole/Ch01.HelloWorldConsole.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.0 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Src/Ch01/HelloWorldWeb/Ch01.HelloWorldWeb.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch02/Echo/Ch02.Echo.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch02/Environments/Ch02.Environments.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch02/FileServer/Assets/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch02/FileServer/Assets/test.jpg -------------------------------------------------------------------------------- /Src/Ch02/FileServer/Ch02.FileServer.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Src/Ch02/FileServer/ReadMe.txt: -------------------------------------------------------------------------------- 1 | THIS DEMO IS QUITE MINIMAL AND IS *NOT* A FULL SITE. 2 | 3 | Therefore you can't just run it and expect it to work as it has no UI and no default page. 4 | 5 | 1) Launch it selecting FileServer from the BUILD menu or IIS Express. You'll get 404 6 | because there's no default page defined and no default endpoint. The app only serves a few specific 7 | requests. 8 | 2) Type http://localhost:5000/index.html. 9 | 3) Type http://localhost:5000/public/assets/test.jpg. -------------------------------------------------------------------------------- /Src/Ch02/FileServer/wwwroot/css/site.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 3 | padding: 10px; 4 | background: orange; 5 | font-size: 20px; 6 | } 7 | -------------------------------------------------------------------------------- /Src/Ch02/FileServer/wwwroot/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Programming ASP.NET Core -- Ch02 6 | 7 | 8 | 9 |

FILE SERVER demo

10 |
11 | test 12 | 13 | 14 | -------------------------------------------------------------------------------- /Src/Ch02/MiniWeb/Ch02.MiniWeb.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch02/MiniWeb/ReadMe.txt: -------------------------------------------------------------------------------- 1 | Not a Web site. 2 | Launch using MiniWeb from the BUILD menu or IIS Express -------------------------------------------------------------------------------- /Src/Ch03/Routes/Ch03.Routes.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch03/RoutesEx/Ch03.RoutesEx.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch04/AttrRouting/Ch04.AttrRouting.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch04/Poco/Ch04.Poco.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch04/Poco/Common/MyClass.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch04 - ASP.NET MVC Controllers 7 | // Poco 8 | // 9 | 10 | namespace Ch04.Poco.Common 11 | { 12 | public class MyClass 13 | { 14 | public string Title { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Src/Ch04/Poco/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch04.Poco.Common.MyClass 2 | 3 |

POCO.INDEX

4 |

@Model.Title

5 | -------------------------------------------------------------------------------- /Src/Ch04/Poco/Views/Home/simple.cshtml: -------------------------------------------------------------------------------- 1 | 

POCO.SIMPLE

2 | 3 | -------------------------------------------------------------------------------- /Src/Ch04/Poco/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch04/Simple/Ch04.Simple.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch04/Simple/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 |  2 |

HOME.INDEX

3 | 4 | Try async actions 5 | -------------------------------------------------------------------------------- /Src/Ch04/Simple/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/Application/ApplicationServiceBase.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch05 - ASP.NET MVC Views 7 | // JustViews 8 | // 9 | 10 | namespace Ch05.JustViews.Application 11 | { 12 | public class ApplicationServiceBase 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/Application/IHomeService.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch05 - ASP.NET MVC Views 7 | // JustViews 8 | // 9 | 10 | using Ch05.JustViews.Models; 11 | 12 | namespace Ch05.JustViews.Application 13 | { 14 | public interface IHomeService 15 | { 16 | HomeViewModel GetHomeViewModel(); 17 | } 18 | } -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/Ch05.JustViews.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @model YouCore.Server.Models.ViewModelBase 2 | 3 |

Error @(Model.StatusCode > 0 ? Model.StatusCode.ToString() : "")

4 | 5 |

@(Model.ErrorMessage ?? "Sorry, it's not you!")

6 | 7 | -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/Content/Fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch05/ExtraViews/wwwroot/Content/Fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch05/ExtraViews/wwwroot/Content/Fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/Content/Scripts/starter-kit.js: -------------------------------------------------------------------------------- 1 | var SK = SK || {}; 2 | 3 | SK.rootServer = ""; 4 | 5 | SK.goto = function (url) { 6 | var absoluteUrl = YK.rootServer + url; 7 | window.location.href = absoluteUrl; 8 | } 9 | 10 | SK.fromServer = function (url) { 11 | var absoluteUrl = YK.rootServer + url; 12 | return absoluteUrl; 13 | } 14 | 15 | SK.pad = function(num, size) { 16 | var s = num + ""; 17 | while (s.length < size) { 18 | s = "0" + s; 19 | } 20 | return s; 21 | } -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/Content/Styles/Site/bootstrap-extensions.css: -------------------------------------------------------------------------------- 1 | .btn { 2 | border-radius: 0; 3 | text-transform: uppercase; 4 | } 5 | -------------------------------------------------------------------------------- /Src/Ch05/ExtraViews/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch05/ExtraViews/wwwroot/favicon.ico -------------------------------------------------------------------------------- /Src/Ch05/ViewEngine/Common/Dog.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch05 - ASP.NET MVC Views 7 | // ViewEngine 8 | // 9 | 10 | namespace Ch05.ViewEngine.Common 11 | { 12 | public class Dog 13 | { 14 | public string Name { get; set; } 15 | 16 | public override string ToString() 17 | { 18 | return Name; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Src/Ch05/ViewEngine/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Mvc.ViewFeatures 2 |

ViewData and ViewBag

3 | 4 |
5 | 6 | @ViewData["Url"] 7 | 8 |
9 | 10 | @ViewBag.Url
11 | @ViewBag.MyDogName
12 | 13 | -------------------------------------------------------------------------------- /Src/Ch05/ViewEngine/Views/Shared/Layouts/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Globalization 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |

PROGRAMMING ASP.NET CORE

11 | @CultureInfo.CurrentUICulture.Name 12 | @RenderBody() 13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch05/ViewEngine/Views/Shared/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch05/ViewEngine/Views/Shared/test.cshtml: -------------------------------------------------------------------------------- 1 | 

Hi everybody!

2 |

It's @DateTime.Now.ToString("hh:mm")

3 |
4 | Let me count till ten. 5 | 11 | 12 | 13 | @* 14 | Compare this @Html.Raw("Bold text") 15 | to the following: @("Bold text") 16 | and see how the source code changes. 17 | *@ 18 | 19 | -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/Application/ApplicationServiceBase.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Starter kit 7 | // 8 | 9 | namespace Ch06.BsTags.Application 10 | { 11 | public class ApplicationServiceBase 12 | { 13 | } 14 | } -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/Ch06.BootstrapTagHelpers.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/Models/HomeViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch06 - The Razor Syntax 7 | // BootstrapTagHelpers 8 | // 9 | 10 | namespace Ch06.BootstrapTagHelpers.Models 11 | { 12 | public class HomeViewModel : ViewModelBase 13 | { 14 | public HomeViewModel(string title) : base(title) 15 | { 16 | 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @using Ch06.BootstrapTagHelpers.Models 2 | @model Ch06.BootstrapTagHelpers.Models.ViewModelBase 3 | 4 |

Error @(Model.StatusCode > 0 ? Model.StatusCode.ToString() : "")

5 | 6 |

@(Model.ErrorMessage ?? "Sorry, it's not you!")

7 | 8 | -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 2 | @addTagHelper *, Ch06.BootstrapTagHelpers -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Images/app-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Images/app-logo.png -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/Content/Styles/Site/bootstrap-extensions.css: -------------------------------------------------------------------------------- 1 | .btn { 2 | border-radius: 0; 3 | text-transform: uppercase; 4 | } 5 | -------------------------------------------------------------------------------- /Src/Ch06/BootstrapTagHelpers/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/BootstrapTagHelpers/wwwroot/favicon.ico -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/Application/ApplicationServiceBase.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch06 - The Razor Syntax 7 | // TagHelpers 8 | // 9 | 10 | namespace Ch06.TagHelpers.Application 11 | { 12 | public class ApplicationServiceBase 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/Models/HomeViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch06 - The Razor Syntax 7 | // TagHelpers 8 | // 9 | 10 | namespace Ch06.TagHelpers.Models 11 | { 12 | public class HomeViewModel : ViewModelBase 13 | { 14 | public HomeViewModel(string title) : base(title) 15 | { 16 | 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @using Ch06.TagHelpers.Models 2 | @model Ch06.TagHelpers.Models.ViewModelBase 3 | 4 |

Error @(Model.StatusCode > 0 ? Model.StatusCode.ToString() : "")

5 | 6 |

@(Model.ErrorMessage ?? "Sorry, it's not you!")

7 | 8 | -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 2 | @addTagHelper *, Ch06.TagHelpers -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/Content/Fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/TagHelpers/wwwroot/Content/Fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/TagHelpers/wwwroot/Content/Fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/Content/Images/app-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/TagHelpers/wwwroot/Content/Images/app-logo.png -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/Content/Styles/Site/bootstrap-extensions.css: -------------------------------------------------------------------------------- 1 | .btn { 2 | border-radius: 0; 3 | text-transform: uppercase; 4 | } 5 | -------------------------------------------------------------------------------- /Src/Ch06/TagHelpers/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch06/TagHelpers/wwwroot/favicon.ico -------------------------------------------------------------------------------- /Src/Ch07/Config/Application/IRandomCustomerService.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // Config 8 | // 9 | 10 | namespace Ch07.Config.Application 11 | { 12 | public interface IRandomCustomerService 13 | { 14 | 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch07/Config/Application/RandomCustomerService.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // Config 8 | // 9 | 10 | namespace Ch07.Config.Application 11 | { 12 | public class RandomCustomerService : IRandomCustomerService 13 | { 14 | 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch07/Config/MyAppSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ApplicationTitle" : "Programming ASP.NET Core", 3 | "GeneralSettings" : { 4 | "CopyrightYears" : [2017, 2018], 5 | "Paging" : { 6 | "PageSize" : 25, 7 | "FreezeHeaders" : true 8 | }, 9 | "Sorting" : { 10 | "Enabled" : true 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Src/Ch07/Config/Views/Config/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.Extensions.Configuration 2 |

CONFIGURATION TREE (reading from ViewData)

3 | 4 | PAGESIZE = @ViewData["PageSize"] -------------------------------------------------------------------------------- /Src/Ch07/Config/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.Extensions.Configuration 2 |

CONFIGURATION TREE

3 | @model Ch07.Config.Models.ViewModelBase 4 | @inject IConfigurationRoot Configuration 5 | 6 | @{ 7 | var time = DateTime.Now; 8 | } 9 | 10 | PAGESIZE = @Configuration["GeneralSettings:Paging:PageSize"] -------------------------------------------------------------------------------- /Src/Ch07/Config/Views/Monitor/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.Extensions.Configuration 2 |

CONFIGURATION TREE (monitoring changes)

3 | 4 | PAGESIZE = @ViewData["PageSize"] -------------------------------------------------------------------------------- /Src/Ch07/Config/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | @using Ch07.Config.Models 2 | @model Ch07.Config.Models.ViewModelBase 3 | 4 | 5 | 6 | 7 | 8 | @Model.ApplicationTitle 9 | 10 | 11 |
12 |

PROGRAMMING ASP.NET CORE

13 |
14 | @RenderBody() 15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /Src/Ch07/Config/Views/Shared/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch07/Config/Views/Shared/error.cshtml: -------------------------------------------------------------------------------- 1 | @using Ch07.Config.Models 2 | @model Ch07.Config.Models.ViewModelBase 3 | 4 |

ERROR OCCURRED

5 | 6 | -------------------------------------------------------------------------------- /Src/Ch07/Encrypt/Controllers/IndexViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // Encrypt 8 | // 9 | 10 | using System.IO; 11 | using Ch07.Encrypt.Backend; 12 | using Microsoft.AspNetCore.DataProtection; 13 | 14 | namespace Ch07.Encrypt.Controllers 15 | { 16 | public class IndexViewModel 17 | { 18 | public Customer TheCustomer { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /Src/Ch07/Encrypt/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | Programming ASP.NET Core 7 | 8 | 9 |
10 |

PROGRAMMING ASP.NET CORE

11 |
12 | @RenderBody() 13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch07/Encrypt/Views/Shared/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch07/Encrypt/Views/Shared/error.cshtml: -------------------------------------------------------------------------------- 1 |  2 |

ERROR OCCURRED

3 | 4 | -------------------------------------------------------------------------------- /Src/Ch07/Encrypt/sample.txt: -------------------------------------------------------------------------------- 1 | CfDJ8EJqmiXWBtRKotvXPoszRwExXGJYKYj5egzkPzYk-E7KvRnGMEurBNQX1Nr5EQ0U2jRe3rOhwuJB6PcVxC8LWGOEhKLJ0EejWqBNskVdA9hFcuvint9LcmWtG7O0hWY-hCMK5Do5Z78TMgDDrkqsv5yms3bvz8vPrlH2ZCPP3w-a -------------------------------------------------------------------------------- /Src/Ch07/Excep/Ch07.Except.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Src/Ch07/Excep/Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // Except 8 | // 9 | 10 | using System; 11 | 12 | namespace Ch07.Except.Models 13 | { 14 | public class ErrorViewModel : ViewModelBase 15 | { 16 | public Exception Error { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Src/Ch07/Excep/Models/ViewModelBase.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // Except 8 | // 9 | 10 | namespace Ch07.Except.Models 11 | { 12 | public class ViewModelBase 13 | { 14 | public string ApplicationTitle { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch07/Excep/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.Extensions.Configuration 2 | 3 | Just throw an exception 4 | 5 | 6 |

Change environment to PRODUCTION to see a difference

-------------------------------------------------------------------------------- /Src/Ch07/Excep/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch07.Except.Models.ViewModelBase 2 | 3 | 4 | 5 | 6 | 7 | @Model.ApplicationTitle 8 | 9 | 10 |
11 |

PROGRAMMING ASP.NET CORE

12 |
13 | @RenderBody() 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /Src/Ch07/Excep/Views/Shared/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch07/Excep/Views/Shared/error.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch07.Except.Models.ErrorViewModel 2 | 3 |

ERROR OCCURRED!!!!

4 | 5 | @if (Model.Error != null) 6 | { 7 |

@Model.Error.Message

8 | } 9 | 10 | 11 | -------------------------------------------------------------------------------- /Src/Ch07/Excep/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /Src/Ch07/HandleError/HandleError.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Src/Ch07/HandleError/Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // Except 8 | // 9 | 10 | using System; 11 | 12 | namespace Ch07.Except.Models 13 | { 14 | public class ErrorViewModel : ViewModelBase 15 | { 16 | public Exception Error { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Src/Ch07/HandleError/Models/ViewModelBase.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // Except 8 | // 9 | 10 | namespace Ch07.Except.Models 11 | { 12 | public class ViewModelBase 13 | { 14 | public string ApplicationTitle { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch07/HandleError/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.Extensions.Configuration 2 | 3 | Just throw an exception 4 | 5 | 6 |

Change environment to PRODUCTION to see a difference

-------------------------------------------------------------------------------- /Src/Ch07/HandleError/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch07.Except.Models.ViewModelBase 2 | 3 | 4 | 5 | 6 | 7 | @Model.ApplicationTitle 8 | 9 | 10 |
11 |

PROGRAMMING ASP.NET CORE

12 |
13 | @RenderBody() 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /Src/Ch07/HandleError/Views/Shared/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch07/HandleError/Views/Shared/error.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch07.Except.Models.ErrorViewModel 2 | 3 |

ERROR OCCURRED!!!!

4 | 5 | @if (Model.Error != null) 6 | { 7 |

@Model.Error.Message

8 | } 9 | 10 | 11 | -------------------------------------------------------------------------------- /Src/Ch07/HandleError/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /Src/Ch07/UserSecrets/Application/IMiscService.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // UserSecrets 8 | // 9 | 10 | namespace Ch07.UserSecrets.Application 11 | { 12 | public interface IMiscService 13 | { 14 | 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch07/UserSecrets/Application/MiscService.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // UserSecrets 8 | // 9 | 10 | namespace Ch07.UserSecrets.Application 11 | { 12 | public class MiscService : IMiscService 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /Src/Ch07/UserSecrets/Common/MyAppSecretConfig.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch07 - Design Considerations 7 | // UserSecrets 8 | // 9 | 10 | namespace Ch07.UserSecrets.Common 11 | { 12 | public class MyAppSecretConfig 13 | { 14 | public string ConnectionString { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch07/UserSecrets/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Ch07.UserSecrets.Common 2 | @{ 3 | var secrets = ViewData["config"] as MyAppSecretConfig; 4 | } 5 | 6 |

CONNECTION STRING (protected)

7 |

8 | @if (secrets == null) 9 | { 10 | Can't read 11 | } 12 | else 13 | { 14 | @secrets.ConnectionString 15 | } 16 |

17 | 18 | -------------------------------------------------------------------------------- /Src/Ch07/UserSecrets/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | Programming ASP.NET Core 7 | 8 | 9 |
10 |

PROGRAMMING ASP.NET CORE

11 |
12 | @RenderBody() 13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch07/UserSecrets/Views/Shared/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch07/UserSecrets/Views/Shared/error.cshtml: -------------------------------------------------------------------------------- 1 |  2 |

ERROR OCCURRED

3 | 4 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Ch08.Autho.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Models/IndexViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch08 - Securing the Application 7 | // Autho 8 | // 9 | 10 | namespace Ch08.Autho.Models 11 | { 12 | public class IndexViewModel : ViewModelBase 13 | { 14 | public IndexViewModel(string title) : base(title) 15 | { 16 | 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/Account/Forbidden.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Autho.Models.ViewModelBase 2 | 3 |

NOT AUTHORIZED TO VIEW THIS PAGE

4 |

@Model.ErrorMessage

-------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Autho.Models.IndexViewModel 2 | 3 |

4 | PUBLIC FRONTEND! *** COOKme 5 |

6 |
7 | 8 | 9 | Take me to the PRIVATE area 10 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/Secret/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Autho.Models.IndexViewModel 2 | 3 |

4 | Welcome to the secret page! 5 |

6 | 7 | 11 | Try to perform an admin-only task 12 | 13 | 14 | 18 | Regular task 19 | 20 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/Secret/admin1.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Autho.Models.IndexViewModel 2 | 3 |

4 | ADMIN1 task 5 |

6 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/Secret/guest1.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Autho.Models.IndexViewModel 2 | 3 |

4 | GUEST1 task 5 |

6 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @using Ch08.Autho.Models 2 | @model Ch08.Autho.Models.ViewModelBase 3 | 4 |

Error @(Model.StatusCode >0 ? Model.StatusCode.ToString() :"")

5 | 6 |

@(Model.ErrorMessage ?? Strings.GenericErrorMessage)

7 | 8 | 9 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch08/Autho/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch08/Autho/wwwroot/Content/Fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Autho/wwwroot/Content/Fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Autho/wwwroot/Content/Fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Ch08.Authorz.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Common/GlobalConfig.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch08 - Securing the Application 7 | // Authorz 8 | // 9 | 10 | namespace Ch08.Authorz.Common 11 | { 12 | public class GlobalConfig 13 | { 14 | public string Title { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Common/UserContainer.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch08 - Securing the Application 7 | // Authorz 8 | // 9 | 10 | namespace Ch08.Authorz.Common 11 | { 12 | public class UserContainer 13 | { 14 | public UserContainer(string name) 15 | { 16 | Name = name; 17 | } 18 | public string Name { get; private set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Controllers/MyControllerBase.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch08 - Securing the Application 7 | // Authorz 8 | // 9 | 10 | using Ch08.Authorz.Common; 11 | using Microsoft.AspNetCore.Mvc; 12 | 13 | namespace Ch08.Authorz.Controllers 14 | { 15 | public class MyControllerBase : Controller 16 | { 17 | protected GlobalConfig Configuration { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Models/IndexViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch08 - Securing the Application 7 | // Authorz 8 | // 9 | 10 | namespace Ch08.Authorz.Models 11 | { 12 | public class IndexViewModel : ViewModelBase 13 | { 14 | public IndexViewModel(string title) : base(title) 15 | { 16 | 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/MyAppSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionStrings": { 3 | "DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=_CHANGE_ME;Trusted_Connection=True;MultipleActiveResultSets=true" 4 | }, 5 | "Globals": { 6 | "Title": "Login Example" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/Account/Forbidden.cshtml: -------------------------------------------------------------------------------- 1 | @using Ch08.Authorz.Models 2 | @model Ch08.Authorz.Models.ViewModelBase 3 | 4 |

NOT AUTHORIZED TO VIEW THIS PAGE

5 |

@Model.ErrorMessage

-------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Authorz.Models.IndexViewModel 2 | @using Ch08.Authorz.Common 3 | @using Microsoft.Extensions.Options; 4 | @inject IOptions Settings 5 | 6 |

7 | PUBLIC FRONTEND! 8 | @Settings.Value.Title 9 |

10 |
11 | 12 | 13 | Take me to the PRIVATE area 14 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/Secret/admin1.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Authorz.Models.IndexViewModel 2 | 3 |

4 | ADMIN1 task 5 |

6 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/Secret/admin2.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Authorz.Models.IndexViewModel 2 | 3 |

4 | This page is only for admins with special hair! 5 |

6 |

7 | @{ 8 | var claim = User.FindFirst("Hair").Value; 9 | } 10 | @claim 11 |

12 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/Secret/guest1.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Authorz.Models.IndexViewModel 2 | 3 |

4 | GUEST1 task 5 |

6 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/Secret/guest2.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch08.Authorz.Models.IndexViewModel 2 | 3 |

4 | GUEST2 task 5 |

6 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch08/Authorz/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch08/Authorz/wwwroot/Content/Fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Authorz/wwwroot/Content/Fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch08/Authorz/wwwroot/Content/Fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch09/AdoNet/Ch09.AdoNet.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch09/AdoNet/Common/ConnectionStrings.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch09 - Access to Application Data 7 | // AdoNet 8 | // 9 | 10 | namespace Ch09.AdoNet.Common 11 | { 12 | public class ConnectionStrings 13 | { 14 | public static string ProgCore { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch09/AdoNet/Models/HomeViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch09 - Access to Application Data 7 | // AdoNet 8 | // 9 | 10 | using System.Data; 11 | 12 | namespace Ch09.AdoNet.Models 13 | { 14 | public class HomeViewModel 15 | { 16 | public DataTable Records { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Src/Ch09/AdoNet/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Data 2 | @model Ch09.AdoNet.Models.HomeViewModel 3 | 4 |

RECORDS

5 | 6 | @foreach (DataRow row in Model.Records.Rows) 7 | { 8 | 9 | 10 | 11 | 12 | 13 | } 14 |
@row["FirstName"]@row["LastName"]@row["Country"]
15 | -------------------------------------------------------------------------------- /Src/Ch09/AdoNet/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch09/EfCore/Ch09.EfCore.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Src/Ch09/EfCore/Models/HomeViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch09 - Access to Application Data 7 | // EfCore 8 | // 9 | 10 | using System.Collections.Generic; 11 | using Ch09.EfCore.Backend.Persistence.Model; 12 | 13 | namespace Ch09.EfCore.Models 14 | { 15 | public class HomeViewModel 16 | { 17 | public IList Records { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /Src/Ch09/EfCore/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model Ch09.EfCore.Models.HomeViewModel 2 | 3 |

RECORDS ADD

4 | 5 | @foreach (var customer in Model.Records) 6 | { 7 | 8 | 9 | 10 | 11 | } 12 |
@customer.FirstName@customer.LastName
13 | -------------------------------------------------------------------------------- /Src/Ch09/EfCore/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch10/MyClientApp/Ch10.MyClientApp.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Src/Ch10/MyIdentityServer/Ch10.MyIdentityServer.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Src/Ch10/MySecuredAPI/Ch10.MySecuredAPI.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Src/Ch10/MySecuredAPI/wwwroot/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Programming ASP.NET Core 5 | 6 | 7 |

Welcome to the MyAPI demo

8 | 9 | -------------------------------------------------------------------------------- /Src/Ch10/SampleAPI/Ch10.SampleApi.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch10/SampleAPI/Common/InternalDto.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch10 - Designing a Web API 7 | // SampleApi 8 | // 9 | 10 | namespace Ch10.SampleApi.Common 11 | { 12 | public class InternalDto 13 | { 14 | public string Today { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch10/SampleAPI/sample-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch10/SampleAPI/sample-1.pdf -------------------------------------------------------------------------------- /Src/Ch10/SampleAPI/wwwroot/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Programming ASP.NET Core 5 | 6 | 7 |

Welcome to the MyAPI demo

8 | 9 | -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/Application/HomeService.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Forms 7 | // 8 | 9 | using Ch11.LargeForms.Models; 10 | 11 | namespace Forms.Application 12 | { 13 | public class HomeService 14 | { 15 | public HomeViewModel GetHomeViewModel() 16 | { 17 | var model = new HomeViewModel(); 18 | return model; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/Ch11.LargeForms.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/Models/HomeViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch11 - Posting Data from Client-side 7 | // LargeForms 8 | // 9 | 10 | 11 | namespace Ch11.LargeForms.Models 12 | { 13 | public class HomeViewModel : ViewModelBase 14 | { 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/Models/Options.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch11 - Posting Data from Client-side 7 | // LargeForms 8 | // 9 | 10 | namespace Ch11.LargeForms.Models 11 | { 12 | public enum Options 13 | { 14 | None = 0, 15 | Add = 1, 16 | Save = 2, 17 | Delete = 3 18 | } 19 | } -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/bundleconfig.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "outputFileName": "wwwroot/Content/styles/ybq-core.min.css", 4 | "inputFiles": [ 5 | "wwwroot/Content/styles/ybq-core.css" 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/LargeForms/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch11/LargeForms/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/Ch11.SimpleForms.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/Models/HomeViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch11 - Posting Data from Client-side 7 | // SimpleForms 8 | // 9 | 10 | 11 | namespace Ch11.SimpleForms.Models 12 | { 13 | public class HomeViewModel : ViewModelBase 14 | { 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/Models/Options.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch11 - Posting Data from Client-side 7 | // SimpleForms 8 | // 9 | 10 | namespace Ch11.SimpleForms.Models 11 | { 12 | public enum Options 13 | { 14 | None = 0, 15 | Add = 1, 16 | Save = 2, 17 | Delete = 3 18 | } 19 | } -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/bundleconfig.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "outputFileName": "wwwroot/Content/styles/ybq-core.min.css", 4 | "inputFiles": [ 5 | "wwwroot/Content/styles/ybq-core.css" 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch11/SimpleForms/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch11/SimpleForms/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/Backend/Countries/Country.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch12 - Client-side data binding 7 | // DataBinding 8 | // 9 | 10 | namespace Ch12.DataBinding.Backend.Countries 11 | { 12 | public class Country 13 | { 14 | public string StatusMsg { get; set; } 15 | public CountryDetails Results { get; set; } 16 | public int StatusCode { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/Common/U.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch12 - Client-side data binding 7 | // DataBinding 8 | // 9 | 10 | namespace Ch12.DataBinding.Common 11 | { 12 | public class U 13 | { 14 | public class PartialViews 15 | { 16 | public const string ListOfCountries = "_pv_ListOfCountries"; 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/bundleconfig.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "outputFileName": "wwwroot/Content/styles/ybq-core.min.css", 4 | "inputFiles": [ 5 | "wwwroot/Content/styles/ybq-core.css" 6 | ] 7 | }, 8 | { 9 | "outputFileName": "wwwroot/Content/scripts/site/knockout.min.min.js", 10 | "inputFiles": [ 11 | "wwwroot/Content/scripts/site/knockout.min.js" 12 | ] 13 | } 14 | ] 15 | -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/DataBinding/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch12/DataBinding/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/Backend/Customer.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch12 - Client-side data binding 7 | // PartialRendering 8 | // 9 | 10 | namespace Ch12.PartialRendering.Backend 11 | { 12 | public class Customer 13 | { 14 | public int Id { get; set; } 15 | public string Name { get; set; } 16 | public string Address { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/Models/HomeViewModel.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch12 - Client-side data binding 7 | // PartialRendering 8 | // 9 | 10 | 11 | namespace Ch12.PartialRendering.Models 12 | { 13 | public class HomeViewModel : ViewModelBase 14 | { 15 | } 16 | } -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/Views/Shared/_pv_OnBehalfOfCustomers.cshtml: -------------------------------------------------------------------------------- 1 | @foreach (var c in Model.Customers) 2 | { 3 |
  • @c.Name
  • 4 | } -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/bundleconfig.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "outputFileName": "wwwroot/Content/styles/ybq-core.min.css", 4 | "inputFiles": [ 5 | "wwwroot/Content/styles/ybq-core.css" 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch12/PartialRendering/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch12/PartialRendering/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/Views/Home/Pic.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 |

    PICTURE element in action

    4 | 5 | 6 | 7 | 8 | Poppies 9 | 10 | -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/Smartphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/Smartphone.png -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/desktop.png -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/feature phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/feature phone.png -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/other.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/other.png -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/poppies.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/poppies.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/poppies_md.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/poppies_md.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/poppies_xs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/poppies_xs.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-datepicking.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-datepicking.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-device.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-device.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-geo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-geo.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-images.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-images.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-input.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/qr-input.jpg -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/smart-tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/smart-tv.png -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/images/tablet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/DeviceFriendly/wwwroot/Content/images/tablet.png -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch13/DeviceFriendly/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/Ch13.RoutingViews.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 |  2 | ROUTED 3 | -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/Views/Screen/default.cshtml: -------------------------------------------------------------------------------- 1 | 
    2 |

    3 | This is the view you intend to display to users 4 | coming your way using a 5 | desktop browser. 6 |

    7 |
    8 | 9 | -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/Views/Screen/smartphone.cshtml: -------------------------------------------------------------------------------- 1 | 
    2 |

    3 | This is the view you intend to display to users 4 | coming your way using a 5 | smartphone browser. 6 |

    7 |
    -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/Views/Screen/tablet.cshtml: -------------------------------------------------------------------------------- 1 | 
    2 |

    3 | This is the view you intend to display to users 4 | coming your way using a 5 | tablet browser. 6 |

    7 |
    -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/RoutingViews/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/RoutingViews/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch13/RoutingViews/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch13/RoutingViews/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch14/Builder/Ch14.Builder.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch14/StartHost/Ch14.StartHost.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "taskName": "build", 6 | "command": "dotnet", 7 | "type": "process", 8 | "args": [ 9 | "build", 10 | "${workspaceFolder}/Ch15.SimplePage.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model Ch15.SimplePage.Pages.IndexModel 3 | 4 |
    5 |

    PROGRAMMING ASP.NET CORE 2.0

    6 |

    @Model.Message

    7 |
    8 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 2 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/Pages/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePage/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePage/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePage/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/images/progcore.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePage/wwwroot/Content/images/progcore.jpg -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch15/SimplePage/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Ch15/SimplePageDocker/Ch15.SimplePageDocker/.dockerignore: -------------------------------------------------------------------------------- 1 | * 2 | !obj/Docker/publish/* 3 | !obj/Docker/empty/ 4 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageDocker/Ch15.SimplePageDocker/Ch15.SimplePageDocker.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | ..\docker-compose.dcproj 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageDocker/Ch15.SimplePageDocker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM microsoft/aspnetcore:2.0 2 | ARG source 3 | WORKDIR /app 4 | EXPOSE 80 5 | COPY ${source:-obj/Docker/publish} . 6 | ENTRYPOINT ["dotnet", "Ch15.SimplePageDocker.dll"] 7 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageDocker/docker-compose.ci.build.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageDocker/docker-compose.override.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | 3 | services: 4 | ch15.simplepagedocker: 5 | environment: 6 | - ASPNETCORE_ENVIRONMENT=Development 7 | ports: 8 | - "80" 9 | networks: 10 | default: 11 | external: 12 | name: nat 13 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageDocker/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | 3 | services: 4 | ch15.simplepagedocker: 5 | image: ch15.simplepagedocker 6 | build: 7 | context: ./Ch15.SimplePageDocker 8 | dockerfile: Dockerfile 9 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @using Ch15.SimplePageScm.Pages 3 | @model Ch15.SimplePageScm.Pages.IndexModel 4 | 5 |
    6 |

    PROGRAMMING ASP.NET CORE

    7 |

    @Model.Message

    8 |
    9 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 2 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/Pages/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePageScm/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePageScm/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePageScm/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/images/progcore.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Ch15/SimplePageScm/wwwroot/Content/images/progcore.jpg -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Ch15/SimplePageScm/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/Blazor04/Blazor04/App.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/Blazor04/Blazor04/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/Blazor04/Blazor04/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Blazor.Layouts 3 | @using Microsoft.AspNetCore.Blazor.Routing 4 | @using Blazor04.Shared 5 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/Blazor04/Blazor04/global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "2.1.300" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/Blazor04/Blazor04/wwwroot/css/digitalclock.css: -------------------------------------------------------------------------------- 1 | .clock { 2 | 3 | text-align: center; 4 | padding: 10px; 5 | } 6 | .clock-working { 7 | font-family: consolas; 8 | font-size: 30px; 9 | padding: 10px; 10 | background: #000; 11 | color: lightgreen; 12 | } 13 | .clock-notset { 14 | color: red; 15 | font-family: consolas; 16 | font-size: 30px; 17 | padding: 10px; 18 | background: #000; 19 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/Blazor04/Blazor04/wwwroot/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/Blazor04/Blazor04/wwwroot/images/loading.gif -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/App.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/Pages/Counter.cshtml: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 |

    Counter

    4 | 5 |

    Current count: @currentCount

    6 | 7 | 8 | 9 | @functions { 10 | int currentCount = 0; 11 | 12 | void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |

    Welcome to COUNTRY-FINDER

    4 | 5 |
    Refresh your geography skills
    6 | 7 | 8 | 11 | 12 |
    -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/Shared/MainLayout.cshtml: -------------------------------------------------------------------------------- 1 | @inherits Microsoft.AspNetCore.Blazor.Layouts.BlazorLayoutComponent 2 | 3 | 4 | 5 |
    6 | @Body 7 |
    8 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Blazor.Layouts 3 | @using Microsoft.AspNetCore.Blazor.Routing 4 | @using CountryFinder.Client 5 | @using CountryFinder.Client.Shared 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/css/local.css: -------------------------------------------------------------------------------- 1 | hr { 2 | border: solid 4px #111; 3 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/images/favicon.png -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/images/loading.gif -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Client/wwwroot/js/interop-uxdebug.js: -------------------------------------------------------------------------------- 1 | // This file is to show how a library package may provide JavaScript interop features 2 | // wrapped in a .NET API 3 | 4 | Blazor.registerFunction("Ybq.Helpers.Alert", 5 | function(message) { 6 | return alert(message); 7 | }); 8 | 9 | 10 | Blazor.registerFunction("Ybq.Helpers.UxDebug", 11 | function () { 12 | $(document).ready(function () { 13 | uxDebugInit(); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Server/Controllers/CountryController.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // EXTRAS 7 | // Blazor #1 - Country Finder 8 | // 9 | 10 | using Microsoft.AspNetCore.Mvc; 11 | 12 | namespace CountryFinder.Server.Controllers 13 | { 14 | public class CountryController : Controller 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Shared/CountryFinder.Shared.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 7.3 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/CountryFinder.Shared/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CountryFinder.Shared 6 | { 7 | public class WeatherForecast 8 | { 9 | public DateTime Date { get; set; } 10 | public int TemperatureC { get; set; } 11 | public string Summary { get; set; } 12 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "2.1.300" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/xxx/Component1.cshtml: -------------------------------------------------------------------------------- 1 | 
    2 | This Blazor component is defined in the xxx package. 3 |
    4 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/xxx/ExampleJsInterop.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.AspNetCore.Blazor.Browser.Interop; 3 | 4 | namespace xxx 5 | { 6 | public class ExampleJsInterop 7 | { 8 | public static string Prompt(string message) 9 | { 10 | return RegisteredFunction.Invoke( 11 | "xxx.ExampleJsInterop.Prompt", 12 | message); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/xxx/content/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/CountryFinder04/xxx/content/background.png -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/xxx/content/exampleJsInterop.js: -------------------------------------------------------------------------------- 1 | // This file is to show how a library package may provide JavaScript interop features 2 | // wrapped in a .NET API 3 | 4 | Blazor.registerFunction('xxx.ExampleJsInterop.Prompt', function (message) { 5 | return prompt(message, 'Type anything here'); 6 | }); 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/CountryFinder04/xxx/content/styles.css: -------------------------------------------------------------------------------- 1 | /* 2 | This file is to show how CSS and other static resources (such as images) can be 3 | used from a library project/package. 4 | */ 5 | 6 | .my-component { 7 | border: 2px dashed red; 8 | padding: 1em; 9 | margin: 1em 0; 10 | background-image: url('background.png'); 11 | } 12 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/FlightFinder04/FlightFinder.Client/Components/GreyOutZone.cshtml: -------------------------------------------------------------------------------- 1 | 
    2 |
    3 | 4 | @ChildContent 5 |
    6 | 7 | @functions 8 | { 9 | [Parameter] RenderFragment ChildContent { get; set; } 10 | 11 | [Parameter] bool IsGreyedOut { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/FlightFinder04/FlightFinder.Client/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Blazor 3 | @using Microsoft.AspNetCore.Blazor.Components 4 | @using FlightFinder.Client.Services 5 | @using FlightFinder.Client.Components 6 | @using FlightFinder.Shared 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/FlightFinder04/FlightFinder.Client/wwwroot/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | FlightFinder 6 | 7 | 8 | 9 | 10 | 11 | 12 | Loading... 13 | 14 | 15 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/FlightFinder04/FlightFinder.Server/Controllers/AirportsController.cs: -------------------------------------------------------------------------------- 1 | using FlightFinder.Shared; 2 | using Microsoft.AspNetCore.Mvc; 3 | using System.Collections.Generic; 4 | 5 | namespace FlightFinder.Server.Controllers 6 | { 7 | [Route("api/[controller]")] 8 | public class AirportsController : Controller 9 | { 10 | public IEnumerable Airports() 11 | { 12 | return SampleData.Airports; 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/FlightFinder04/FlightFinder.Shared/Airport.cs: -------------------------------------------------------------------------------- 1 | namespace FlightFinder.Shared 2 | { 3 | public class Airport 4 | { 5 | public string Code { get; set; } 6 | public string DisplayName { get; set; } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/FlightFinder04/FlightFinder.Shared/FlightFinder.Shared.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.4.0/samples-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.4.0/samples-master.zip -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/Blazor05/Blazor05/App.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/Blazor05/Blazor05/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/Blazor05/Blazor05/_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 Blazor05 6 | @using Blazor05.Shared 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/Blazor05/Blazor05/global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "2.1.300" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/Blazor05/Blazor05/wwwroot/css/digitalclock.css: -------------------------------------------------------------------------------- 1 | .clock { 2 | 3 | text-align: center; 4 | padding: 10px; 5 | } 6 | .clock-working { 7 | font-family: consolas; 8 | font-size: 30px; 9 | padding: 10px; 10 | background: #000; 11 | color: lightgreen; 12 | } 13 | .clock-notset { 14 | color: red; 15 | font-family: consolas; 16 | font-size: 30px; 17 | padding: 10px; 18 | background: #000; 19 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/Blazor05/Blazor05/wwwroot/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/Blazor05/Blazor05/wwwroot/images/loading.gif -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/MyApp.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using CountryFinder05.Shared.Model 2 | @page "/" 3 | 4 | 5 |

    TWO WAYS of TYPING AHEAD

    6 | 7 | Using Twitter typeahead 8 | Using custom Blazor component -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/Shared/MainLayout.cshtml: -------------------------------------------------------------------------------- 1 | @inherits Microsoft.AspNetCore.Blazor.Layouts.BlazorLayoutComponent 2 | 3 | 4 | 5 |
    6 | @Body 7 |
    8 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Blazor.Layouts 2 | @using Microsoft.AspNetCore.Blazor.Routing 3 | @using CountryFinder05.Client 4 | @using CountryFinder05.Client.Shared 5 | @using System.Net.Http 6 | @using CountryFinder05.Shared.Model 7 | 8 | 9 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/bundleconfig.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "outputFileName": "wwwroot/js/typeahead.container.min.js", 4 | "inputFiles": [ 5 | "wwwroot/js/typeahead.container.js" 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/css/local.css: -------------------------------------------------------------------------------- 1 | hr { 2 | border: solid 4px #111; 3 | } 4 | 5 | .country-selector { 6 | padding: 8px; 7 | background-color: gold; 8 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/images/favicon.png -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Client/wwwroot/images/loading.gif -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/CountryFinder05.Shared/CountryFinder05.Shared.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 7.3 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.5.0/CountryFinder05/global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "2.1.300" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/App.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/Pages/Counter.cshtml: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 |

    Counter

    4 | 5 |

    Current count: @currentCount

    6 | 7 | 8 | 9 | @functions { 10 | int currentCount = 0; 11 | 12 | void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |

    Hello, world!

    4 | 5 | Welcome to your new app. 6 | 7 | 8 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/Shared/MainLayout.cshtml: -------------------------------------------------------------------------------- 1 | @inherits BlazorLayoutComponent 2 | 3 | 6 | 7 |
    8 |
    9 | About 10 |
    11 | 12 |
    13 | @Body 14 |
    15 |
    16 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/Startup.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Blazor.Builder; 2 | using Microsoft.Extensions.DependencyInjection; 3 | 4 | namespace Blazor001 5 | { 6 | public class Startup 7 | { 8 | public void ConfigureServices(IServiceCollection services) 9 | { 10 | } 11 | 12 | public void Configure(IBlazorApplicationBuilder app) 13 | { 14 | app.AddComponent("app"); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/_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 Blazor001 6 | @using Blazor001.Shared 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/Blazor001/Blazor001/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/App.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/Pages/Counter.cshtml: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 |

    Counter

    4 | 5 |

    Current count: @currentCount

    6 | 7 | 8 | 9 | @functions { 10 | int currentCount = 0; 11 | 12 | void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/Pages/DatePicker.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.JSInterop 2 | @page "/date" 3 | 4 |

    When is your birthday?

    5 | 6 | 7 | 8 | @functions 9 | { 10 | protected override void OnInit() 11 | { 12 | JSRuntime.Current.InvokeAsync("Ybq.datePicker", "#birthday"); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using CountryFinder.Shared.Model 2 | @page "/" 3 | 4 | @*

    TWO WAYS of TYPING AHEAD

    5 | 6 | Using Twitter typeahead 7 | Using custom Blazor component*@ 8 | 9 | Paging demo 10 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/Shared/MainLayout.cshtml: -------------------------------------------------------------------------------- 1 | @inherits Microsoft.AspNetCore.Blazor.Layouts.BlazorLayoutComponent 2 | 3 | 4 | 5 |
    6 | @Body 7 |
    8 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/Startup.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Blazor.Builder; 2 | using Microsoft.Extensions.DependencyInjection; 3 | 4 | namespace CountryFinder.Client 5 | { 6 | public class Startup 7 | { 8 | public void ConfigureServices(IServiceCollection services) 9 | { 10 | } 11 | 12 | public void Configure(IBlazorApplicationBuilder app) 13 | { 14 | app.AddComponent("app"); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/_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 CountryFinder.Client 6 | @using CountryFinder.Client.Shared 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/css/local.css: -------------------------------------------------------------------------------- 1 | hr { 2 | border: solid 4px #111; 3 | } 4 | 5 | .country-selector { 6 | padding: 8px; 7 | background-color: gold; 8 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/images/favicon.png -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Client/wwwroot/images/loading.gif -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Server/Common/MenuItem.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // EXTRAS 7 | // Blazor - Country Finder (0.6.0) 8 | // 9 | 10 | namespace CountryFinder.Server.Common 11 | { 12 | public class MenuItem 13 | { 14 | public string Text { get; set; } 15 | public string Url { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Shared/CountryFinder.Shared.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 7.3 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Shared/MenuItem.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // EXTRAS 7 | // Blazor - Country Finder (0.6.0) 8 | // 9 | 10 | namespace CountryFinder.Shared 11 | { 12 | public class MenuItem 13 | { 14 | public string Text { get; set; } 15 | public string Url { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/CountryFinder/CountryFinder.Shared/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CountryFinder.Shared 6 | { 7 | public class WeatherForecast 8 | { 9 | public DateTime Date { get; set; } 10 | public int TemperatureC { get; set; } 11 | public string Summary { get; set; } 12 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/App.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/Pages/Counter.cshtml: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 |

    Counter

    4 | 5 |

    Current count: @currentCount

    6 | 7 | 8 | 9 | @functions { 10 | int currentCount = 0; 11 | 12 | void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |

    Hello, world!

    4 | 5 | Welcome to your new app. 6 | 7 | 8 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/Services/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace StdServer.App.Services 4 | { 5 | public class WeatherForecast 6 | { 7 | public DateTime Date { get; set; } 8 | public int TemperatureC { get; set; } 9 | public int TemperatureF { get; set; } 10 | public string Summary { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/Shared/MainLayout.cshtml: -------------------------------------------------------------------------------- 1 | @inherits BlazorLayoutComponent 2 | 3 | 6 | 7 |
    8 |
    9 | About 10 |
    11 | 12 |
    13 | @Body 14 |
    15 |
    16 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.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 StdServer.App 6 | @using StdServer.App.Shared 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.6.0/StdServer/StdServer.App/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/App.cshtml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/Common/ModalContext.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // Ch06 - The Razor Syntax 7 | // BootstrapTagHelpers 8 | // 9 | 10 | namespace Forms.App.Common 11 | { 12 | public class ModalContext 13 | { 14 | public string Id { get; set; } 15 | public bool AutoClose { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/Pages/Counter.cshtml: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 |

    Counter

    4 | 5 |

    Current count: @currentCount

    6 | 7 | 8 | 9 | @functions { 10 | int currentCount = 0; 11 | 12 | void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 |  2 | @page "/" 3 | 4 |

    Hello, world!

    5 | 6 | Welcome to your new app. 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/Shared/MainLayout.cshtml: -------------------------------------------------------------------------------- 1 | @inherits Microsoft.AspNetCore.Blazor.Layouts.BlazorLayoutComponent 2 | 3 | 6 | 7 |
    8 |
    9 | Cutting Edge 10 |
    11 | 12 |
    13 | @Body 14 |
    15 |
    16 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/Shared/Toggle.cshtml: -------------------------------------------------------------------------------- 1 | @using Forms.App.Common 2 | 3 | 6 | 7 | @functions 8 | { 9 | [CascadingParameter] protected ModalContext OutermostEnv { get; set; } 10 | [Parameter] string Class { get; set; } 11 | [Parameter] RenderFragment ChildContent { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.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 Forms.App 6 | @using Forms.App.Shared 7 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.App/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Identity 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Server/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Shared/Forms.Shared.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Shared/WeatherForecast.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Blazor Demos/0.7.0/Forms/Forms.Shared/WeatherForecast.cs -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Stuff/Bootstrap4/bootstrap-4.1.1-dist.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/Stuff/Bootstrap4/bootstrap-4.1.1-dist.zip -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/DataTables.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/DataTables.zip -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_asc.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_asc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_asc_disabled.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_both.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_desc.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_desc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/Stuff/DataTables-1.10.18/images/sort_desc_disabled.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Views/Demo/sidebar.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout-sidebar"; 3 | } 4 | 5 |
    6 | CONTENT 7 |
    8 | -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Views/Shared/pv_OnBehalfOfCustomers.cshtml: -------------------------------------------------------------------------------- 1 | @foreach (var c in Model.Customers) 2 | { 3 |
  • @c.Name
  • 4 | } -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/dino-ps-sm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/dino-ps-sm.jpg -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/eveningsea.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/eveningsea.JPG -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/loading.gif -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/poppies-xs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/poppies-xs.jpg -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/poppies.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/poppies.jpg -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/tracks.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/tracks.jpg -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/Bootstrap4/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/scripts/site/ybq-init-bs4.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2019 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/scripts/site/ybq-init-bs4.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/scripts/site/ybq-init-bs4.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/styles/ybq-core.min.css: -------------------------------------------------------------------------------- 1 | .ybq-inputfile img{border:solid 1px #111;cursor:pointer}.ybq-inputfile img:hover{opacity:.8}.ybq-inputfile-toolbar{margin-left:10px}.ybq-inputfile-placeholder{border:dashed 2px #444;padding:20px;font-size:130%;text-align:center;cursor:pointer}.ybq-inputfile-placeholder:hover{opacity:.8} -------------------------------------------------------------------------------- /Src/Extras/Bootstrap4/wwwroot/Content/styles/ybq-forms.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "requires": true, 3 | "lockfileVersion": 1, 4 | "dependencies": { 5 | "@aspnet/signalr": { 6 | "version": "1.0.4", 7 | "resolved": "https://registry.npmjs.org/@aspnet/signalr/-/signalr-1.0.4.tgz", 8 | "integrity": "sha512-q7HMlTZPkZCa/0UclsXvEyqNirpjRfRuwhjEeADD1i6pqe0Yx5OwuCO7+Xsc6MNKR8vE1C9MyxnSj0SecvUbTA==" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Extras/SignalAzure/SignalAzure/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/SignalFriend.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | netcoreapp2.0 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model SignalFriend.Models.IndexViewModel 2 | 3 |

    4 | WELCOME to Fakebook 5 |

    6 |
    7 | 8 | 9 | My Friends 10 | -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/wwwroot/Content/Fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalFriend/wwwroot/Content/Fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalFriend/wwwroot/Content/Fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/SignalR1/Controllers/Backend/Customer.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////// 2 | // 3 | // PROGRAMMING ASP.NET CORE 4 | // Dino Esposito 5 | // 6 | // EXTRAS 7 | // SignalR - 1 8 | // 9 | 10 | namespace SignalR1.Backend 11 | { 12 | public class Customer 13 | { 14 | public int Id { get; set; } 15 | public string Name { get; set; } 16 | public string Address { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Src/Extras/SignalR1/Views/Demo/socket.cshtml: -------------------------------------------------------------------------------- 1 | @model SignalR1.Models.ViewModelBase 2 | 3 | @section adhoc_Scripts_Top { 4 | 5 | } 6 | 7 | 8 |

    Web Sockets

    9 | 10 | 11 | -------------------------------------------------------------------------------- /Src/Extras/SignalR1/Views/Shared/pv_OnBehalfOfCustomers.cshtml: -------------------------------------------------------------------------------- 1 | @foreach (var c in Model.Customers) 2 | { 3 |
  • @c.Name
  • 4 | } -------------------------------------------------------------------------------- /Src/Extras/SignalR1/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Extras/SignalR1/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/SignalR1/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Extras/SignalR1/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Src/Extras/SignalRWinForm/WindCli/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/Views/Home/index.cshtml: -------------------------------------------------------------------------------- 1 | @model WebSock.Models.ViewModelBase 2 | 3 |

    WS CHAT-UP

    4 |

    @Model.UserName

    5 |
    6 | 7 |
    8 |
    9 | 10 | 11 |
    12 |
    13 | -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/WebSock.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.1 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | $(IncludeRazorContentInPack) 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/images/dafc4c99f69d9f542734c451b6bc8ae0.ico.zip -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/images/favicon.png -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/images/flags/en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/images/flags/en-us.png -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/images/flags/it-it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/images/flags/it-it.png -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/images/ybq-xs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/images/ybq-xs.png -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/images/ybq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/despos/ProgCore/4e23a2315d411fc1cb66a75f5e963ce5b341f1c3/Src/Extras/WebSock/WebSock/wwwroot/Content/images/ybq.png -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/scripts/site/ybq-coreinit.js: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////// 2 | // 3 | // Youbiquitous YBQ : app starter 4 | // Copyright (c) Youbiquitous srls 2017 5 | // 6 | // Author: Dino Esposito (http://youbiquitous.net) 7 | // 8 | 9 | (function () { 10 | Ybq.configureCommonElements(); 11 | Ybq.mobilize(); 12 | })(); -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/scripts/site/ybq-coreinit.min.js: -------------------------------------------------------------------------------- 1 | (function(){Ybq.configureCommonElements();Ybq.mobilize()})(); 2 | //# sourceMappingURL=ybq-coreinit.min.js.map 3 | -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/scripts/site/ybq-coreinit.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"ybq-coreinit.min.js", 4 | "lineCount":1, 5 | "mappings":"CAQC,QAAS,CAAA,CAAG,CACTA,GAAGC,wBAAwB,CAAA,CAAE,CAC7BD,GAAGE,SAAS,CAAA,CAFH,EAGX,CAAA,CAAE", 6 | "sources":["ybq-coreinit.js"], 7 | "names":["Ybq","configureCommonElements","mobilize"] 8 | } 9 | -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/styles/site/ybqapp-login.min.css: -------------------------------------------------------------------------------- 1 | a:hover,a:visited,a:link,a:active{text-decoration:none!important}.login-body{background:#444}.login-subtitle{text-align:center;font-size:1.9em;font-family:arial;text-transform:uppercase;color:#f0f0ff;padding:10px}.login-box-header{text-align:center;font-size:1.4em;font-family:arial;text-transform:uppercase}.login-applogo{width:400px;display:block;margin:auto}.login-customerlogo{display:block;margin:auto}.login-body a{color:#f5f5f5}.login-body a:hover{opacity:.7} -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/styles/site/ybqapp-site.css: -------------------------------------------------------------------------------- 1 | /* 2 | /////////////////////////////////////////////////////////////////// 3 | // 4 | // Youbiquitous YBQ : app starter 5 | // Copyright (c) Youbiquitous srls 2017 6 | // 7 | // Author: Dino Esposito (http://youbiquitous.net) 8 | // 9 | */ -------------------------------------------------------------------------------- /Src/Extras/WebSock/WebSock/wwwroot/Content/styles/site/ybqapp-site.min.css: -------------------------------------------------------------------------------- 1 |  --------------------------------------------------------------------------------