├── EventHub ├── AndroidApps │ ├── IOTDevice │ │ ├── .idea │ │ │ ├── .name │ │ │ ├── copyright │ │ │ │ └── profiles_settings.xml │ │ │ ├── scopes │ │ │ │ └── scope_settings.xml │ │ │ ├── encodings.xml │ │ │ ├── vcs.xml │ │ │ ├── modules.xml │ │ │ ├── gradle.xml │ │ │ ├── compiler.xml │ │ │ └── misc.xml │ │ ├── settings.gradle │ │ ├── .gitignore │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── Application │ │ │ ├── libs │ │ │ │ └── android-async-http-1.4.6.jar │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── res │ │ │ │ ├── drawable-hdpi │ │ │ │ ├── tile.9.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ │ ├── drawable-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── fragmentview_strings.xml │ │ │ │ └── template-dimens.xml │ │ │ │ ├── menu │ │ │ │ ├── menu_main.xml │ │ │ │ ├── menu_main_activity2.xml │ │ │ │ ├── main.xml │ │ │ │ └── option_menu.xml │ │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ │ ├── values-v21 │ │ │ │ ├── base-colors.xml │ │ │ │ └── base-template-styles.xml │ │ │ │ ├── values-v11 │ │ │ │ └── template-styles.xml │ │ │ │ ├── values-sw600dp │ │ │ │ ├── template-dimens.xml │ │ │ │ └── template-styles.xml │ │ │ │ └── layout │ │ │ │ ├── message.xml │ │ │ │ └── device_name.xml │ │ ├── build.gradle │ │ ├── gradle.properties │ │ └── IOTDevice.iml │ └── EventHubSender │ │ ├── .idea │ │ ├── .name │ │ ├── copyright │ │ │ └── profiles_settings.xml │ │ ├── scopes │ │ │ └── scope_settings.xml │ │ ├── encodings.xml │ │ ├── vcs.xml │ │ ├── modules.xml │ │ ├── gradle.xml │ │ ├── compiler.xml │ │ └── misc.xml │ │ ├── settings.gradle │ │ ├── .gitignore │ │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ │ ├── Application │ │ ├── libs │ │ │ └── android-async-http-1.4.6.jar │ │ └── src │ │ │ └── main │ │ │ └── res │ │ │ ├── drawable-hdpi │ │ │ ├── tile.9.png │ │ │ ├── ic_launcher.png │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ ├── drawable-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ ├── drawable-xhdpi │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ ├── drawable-xxhdpi │ │ │ └── ic_action_device_access_bluetooth_searching.png │ │ │ ├── values │ │ │ ├── dimens.xml │ │ │ ├── fragmentview_strings.xml │ │ │ └── template-dimens.xml │ │ │ ├── menu │ │ │ ├── menu_main.xml │ │ │ ├── menu_main_activity2.xml │ │ │ ├── main.xml │ │ │ └── option_menu.xml │ │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ │ ├── values-v21 │ │ │ ├── base-colors.xml │ │ │ └── base-template-styles.xml │ │ │ ├── values-v11 │ │ │ └── template-styles.xml │ │ │ ├── values-sw600dp │ │ │ ├── template-dimens.xml │ │ │ └── template-styles.xml │ │ │ └── layout │ │ │ ├── device_name.xml │ │ │ └── message.xml │ │ ├── build.gradle │ │ ├── gradle.properties │ │ └── EventHubSender.iml └── RealTimeIOTTracker │ ├── RealTimeIOTTracker │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── Default.aspx.cs │ ├── Startup.cs │ ├── Scripts │ │ └── npm.js │ └── Default.aspx.designer.cs │ └── SignatureGenerator │ ├── packages.config │ └── Default.aspx.cs ├── contents ├── eventhub.JPG ├── azure-arch.JPG ├── IOTTracker-web-app.png ├── azure-arch-webjobs.JPG ├── azure-arch-appservices.JPG └── azure-servicebus-appservices.JPG ├── WebSite └── AzureGuidance │ ├── AzureGuidance.API │ ├── Views │ │ ├── _ViewStart.cshtml │ │ └── Shared │ │ │ └── Error.cshtml │ ├── Global.asax │ ├── favicon.ico │ ├── Scripts │ │ └── _references.js │ ├── Areas │ │ └── HelpPage │ │ │ ├── Views │ │ │ ├── Help │ │ │ │ ├── DisplayTemplates │ │ │ │ │ ├── ImageSample.cshtml │ │ │ │ │ ├── TextSample.cshtml │ │ │ │ │ ├── SimpleTypeModelDescription.cshtml │ │ │ │ │ ├── ComplexTypeModelDescription.cshtml │ │ │ │ │ ├── CollectionModelDescription.cshtml │ │ │ │ │ ├── InvalidSample.cshtml │ │ │ │ │ ├── KeyValuePairModelDescription.cshtml │ │ │ │ │ ├── DictionaryModelDescription.cshtml │ │ │ │ │ ├── EnumTypeModelDescription.cshtml │ │ │ │ │ ├── Samples.cshtml │ │ │ │ │ └── ModelDescriptionLink.cshtml │ │ │ │ ├── ResourceModel.cshtml │ │ │ │ ├── Api.cshtml │ │ │ │ └── Index.cshtml │ │ │ ├── _ViewStart.cshtml │ │ │ └── Shared │ │ │ │ └── _Layout.cshtml │ │ │ ├── ModelDescriptions │ │ │ ├── SimpleTypeModelDescription.cs │ │ │ ├── DictionaryModelDescription.cs │ │ │ ├── CollectionModelDescription.cs │ │ │ ├── ParameterAnnotation.cs │ │ │ ├── EnumValueDescription.cs │ │ │ ├── KeyValuePairModelDescription.cs │ │ │ ├── IModelDocumentationProvider.cs │ │ │ ├── ModelDescription.cs │ │ │ ├── ComplexTypeModelDescription.cs │ │ │ ├── EnumTypeModelDescription.cs │ │ │ ├── ModelNameAttribute.cs │ │ │ └── ParameterDescription.cs │ │ │ ├── SampleGeneration │ │ │ ├── SampleDirection.cs │ │ │ ├── TextSample.cs │ │ │ ├── InvalidSample.cs │ │ │ └── ImageSample.cs │ │ │ └── HelpPageAreaRegistration.cs │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ ├── App_Start │ │ ├── FilterConfig.cs │ │ ├── RouteConfig.cs │ │ ├── WebApiConfig.cs │ │ └── BundleConfig.cs │ ├── Content │ │ └── Site.css │ ├── Startup.cs │ ├── Controllers │ │ └── HomeController.cs │ ├── Models │ │ ├── OrderResource.cs │ │ ├── AccountViewModels.cs │ │ └── IdentityModels.cs │ ├── Global.asax.cs │ ├── Results │ │ └── ChallengeResult.cs │ └── Web.Debug.config │ ├── AureGuidance.WebSite │ ├── Views │ │ ├── _ViewStart.cshtml │ │ ├── Home │ │ │ ├── About.cshtml │ │ │ └── Contact.cshtml │ │ └── Shared │ │ │ ├── Error.cshtml │ │ │ └── _CustomerOrder.cshtml │ ├── Global.asax │ ├── favicon.ico │ ├── Scripts │ │ └── _references.js │ ├── .nuget │ │ └── packages.config │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ ├── Properties │ │ └── webjobs-list.json │ ├── App_Start │ │ ├── FilterConfig.cs │ │ └── RouteConfig.cs │ ├── Content │ │ └── Site.css │ ├── Controllers │ │ └── HomeController.cs │ ├── Global.asax.cs │ └── Web.Debug.config │ ├── AzureGuidance.WebJob │ ├── Performance │ │ └── Microsoft.ServiceBus.MessagingPerformanceCounters.man │ ├── Properties │ │ └── webjob-publish-settings.json │ ├── Program.cs │ └── packages.config │ ├── AzureGuidance.Domain │ └── packages.config │ ├── AzureGuidance.Common │ ├── packages.config │ └── app.config │ └── AzureGuidance.Notification │ ├── Properties │ └── webjob-publish-settings.json │ ├── Program.cs │ ├── packages.config │ └── App.config ├── AppServices └── AzureGuidance │ ├── AureGuidance.WebSite │ ├── Views │ │ ├── _ViewStart.cshtml │ │ ├── Home │ │ │ ├── About.cshtml │ │ │ └── Contact.cshtml │ │ └── Shared │ │ │ ├── Error.cshtml │ │ │ └── _CustomerOrder.cshtml │ ├── Global.asax │ ├── favicon.ico │ ├── Scripts │ │ └── _references.js │ ├── .nuget │ │ └── packages.config │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ ├── Models │ │ └── OrderResource.cs │ ├── Properties │ │ └── webjobs-list.json │ ├── App_Start │ │ ├── FilterConfig.cs │ │ └── RouteConfig.cs │ ├── Content │ │ └── Site.css │ ├── Controllers │ │ └── HomeController.cs │ ├── Global.asax.cs │ └── Web.Debug.config │ ├── WebApi │ ├── Global.asax │ ├── Metadata │ │ └── deploymentTemplates │ │ │ └── apiappconfig.azureresource.json │ ├── apiapp.json │ ├── Global.asax.cs │ ├── Models │ │ └── OrderResource.cs │ ├── App_Start │ │ └── WebApiConfig.cs │ └── Web.Debug.config │ ├── AzureGuidance.WebJob │ ├── Performance │ │ └── Microsoft.ServiceBus.MessagingPerformanceCounters.man │ ├── Properties │ │ └── webjob-publish-settings.json │ ├── Program.cs │ └── packages.config │ ├── AzureGuidance.BackGroundWebsite │ ├── Properties │ │ └── webjobs-list.json │ ├── packages.config │ └── Web.config │ ├── AzureGuidance.Domain │ └── packages.config │ ├── AzureGuidance.NotificationWebSite │ └── Properties │ │ └── webjobs-list.json │ ├── AzureGuidance.Common │ ├── packages.config │ └── app.config │ ├── AzureGuidance.Notification │ ├── Properties │ │ └── webjob-publish-settings.json │ ├── Program.cs │ └── packages.config │ ├── AzureGuidanceNotification │ ├── Properties │ │ └── webjob-publish-settings.json │ ├── Functions.cs │ ├── Program.cs │ ├── packages.config │ └── App.config │ └── PublishScripts │ └── Configurations │ ├── AzureGuidanceBackGroundWebsite-WAWS-dev.json │ └── AzureGuidanceNotificationWebSite-WAWS-dev.json ├── CloudServices └── AzureGuidance │ ├── AzureGuidance.API │ ├── Views │ │ ├── _ViewStart.cshtml │ │ └── Shared │ │ │ └── Error.cshtml │ ├── Global.asax │ ├── favicon.ico │ ├── Scripts │ │ └── _references.js │ ├── Areas │ │ └── HelpPage │ │ │ ├── Views │ │ │ ├── Help │ │ │ │ ├── DisplayTemplates │ │ │ │ │ ├── ImageSample.cshtml │ │ │ │ │ ├── TextSample.cshtml │ │ │ │ │ ├── SimpleTypeModelDescription.cshtml │ │ │ │ │ ├── ComplexTypeModelDescription.cshtml │ │ │ │ │ ├── CollectionModelDescription.cshtml │ │ │ │ │ ├── InvalidSample.cshtml │ │ │ │ │ ├── KeyValuePairModelDescription.cshtml │ │ │ │ │ ├── DictionaryModelDescription.cshtml │ │ │ │ │ ├── EnumTypeModelDescription.cshtml │ │ │ │ │ ├── Samples.cshtml │ │ │ │ │ └── ModelDescriptionLink.cshtml │ │ │ │ ├── ResourceModel.cshtml │ │ │ │ ├── Api.cshtml │ │ │ │ └── Index.cshtml │ │ │ ├── _ViewStart.cshtml │ │ │ └── Shared │ │ │ │ └── _Layout.cshtml │ │ │ ├── ModelDescriptions │ │ │ ├── SimpleTypeModelDescription.cs │ │ │ ├── DictionaryModelDescription.cs │ │ │ ├── CollectionModelDescription.cs │ │ │ ├── ParameterAnnotation.cs │ │ │ ├── EnumValueDescription.cs │ │ │ ├── KeyValuePairModelDescription.cs │ │ │ ├── IModelDocumentationProvider.cs │ │ │ ├── ModelDescription.cs │ │ │ ├── ComplexTypeModelDescription.cs │ │ │ ├── EnumTypeModelDescription.cs │ │ │ ├── ParameterDescription.cs │ │ │ └── ModelNameAttribute.cs │ │ │ ├── SampleGeneration │ │ │ ├── SampleDirection.cs │ │ │ ├── TextSample.cs │ │ │ ├── InvalidSample.cs │ │ │ └── ImageSample.cs │ │ │ └── HelpPageAreaRegistration.cs │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ ├── App_Start │ │ ├── FilterConfig.cs │ │ ├── RouteConfig.cs │ │ ├── WebApiConfig.cs │ │ └── BundleConfig.cs │ ├── Content │ │ └── Site.css │ ├── Startup.cs │ ├── Controllers │ │ └── HomeController.cs │ ├── Models │ │ ├── OrderResource.cs │ │ ├── AccountViewModels.cs │ │ └── IdentityModels.cs │ ├── Global.asax.cs │ ├── Results │ │ └── ChallengeResult.cs │ └── Web.Debug.config │ ├── AzureGuidance.Web │ ├── Views │ │ ├── _ViewStart.cshtml │ │ ├── Order │ │ │ └── Index.cshtml │ │ ├── Home │ │ │ ├── About.cshtml │ │ │ └── Contact.cshtml │ │ ├── Account │ │ │ ├── ExternalLoginFailure.cshtml │ │ │ ├── ForgotPasswordConfirmation.cshtml │ │ │ ├── ConfirmEmail.cshtml │ │ │ ├── ResetPasswordConfirmation.cshtml │ │ │ ├── SendCode.cshtml │ │ │ ├── ForgotPassword.cshtml │ │ │ └── _ExternalLoginsListPartial.cshtml │ │ ├── Shared │ │ │ ├── Error.cshtml │ │ │ ├── Lockout.cshtml │ │ │ ├── _CustomerOrder.cshtml │ │ │ └── _LoginPartial.cshtml │ │ └── Manage │ │ │ ├── AddPhoneNumber.cshtml │ │ │ └── VerifyPhoneNumber.cshtml │ ├── Global.asax │ ├── favicon.ico │ ├── Scripts │ │ └── _references.js │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ ├── App_Start │ │ ├── FilterConfig.cs │ │ ├── WebApiConfig.cs │ │ └── RouteConfig.cs │ ├── Startup.cs │ ├── WebRole.cs │ ├── Controllers │ │ └── HomeController.cs │ ├── Global.asax.cs │ ├── Models │ │ └── IdentityModels.cs │ └── Web.Debug.config │ ├── AzureGuidance.Domain │ └── packages.config │ ├── AzureGuidance.Common │ ├── packages.config │ └── app.config │ ├── AzureGuidance.Notification │ ├── app.config │ └── packages.config │ ├── PublishScripts │ └── Configurations │ │ └── AureGuidanceWebSite-WAWS-dev.json │ ├── AzureGuidance.Worker │ └── packages.config │ ├── ServiceConfiguration.Cloud.cscfg │ ├── ServiceConfiguration.Local.cscfg │ └── ServiceDefinition.csdef └── LICENSE /EventHub/AndroidApps/IOTDevice/.idea/.name: -------------------------------------------------------------------------------- 1 | IOTDevice -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/.name: -------------------------------------------------------------------------------- 1 | EventHubSender -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':Application' 2 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':Application' 2 | -------------------------------------------------------------------------------- /contents/eventhub.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/contents/eventhub.JPG -------------------------------------------------------------------------------- /contents/azure-arch.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/contents/azure-arch.JPG -------------------------------------------------------------------------------- /contents/IOTTracker-web-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/contents/IOTTracker-web-app.png -------------------------------------------------------------------------------- /contents/azure-arch-webjobs.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/contents/azure-arch-webjobs.JPG -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /contents/azure-arch-appservices.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/contents/azure-arch-appservices.JPG -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /contents/azure-servicebus-appservices.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/contents/azure-servicebus-appservices.JPG -------------------------------------------------------------------------------- /AppServices/AzureGuidance/WebApi/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="WebApi.WebApiApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="AzureGuidance.API.WebApiApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AzureGuidance.API/favicon.ico -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="AzureGuidance.Web.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="AureGuidance.WebSite.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AureGuidance.WebSite/favicon.ico -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="AureGuidance.WebSite.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="AzureGuidance.API.WebApiApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.API/favicon.ico -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.Web/favicon.ico -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/AppServices/AzureGuidance/AureGuidance.WebSite/favicon.ico -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Scripts/_references.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AzureGuidance.API/Scripts/_references.js -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Scripts/_references.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AureGuidance.WebSite/Scripts/_references.js -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Scripts/_references.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/AppServices/AzureGuidance/AureGuidance.WebSite/Scripts/_references.js -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Scripts/_references.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.API/Scripts/_references.js -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Scripts/_references.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.Web/Scripts/_references.js -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage 2 | @model ImageSample 3 | 4 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage 2 | @model ImageSample 3 | 4 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Order/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model IEnumerable 2 | @{ 3 | ViewBag.Title = "Products"; 4 | } 5 | 6 |

Products available

7 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/libs/android-async-http-1.4.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/libs/android-async-http-1.4.6.jar -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-hdpi/tile.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-hdpi/tile.9.png -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/.nuget/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/.nuget/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/libs/android-async-http-1.4.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/libs/android-async-http-1.4.6.jar -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage 2 | @model TextSample 3 | 4 |
5 | @Model.Text
6 | 
-------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/AppServices/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/AppServices/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage 2 | @model TextSample 3 | 4 |
5 | @Model.Text
6 | 
-------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.API/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.Web/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.Web/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/CloudServices/AzureGuidance/AzureGuidance.Web/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-hdpi/tile.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-hdpi/tile.9.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Models/OrderResource.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | 6 | namespace AureGuidance.WebSite.Models 7 | { 8 | 9 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/AppServices/AzureGuidance/AureGuidance.WebSite/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/RealTimeIOTTracker/RealTimeIOTTracker/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Views/Home/About.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "About"; 3 | } 4 |

@ViewBag.Title.

5 |

@ViewBag.Message

6 | 7 |

Use this area to provide additional information.

8 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model SimpleTypeModelDescription 3 | @Model.Documentation -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Views/Home/About.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "About"; 3 | } 4 |

@ViewBag.Title.

5 |

@ViewBag.Message

6 | 7 |

Use this area to provide additional information.

8 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model SimpleTypeModelDescription 3 | @Model.Documentation -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Home/About.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "About"; 3 | } 4 |

@ViewBag.Title.

5 |

@ViewBag.Message

6 | 7 |

Use this area to provide additional information.

8 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | // Change the Layout path below to blend the look and feel of the help page with your existing web pages 3 | Layout = "~/Views/Shared/_Layout.cshtml"; 4 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | // Change the Layout path below to blend the look and feel of the help page with your existing web pages 3 | Layout = "~/Views/Shared/_Layout.cshtml"; 4 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class SimpleTypeModelDescription : ModelDescription 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class SimpleTypeModelDescription : ModelDescription 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/ComplexTypeModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model ComplexTypeModelDescription 3 | @Html.DisplayFor(m => m.Properties, "Parameters") -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/ComplexTypeModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model ComplexTypeModelDescription 3 | @Html.DisplayFor(m => m.Properties, "Parameters") -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class DictionaryModelDescription : KeyValuePairModelDescription 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Account/ExternalLoginFailure.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Login Failure"; 3 | } 4 | 5 |
6 |

@ViewBag.Title.

7 |

Unsuccessful login with service.

8 |
9 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Properties/webjobs-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjobs-list.json", 3 | "WebJobs": [ 4 | { 5 | "filePath": "../AzureGuidance.WebJob/AzureGuidance.WebJob.csproj" 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.WebJob/Performance/Microsoft.ServiceBus.MessagingPerformanceCounters.man: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/WebSite/AzureGuidance/AzureGuidance.WebJob/Performance/Microsoft.ServiceBus.MessagingPerformanceCounters.man -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Properties/webjobs-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjobs-list.json", 3 | "WebJobs": [ 4 | { 5 | "filePath": "../AzureGuidance.WebJob/AzureGuidance.WebJob.csproj" 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.WebJob/Performance/Microsoft.ServiceBus.MessagingPerformanceCounters.man: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/AppServices/AzureGuidance/AzureGuidance.WebJob/Performance/Microsoft.ServiceBus.MessagingPerformanceCounters.man -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class DictionaryModelDescription : KeyValuePairModelDescription 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.BackGroundWebsite/Properties/webjobs-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjobs-list.json", 3 | "WebJobs": [ 4 | { 5 | "filePath": "../AzureGuidance.WebJob/AzureGuidance.WebJob.csproj" 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-hdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-hdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-mdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-mdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.Domain/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-xhdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-xhdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-xxhdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/IOTDevice/Application/src/main/res/drawable-xxhdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.Domain/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Domain/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-hdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-hdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-mdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-mdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.NotificationWebSite/Properties/webjobs-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjobs-list.json", 3 | "WebJobs": [ 4 | { 5 | "filePath": "../AzureGuidance.Notification/AzureGuidance.Notification.csproj" 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @model System.Web.Mvc.HandleErrorInfo 2 | 3 | @{ 4 | ViewBag.Title = "Error"; 5 | } 6 | 7 |

Error.

8 |

An error occurred while processing your request.

9 | 10 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-xhdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-xhdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-xxhdpi/ic_action_device_access_bluetooth_searching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AccelNA/azure-guidance/HEAD/EventHub/AndroidApps/EventHubSender/Application/src/main/res/drawable-xxhdpi/ic_action_device_access_bluetooth_searching.png -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.Common/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.Common/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Common/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 10 15:27:10 PDT 2013 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip 7 | -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/SignatureGenerator/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 10 15:27:10 PDT 2013 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip 7 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class CollectionModelDescription : ModelDescription 4 | { 5 | public ModelDescription ElementDescription { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class CollectionModelDescription : ModelDescription 4 | { 5 | public ModelDescription ElementDescription { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/CollectionModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model CollectionModelDescription 3 | @if (Model.ElementDescription is ComplexTypeModelDescription) 4 | { 5 | @Html.DisplayFor(m => m.ElementDescription) 6 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/CollectionModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model CollectionModelDescription 3 | @if (Model.ElementDescription is ComplexTypeModelDescription) 4 | { 5 | @Html.DisplayFor(m => m.ElementDescription) 6 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Shared/Lockout.cshtml: -------------------------------------------------------------------------------- 1 | @model System.Web.Mvc.HandleErrorInfo 2 | 3 | @{ 4 | ViewBag.Title = "Locked Out"; 5 | } 6 | 7 |
8 |

Locked out.

9 |

This account has been locked out, please try again later.

10 |
11 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.WebJob/Properties/webjob-publish-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", 3 | "webJobName": "AzureGuidanceWebJob", 4 | "startTime": null, 5 | "endTime": null, 6 | "jobRecurrenceFrequency": null, 7 | "interval": null, 8 | "runMode": "Continuous" 9 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.WebJob/Properties/webjob-publish-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", 3 | "webJobName": "AzureGuidanceWebJob", 4 | "startTime": null, 5 | "endTime": null, 6 | "jobRecurrenceFrequency": null, 7 | "interval": null, 8 | "runMode": "Continuous" 9 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/WebApi/Metadata/deploymentTemplates/apiappconfig.azureresource.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemas.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", 3 | "contentVersion": "1.0.0.0", 4 | "parameters": { 5 | "$system": { 6 | "type": "Object" 7 | } 8 | }, 9 | "resources": [] 10 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Account/ForgotPasswordConfirmation.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Forgot Password Confirmation"; 3 | } 4 | 5 |
6 |

@ViewBag.Title.

7 |
8 |
9 |

10 | Please check your email to reset your password. 11 |

12 |
13 | 14 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.Notification/Properties/webjob-publish-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", 3 | "webJobName": "AzureGuidanceNotification", 4 | "startTime": null, 5 | "endTime": null, 6 | "jobRecurrenceFrequency": null, 7 | "interval": null, 8 | "runMode": "Continuous" 9 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidanceNotification/Properties/webjob-publish-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", 3 | "webJobName": "AzureGuidanceNotification", 4 | "startTime": null, 5 | "endTime": null, 6 | "jobRecurrenceFrequency": null, 7 | "interval": null, 8 | "runMode": "Continuous" 9 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.Notification/Properties/webjob-publish-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", 3 | "webJobName": "AzureGuidanceNotification", 4 | "startTime": null, 5 | "endTime": null, 6 | "jobRecurrenceFrequency": null, 7 | "interval": null, 8 | "runMode": "Continuous" 9 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/SampleDirection.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage 2 | { 3 | /// 4 | /// Indicates whether the sample is used for request or response 5 | /// 6 | public enum SampleDirection 7 | { 8 | Request = 0, 9 | Response 10 | } 11 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/SampleDirection.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage 2 | { 3 | /// 4 | /// Indicates whether the sample is used for request or response 5 | /// 6 | public enum SampleDirection 7 | { 8 | Request = 0, 9 | Response 10 | } 11 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | public class ParameterAnnotation 6 | { 7 | public Attribute AnnotationAttribute { get; set; } 8 | 9 | public string Documentation { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | public class ParameterAnnotation 6 | { 7 | public Attribute AnnotationAttribute { get; set; } 8 | 9 | public string Documentation { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class EnumValueDescription 4 | { 5 | public string Documentation { get; set; } 6 | 7 | public string Name { get; set; } 8 | 9 | public string Value { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | @ViewBag.Title 7 | @RenderSection("scripts", required: false) 8 | 9 | 10 | @RenderBody() 11 | 12 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class EnumValueDescription 4 | { 5 | public string Documentation { get; set; } 6 | 7 | public string Name { get; set; } 8 | 9 | public string Value { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | @ViewBag.Title 7 | @RenderSection("scripts", required: false) 8 | 9 | 10 | @RenderBody() 11 | 12 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Account/ConfirmEmail.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Confirm Email"; 3 | } 4 | 5 |

@ViewBag.Title.

6 |
7 |

8 | Thank you for confirming your email. Please @Html.ActionLink("Click here to Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" }) 9 |

10 |
11 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/App_Start/FilterConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Mvc; 3 | 4 | namespace AzureGuidance.API 5 | { 6 | public class FilterConfig 7 | { 8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) 9 | { 10 | filters.Add(new HandleErrorAttribute()); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/App_Start/FilterConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Mvc; 3 | 4 | namespace AzureGuidance.API 5 | { 6 | public class FilterConfig 7 | { 8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) 9 | { 10 | filters.Add(new HandleErrorAttribute()); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/App_Start/FilterConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Mvc; 3 | 4 | namespace AzureGuidance.Web 5 | { 6 | public class FilterConfig 7 | { 8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) 9 | { 10 | filters.Add(new HandleErrorAttribute()); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/App_Start/FilterConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Mvc; 3 | 4 | namespace AureGuidance.WebSite 5 | { 6 | public class FilterConfig 7 | { 8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) 9 | { 10 | filters.Add(new HandleErrorAttribute()); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage 2 | @model InvalidSample 3 | 4 | @if (HttpContext.Current.IsDebuggingEnabled) 5 | { 6 |
7 |

@Model.ErrorMessage

8 |
9 | } 10 | else 11 | { 12 |

Sample not available.

13 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/App_Start/FilterConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Mvc; 3 | 4 | namespace AureGuidance.WebSite 5 | { 6 | public class FilterConfig 7 | { 8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) 9 | { 10 | filters.Add(new HandleErrorAttribute()); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage 2 | @model InvalidSample 3 | 4 | @if (HttpContext.Current.IsDebuggingEnabled) 5 | { 6 |
7 |

@Model.ErrorMessage

8 |
9 | } 10 | else 11 | { 12 |

Sample not available.

13 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Startup.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Owin; 2 | using Owin; 3 | 4 | [assembly: OwinStartupAttribute(typeof(AzureGuidance.Web.Startup))] 5 | namespace AzureGuidance.Web 6 | { 7 | public partial class Startup 8 | { 9 | public void Configuration(IAppBuilder app) 10 | { 11 | ConfigureAuth(app); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class KeyValuePairModelDescription : ModelDescription 4 | { 5 | public ModelDescription KeyModelDescription { get; set; } 6 | 7 | public ModelDescription ValueModelDescription { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs: -------------------------------------------------------------------------------- 1 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | { 3 | public class KeyValuePairModelDescription : ModelDescription 4 | { 5 | public ModelDescription KeyModelDescription { get; set; } 6 | 7 | public ModelDescription ValueModelDescription { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Reflection; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 5 | { 6 | public interface IModelDocumentationProvider 7 | { 8 | string GetDocumentation(MemberInfo member); 9 | 10 | string GetDocumentation(Type type); 11 | } 12 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Reflection; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 5 | { 6 | public interface IModelDocumentationProvider 7 | { 8 | string GetDocumentation(MemberInfo member); 9 | 10 | string GetDocumentation(Type type); 11 | } 12 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = null; 3 | } 4 | 5 | 6 | 7 | 8 | 9 | Error 10 | 11 | 12 |
13 |

Error.

14 |

An error occurred while processing your request.

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = null; 3 | } 4 | 5 | 6 | 7 | 8 | 9 | Error 10 | 11 | 12 |
13 |

Error.

14 |

An error occurred while processing your request.

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = null; 3 | } 4 | 5 | 6 | 7 | 8 | 9 | Error 10 | 11 | 12 |
13 |

Error.

14 |

An error occurred while processing your request.

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = null; 3 | } 4 | 5 | 6 | 7 | 8 | 9 | Error 10 | 11 | 12 |
13 |

Error.

14 |

An error occurred while processing your request.

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/WebApi/apiapp.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/schemas/2014-11-01/apiapp.json#", 3 | "id": "WebApi", 4 | "namespace": "microsoft.com", 5 | "gateway": "2015-01-14", 6 | "version": "1.0.0", 7 | "title": "WebApi", 8 | "summary": "", 9 | "author": "", 10 | "endpoints": { 11 | "apiDefinition": "/swagger/docs/v1", 12 | "status": null 13 | } 14 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Content/Site.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | padding-bottom: 20px; 4 | } 5 | 6 | /* Set padding to keep content from hitting the edges */ 7 | .body-content { 8 | padding-left: 15px; 9 | padding-right: 15px; 10 | } 11 | 12 | /* Set width on the form input elements since they're 100% wide by default */ 13 | input, 14 | select, 15 | textarea { 16 | max-width: 280px; 17 | } 18 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Content/Site.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | padding-bottom: 20px; 4 | } 5 | 6 | /* Set padding to keep content from hitting the edges */ 7 | .body-content { 8 | padding-left: 15px; 9 | padding-right: 15px; 10 | } 11 | 12 | /* Set width on the form input elements since they're 100% wide by default */ 13 | input, 14 | select, 15 | textarea { 16 | max-width: 280px; 17 | } 18 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/RealTimeIOTTracker/Default.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace RealTimeWebApp 9 | { 10 | public partial class Default : System.Web.UI.Page 11 | { 12 | protected void Page_Load(object sender, EventArgs e) 13 | { 14 | 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Account/ResetPasswordConfirmation.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Reset password confirmation"; 3 | } 4 | 5 |
6 |

@ViewBag.Title.

7 |
8 |
9 |

10 | Your password has been reset. Please @Html.ActionLink("click here to log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" }) 11 |

12 |
13 | -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/RealTimeIOTTracker/Startup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading.Tasks; 3 | using Microsoft.Owin; 4 | using Owin; 5 | using Microsoft.AspNet.SignalR; 6 | 7 | [assembly: OwinStartup(typeof(RealTimeWebApp.Startup))] 8 | 9 | namespace RealTimeWebApp 10 | { 11 | public class Startup 12 | { 13 | public void Configuration(IAppBuilder app) 14 | { 15 | app.MapSignalR(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Startup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.Owin; 5 | using Owin; 6 | 7 | [assembly: OwinStartup(typeof(AzureGuidance.API.Startup))] 8 | 9 | namespace AzureGuidance.API 10 | { 11 | public partial class Startup 12 | { 13 | public void Configuration(IAppBuilder app) 14 | { 15 | ConfigureAuth(app); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Startup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.Owin; 5 | using Owin; 6 | 7 | [assembly: OwinStartup(typeof(AzureGuidance.API.Startup))] 8 | 9 | namespace AzureGuidance.API 10 | { 11 | public partial class Startup 12 | { 13 | public void Configuration(IAppBuilder app) 14 | { 15 | ConfigureAuth(app); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/WebApi/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Http; 6 | using System.Web.Routing; 7 | 8 | namespace WebApi 9 | { 10 | public class WebApiApplication : System.Web.HttpApplication 11 | { 12 | protected void Application_Start() 13 | { 14 | GlobalConfiguration.Configure(WebApiConfig.Register); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | 7 | namespace AzureGuidance.API.Controllers 8 | { 9 | public class HomeController : Controller 10 | { 11 | public ActionResult Index() 12 | { 13 | ViewBag.Title = "Home Page"; 14 | 15 | return View(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | 7 | namespace AzureGuidance.API.Controllers 8 | { 9 | public class HomeController : Controller 10 | { 11 | public ActionResult Index() 12 | { 13 | ViewBag.Title = "Home Page"; 14 | 15 | return View(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/menu/menu_main_activity2.xml: -------------------------------------------------------------------------------- 1 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Models/OrderResource.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using AzureGuidance.Domain; 6 | 7 | namespace AzureGuidance.API.Models 8 | { 9 | public class OrderResource 10 | { 11 | public IEnumerable Data { get; set; } 12 | } 13 | public class ProductResource 14 | { 15 | public IEnumerable Data { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Models/OrderResource.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using AzureGuidance.Domain; 6 | 7 | namespace AzureGuidance.API.Models 8 | { 9 | public class OrderResource 10 | { 11 | public IEnumerable Data { get; set; } 12 | } 13 | public class ProductResource 14 | { 15 | public IEnumerable Data { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ModelDescription.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | /// 6 | /// Describes a type model. 7 | /// 8 | public abstract class ModelDescription 9 | { 10 | public string Documentation { get; set; } 11 | 12 | public Type ModelType { get; set; } 13 | 14 | public string Name { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ModelDescription.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | /// 6 | /// Describes a type model. 7 | /// 8 | public abstract class ModelDescription 9 | { 10 | public string Documentation { get; set; } 11 | 12 | public Type ModelType { get; set; } 13 | 14 | public string Name { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/menu/menu_main_activity2.xml: -------------------------------------------------------------------------------- 1 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model KeyValuePairModelDescription 3 | Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key] 4 | and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value] -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model KeyValuePairModelDescription 3 | Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key] 4 | and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value] -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/DictionaryModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model DictionaryModelDescription 3 | Dictionary of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key] 4 | and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value] -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/DictionaryModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model DictionaryModelDescription 3 | Dictionary of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key] 4 | and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value] -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.ObjectModel; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | public class ComplexTypeModelDescription : ModelDescription 6 | { 7 | public ComplexTypeModelDescription() 8 | { 9 | Properties = new Collection(); 10 | } 11 | 12 | public Collection Properties { get; private set; } 13 | } 14 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.ObjectModel; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | public class ComplexTypeModelDescription : ModelDescription 6 | { 7 | public ComplexTypeModelDescription() 8 | { 9 | Properties = new Collection(); 10 | } 11 | 12 | public Collection Properties { get; private set; } 13 | } 14 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/WebApi/Models/OrderResource.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using AzureGuidance.Domain; 6 | 7 | namespace WebApi.Models 8 | { 9 | public class OrderResource 10 | { 11 | public IEnumerable Orders { get; set; } 12 | public IEnumerable OrderProducts { get; set; } 13 | 14 | } 15 | public class ProductResource 16 | { 17 | 18 | public IEnumerable ProductsAvailable { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:1.0.0' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:1.0.0' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 5 | { 6 | public class EnumTypeModelDescription : ModelDescription 7 | { 8 | public EnumTypeModelDescription() 9 | { 10 | Values = new Collection(); 11 | } 12 | 13 | public Collection Values { get; private set; } 14 | } 15 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 5 | { 6 | public class EnumTypeModelDescription : ModelDescription 7 | { 8 | public EnumTypeModelDescription() 9 | { 10 | Values = new Collection(); 11 | } 12 | 13 | public Collection Values { get; private set; } 14 | } 15 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Views/Home/Contact.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Contact"; 3 | } 4 |

@ViewBag.Title.

5 |

@ViewBag.Message

6 | 7 |
8 | One Microsoft Way
9 | Redmond, WA 98052-6399
10 | P: 11 | 425.555.0100 12 |
13 | 14 |
15 | Support: Support@example.com
16 | Marketing: Marketing@example.com 17 |
-------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Views/Home/Contact.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Contact"; 3 | } 4 |

@ViewBag.Title.

5 |

@ViewBag.Message

6 | 7 |
8 | One Microsoft Way
9 | Redmond, WA 98052-6399
10 | P: 11 | 425.555.0100 12 |
13 | 14 |
15 | Support: Support@example.com
16 | Marketing: Marketing@example.com 17 |
-------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Home/Contact.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Contact"; 3 | } 4 |

@ViewBag.Title.

5 |

@ViewBag.Message

6 | 7 |
8 | One Microsoft Way
9 | Redmond, WA 98052-6399
10 | P: 11 | 425.555.0100 12 |
13 | 14 |
15 | Support: Support@example.com
16 | Marketing: Marketing@example.com 17 |
-------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Common/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/RealTimeIOTTracker/Scripts/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Notification/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/WebRole.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.WindowsAzure; 5 | using Microsoft.WindowsAzure.Diagnostics; 6 | using Microsoft.WindowsAzure.ServiceRuntime; 7 | 8 | namespace AzureGuidance.Web 9 | { 10 | public class WebRole : RoleEntryPoint 11 | { 12 | public override bool OnStart() 13 | { 14 | // For information on handling configuration changes 15 | // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357. 16 | 17 | return base.OnStart(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/PublishScripts/Configurations/AureGuidanceWebSite-WAWS-dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "environmentSettings": { 3 | "webSite": { 4 | "name": "AureGuidanceWebSite", 5 | "location": "Southeast Asia" 6 | }, 7 | "databases": [ 8 | { 9 | "connectionStringName": "", 10 | "databaseName": "", 11 | "serverName": "", 12 | "user": "", 13 | "password": "", 14 | "edition": "", 15 | "size": "", 16 | "collation": "" 17 | } 18 | ] 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/PublishScripts/Configurations/AzureGuidanceBackGroundWebsite-WAWS-dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "environmentSettings": { 3 | "webSite": { 4 | "name": "AzureGuidanceBackGroundWebsite", 5 | "location": "East Asia" 6 | }, 7 | "databases": [ 8 | { 9 | "connectionStringName": "", 10 | "databaseName": "", 11 | "serverName": "", 12 | "user": "", 13 | "password": "", 14 | "edition": "", 15 | "size": "", 16 | "collation": "" 17 | } 18 | ] 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/App_Start/WebApiConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web.Http; 5 | 6 | namespace AzureGuidance.Web 7 | { 8 | public static class WebApiConfig 9 | { 10 | public static void Register(HttpConfiguration config) 11 | { 12 | config.MapHttpAttributeRoutes(); 13 | 14 | config.Routes.MapHttpRoute( 15 | name: "DefaultApi", 16 | routeTemplate: "api/{controller}/{id}", 17 | defaults: new { id = RouteParameter.Optional } 18 | ); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/PublishScripts/Configurations/AzureGuidanceNotificationWebSite-WAWS-dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "environmentSettings": { 3 | "webSite": { 4 | "name": "AzureGuidanceNotificationWebSite", 5 | "location": "East Asia" 6 | }, 7 | "databases": [ 8 | { 9 | "connectionStringName": "", 10 | "databaseName": "", 11 | "serverName": "", 12 | "user": "", 13 | "password": "", 14 | "edition": "", 15 | "size": "", 16 | "collation": "" 17 | } 18 | ] 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Content/Site.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | padding-bottom: 20px; 4 | } 5 | 6 | /* Set padding to keep content from hitting the edges */ 7 | .body-content { 8 | padding-left: 15px; 9 | padding-right: 15px; 10 | } 11 | 12 | /* Override the default bootstrap behavior where horizontal description lists 13 | will truncate terms that are too long to fit in the left column 14 | */ 15 | .dl-horizontal dt { 16 | white-space: normal; 17 | } 18 | 19 | /* Set width on the form input elements since they're 100% wide by default */ 20 | input, 21 | select, 22 | textarea { 23 | max-width: 280px; 24 | } 25 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Content/Site.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | padding-bottom: 20px; 4 | } 5 | 6 | /* Set padding to keep content from hitting the edges */ 7 | .body-content { 8 | padding-left: 15px; 9 | padding-right: 15px; 10 | } 11 | 12 | /* Override the default bootstrap behavior where horizontal description lists 13 | will truncate terms that are too long to fit in the left column 14 | */ 15 | .dl-horizontal dt { 16 | white-space: normal; 17 | } 18 | 19 | /* Set width on the form input elements since they're 100% wide by default */ 20 | input, 21 | select, 22 | textarea { 23 | max-width: 280px; 24 | } 25 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidanceNotification/Functions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using Microsoft.Azure.WebJobs; 8 | 9 | namespace AzureGuidanceNotification 10 | { 11 | public class Functions 12 | { 13 | // This function will get triggered/executed when a new message is written 14 | // on an Azure Queue called queue. 15 | public static void ProcessQueueMessage([QueueTrigger("queue")] string message, TextWriter log) 16 | { 17 | log.WriteLine(message); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | /// 6 | /// Use this attribute to change the name of the generated for a type. 7 | /// 8 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)] 9 | public sealed class ModelNameAttribute : Attribute 10 | { 11 | public ModelNameAttribute(string name) 12 | { 13 | Name = name; 14 | } 15 | 16 | public string Name { get; private set; } 17 | } 18 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 5 | { 6 | public class ParameterDescription 7 | { 8 | public ParameterDescription() 9 | { 10 | Annotations = new Collection(); 11 | } 12 | 13 | public Collection Annotations { get; private set; } 14 | 15 | public string Documentation { get; set; } 16 | 17 | public string Name { get; set; } 18 | 19 | public ModelDescription TypeDescription { get; set; } 20 | } 21 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 5 | { 6 | public class ParameterDescription 7 | { 8 | public ParameterDescription() 9 | { 10 | Annotations = new Collection(); 11 | } 12 | 13 | public Collection Annotations { get; private set; } 14 | 15 | public string Documentation { get; set; } 16 | 17 | public string Name { get; set; } 18 | 19 | public ModelDescription TypeDescription { get; set; } 20 | } 21 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage.ModelDescriptions 4 | { 5 | /// 6 | /// Use this attribute to change the name of the generated for a type. 7 | /// 8 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)] 9 | public sealed class ModelNameAttribute : Attribute 10 | { 11 | public ModelNameAttribute(string name) 12 | { 13 | Name = name; 14 | } 15 | 16 | public string Name { get; private set; } 17 | } 18 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Notification/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/WebApi/App_Start/WebApiConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web.Http; 5 | 6 | namespace WebApi 7 | { 8 | public static class WebApiConfig 9 | { 10 | public static void Register(HttpConfiguration config) 11 | { 12 | // Web API configuration and services 13 | 14 | // Web API routes 15 | config.MapHttpAttributeRoutes(); 16 | 17 | config.Routes.MapHttpRoute( 18 | name: "DefaultApi", 19 | routeTemplate: "api/{controller}/{id}", 20 | defaults: new { id = RouteParameter.Optional } 21 | ); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/App_Start/RouteConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Routing; 7 | 8 | namespace AzureGuidance.API 9 | { 10 | public class RouteConfig 11 | { 12 | public static void RegisterRoutes(RouteCollection routes) 13 | { 14 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 15 | 16 | routes.MapRoute( 17 | name: "Default", 18 | url: "{controller}/{action}/{id}", 19 | defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } 20 | ); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/App_Start/RouteConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Routing; 7 | 8 | namespace AzureGuidance.API 9 | { 10 | public class RouteConfig 11 | { 12 | public static void RegisterRoutes(RouteCollection routes) 13 | { 14 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 15 | 16 | routes.MapRoute( 17 | name: "Default", 18 | url: "{controller}/{action}/{id}", 19 | defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } 20 | ); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/ResourceModel.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 3 | @model ModelDescription 4 | 5 | 6 |
7 | 14 |

@Model.Name

15 |

@Model.Documentation

16 |
17 | @Html.DisplayFor(m => Model) 18 |
19 |
20 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/ResourceModel.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 3 | @model ModelDescription 4 | 5 | 6 |
7 | 14 |

@Model.Name

15 |

@Model.Documentation

16 |
17 | @Html.DisplayFor(m => Model) 18 |
19 |
20 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Views/Shared/_CustomerOrder.cshtml: -------------------------------------------------------------------------------- 1 | @model IEnumerable 2 | 3 | 4 | @using (Html.BeginForm()) 5 | { 6 | @Html.AntiForgeryToken() 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | @foreach (var item in Model) 15 | { 16 | 17 | 18 | 19 | 20 | } 21 |
ProductQuantity
@item.ProductName@item.ProductQuantity
22 |
23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Views/Shared/_CustomerOrder.cshtml: -------------------------------------------------------------------------------- 1 | @model IEnumerable 2 | 3 | 4 | @using (Html.BeginForm()) 5 | { 6 | @Html.AntiForgeryToken() 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | @foreach (var item in Model) 15 | { 16 | 17 | 18 | 19 | 20 | } 21 |
ProductQuantity
@item.ProductName@item.ProductQuantity
22 |
23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/App_Start/RouteConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Routing; 7 | 8 | namespace AzureGuidance.Web 9 | { 10 | public class RouteConfig 11 | { 12 | public static void RegisterRoutes(RouteCollection routes) 13 | { 14 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 15 | 16 | routes.MapRoute( 17 | name: "Default", 18 | url: "{controller}/{action}/{id}", 19 | defaults: new { controller = "Order", action = "DisplayProducts", id = UrlParameter.Optional } 20 | ); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Shared/_CustomerOrder.cshtml: -------------------------------------------------------------------------------- 1 | @model IEnumerable 2 | 3 | 4 | @using (Html.BeginForm()) 5 | { 6 | @Html.AntiForgeryToken() 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | @foreach (var item in Model) 15 | { 16 | 17 | 18 | 19 | 20 | } 21 |
ProductQuantity
@item.ProductName@item.ProductQuantity
22 |
23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/App_Start/RouteConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Routing; 7 | 8 | namespace AureGuidance.WebSite 9 | { 10 | public class RouteConfig 11 | { 12 | public static void RegisterRoutes(RouteCollection routes) 13 | { 14 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 15 | 16 | routes.MapRoute( 17 | name: "Default", 18 | url: "{controller}/{action}/{id}", 19 | defaults: new { controller = "Order", action = "DisplayProductsForAdd", id = UrlParameter.Optional } 20 | ); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/App_Start/RouteConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Routing; 7 | 8 | namespace AureGuidance.WebSite 9 | { 10 | public class RouteConfig 11 | { 12 | public static void RegisterRoutes(RouteCollection routes) 13 | { 14 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 15 | 16 | routes.MapRoute( 17 | name: "Default", 18 | url: "{controller}/{action}/{id}", 19 | defaults: new { controller = "Order", action = "DisplayProductsForAdd", id = UrlParameter.Optional } 20 | ); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | 7 | namespace AureGuidance.WebSite.Controllers 8 | { 9 | public class HomeController : Controller 10 | { 11 | public ActionResult Index() 12 | { 13 | return View(); 14 | } 15 | 16 | public ActionResult About() 17 | { 18 | ViewBag.Message = "Your application description page."; 19 | 20 | return View(); 21 | } 22 | 23 | public ActionResult Contact() 24 | { 25 | ViewBag.Message = "Your contact page."; 26 | 27 | return View(); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | 7 | namespace AzureGuidance.Web.Controllers 8 | { 9 | public class HomeController : Controller 10 | { 11 | public ActionResult Index() 12 | { 13 | return View(); 14 | } 15 | 16 | public ActionResult About() 17 | { 18 | ViewBag.Message = "Your application description page."; 19 | 20 | return View(); 21 | } 22 | 23 | public ActionResult Contact() 24 | { 25 | ViewBag.Message = "Your contact page."; 26 | 27 | return View(); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | 7 | namespace AureGuidance.WebSite.Controllers 8 | { 9 | public class HomeController : Controller 10 | { 11 | public ActionResult Index() 12 | { 13 | return View(); 14 | } 15 | 16 | public ActionResult About() 17 | { 18 | ViewBag.Message = "Your application description page."; 19 | 20 | return View(); 21 | } 22 | 23 | public ActionResult Contact() 24 | { 25 | ViewBag.Message = "Your contact page."; 26 | 27 | return View(); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/Api.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using AzureGuidance.API.Areas.HelpPage.Models 3 | @model HelpPageApiModel 4 | 5 | @{ 6 | var description = Model.ApiDescription; 7 | ViewBag.Title = description.HttpMethod.Method + " " + description.RelativePath; 8 | } 9 | 10 | 11 |
12 | 19 |
20 | @Html.DisplayForModel() 21 |
22 |
23 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Http; 6 | using System.Web.Mvc; 7 | using System.Web.Optimization; 8 | using System.Web.Routing; 9 | 10 | namespace AzureGuidance.API 11 | { 12 | public class WebApiApplication : System.Web.HttpApplication 13 | { 14 | protected void Application_Start() 15 | { 16 | AreaRegistration.RegisterAllAreas(); 17 | GlobalConfiguration.Configure(WebApiConfig.Register); 18 | FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); 19 | RouteConfig.RegisterRoutes(RouteTable.Routes); 20 | BundleConfig.RegisterBundles(BundleTable.Bundles); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/Api.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using AzureGuidance.API.Areas.HelpPage.Models 3 | @model HelpPageApiModel 4 | 5 | @{ 6 | var description = Model.ApiDescription; 7 | ViewBag.Title = description.HttpMethod.Method + " " + description.RelativePath; 8 | } 9 | 10 | 11 |
12 | 19 |
20 | @Html.DisplayForModel() 21 |
22 |
23 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Http; 6 | using System.Web.Mvc; 7 | using System.Web.Optimization; 8 | using System.Web.Routing; 9 | 10 | namespace AzureGuidance.API 11 | { 12 | public class WebApiApplication : System.Web.HttpApplication 13 | { 14 | protected void Application_Start() 15 | { 16 | AreaRegistration.RegisterAllAreas(); 17 | GlobalConfiguration.Configure(WebApiConfig.Register); 18 | FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); 19 | RouteConfig.RegisterRoutes(RouteTable.Routes); 20 | BundleConfig.RegisterBundles(BundleTable.Bundles); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Worker/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values-v21/base-colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values-v21/base-colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidanceNotification/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Microsoft.Azure.WebJobs; 7 | 8 | namespace AzureGuidanceNotification 9 | { 10 | // To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976 11 | class Program 12 | { 13 | // Please set the following connection strings in app.config for this WebJob to run: 14 | // AzureWebJobsDashboard and AzureWebJobsStorage 15 | static void Main() 16 | { 17 | var host = new JobHost(); 18 | // The following code ensures that the WebJob will be running continuously 19 | host.RunAndBlock(); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.Notification/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Microsoft.Azure.WebJobs; 7 | 8 | namespace AzureGuidance.Notification 9 | { 10 | // To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976 11 | class Program 12 | { 13 | // Please set the following connection strings in app.config for this WebJob to run: 14 | // AzureWebJobsDashboard and AzureWebJobsStorage 15 | static void Main() 16 | { 17 | var host = new JobHost(); 18 | // The following code ensures that the WebJob will be running continuously 19 | host.RunAndBlock(); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.Notification/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Microsoft.Azure.WebJobs; 7 | 8 | namespace AzureGuidance.Notification 9 | { 10 | // To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976 11 | class Program 12 | { 13 | // Please set the following connection strings in app.config for this WebJob to run: 14 | // AzureWebJobsDashboard and AzureWebJobsStorage 15 | static void Main() 16 | { 17 | var host = new JobHost(); 18 | // The following code ensures that the WebJob will be running continuously 19 | host.RunAndBlock(); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.Common/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.WebJob/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Microsoft.Azure.WebJobs; 7 | 8 | 9 | namespace AzureGuidance.WebJob 10 | { 11 | // To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976 12 | public class Program 13 | { 14 | // Please set the following connection strings in app.config for this WebJob to run: 15 | // AzureWebJobsDashboard and AzureWebJobsStorage 16 | static void Main() 17 | { 18 | var host = new JobHost(); 19 | 20 | // The following code ensures that the WebJob will be running continuously 21 | host.RunAndBlock(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.Common/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.WebJob/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Microsoft.Azure.WebJobs; 7 | 8 | 9 | namespace AzureGuidance.WebJob 10 | { 11 | // To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976 12 | public class Program 13 | { 14 | // Please set the following connection strings in app.config for this WebJob to run: 15 | // AzureWebJobsDashboard and AzureWebJobsStorage 16 | static void Main() 17 | { 18 | var host = new JobHost(); 19 | 20 | // The following code ensures that the WebJob will be running continuously 21 | host.RunAndBlock(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/HelpPageAreaRegistration.cs: -------------------------------------------------------------------------------- 1 | using System.Web.Http; 2 | using System.Web.Mvc; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage 5 | { 6 | public class HelpPageAreaRegistration : AreaRegistration 7 | { 8 | public override string AreaName 9 | { 10 | get 11 | { 12 | return "HelpPage"; 13 | } 14 | } 15 | 16 | public override void RegisterArea(AreaRegistrationContext context) 17 | { 18 | context.MapRoute( 19 | "HelpPage_Default", 20 | "Help/{action}/{apiId}", 21 | new { controller = "Help", action = "Index", apiId = UrlParameter.Optional }); 22 | 23 | HelpPageConfig.Register(GlobalConfiguration.Configuration); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/HelpPageAreaRegistration.cs: -------------------------------------------------------------------------------- 1 | using System.Web.Http; 2 | using System.Web.Mvc; 3 | 4 | namespace AzureGuidance.API.Areas.HelpPage 5 | { 6 | public class HelpPageAreaRegistration : AreaRegistration 7 | { 8 | public override string AreaName 9 | { 10 | get 11 | { 12 | return "HelpPage"; 13 | } 14 | } 15 | 16 | public override void RegisterArea(AreaRegistrationContext context) 17 | { 18 | context.MapRoute( 19 | "HelpPage_Default", 20 | "Help/{action}/{apiId}", 21 | new { controller = "Help", action = "Index", apiId = UrlParameter.Optional }); 22 | 23 | HelpPageConfig.Register(GlobalConfiguration.Configuration); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using AzureGuidance.ServiceBusTopics; 2 | using System; 3 | using System.Collections.Generic; 4 | //using System.Configuration; 5 | using System.Linq; 6 | using System.Web; 7 | using System.Web.Mvc; 8 | using System.Web.Optimization; 9 | using System.Web.Routing; 10 | 11 | 12 | 13 | namespace AureGuidance.WebSite 14 | { 15 | public class MvcApplication : System.Web.HttpApplication 16 | { 17 | protected void Application_Start() 18 | { 19 | AreaRegistration.RegisterAllAreas(); 20 | FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); 21 | RouteConfig.RegisterRoutes(RouteTable.Routes); 22 | BundleConfig.RegisterBundles(BundleTable.Bundles); 23 | 24 | ServiceBusTopicHelper.Initialize(); 25 | 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/EnumTypeModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model EnumTypeModelDescription 3 | 4 |

Possible enumeration values:

5 | 6 | 7 | 8 | 9 | 10 | 11 | @foreach (EnumValueDescription value in Model.Values) 12 | { 13 | 14 | 15 | 18 | 21 | 22 | } 23 | 24 |
NameValueDescription
@value.Name 16 |

@value.Value

17 |
19 |

@value.Documentation

20 |
-------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using AzureGuidance.ServiceBusTopics; 2 | using System; 3 | using System.Collections.Generic; 4 | //using System.Configuration; 5 | using System.Linq; 6 | using System.Web; 7 | using System.Web.Mvc; 8 | using System.Web.Optimization; 9 | using System.Web.Routing; 10 | 11 | 12 | 13 | namespace AureGuidance.WebSite 14 | { 15 | public class MvcApplication : System.Web.HttpApplication 16 | { 17 | protected void Application_Start() 18 | { 19 | AreaRegistration.RegisterAllAreas(); 20 | FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); 21 | RouteConfig.RegisterRoutes(RouteTable.Routes); 22 | BundleConfig.RegisterBundles(BundleTable.Bundles); 23 | 24 | ServiceBusTopicHelper.Initialize(); 25 | 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/EnumTypeModelDescription.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model EnumTypeModelDescription 3 | 4 |

Possible enumeration values:

5 | 6 | 7 | 8 | 9 | 10 | 11 | @foreach (EnumValueDescription value in Model.Values) 12 | { 13 | 14 | 15 | 18 | 21 | 22 | } 23 | 24 |
NameValueDescription
@value.Name 16 |

@value.Value

17 |
19 |

@value.Documentation

20 |
-------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values/fragmentview_strings.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | Show Log 18 | Hide Log 19 | 20 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values/fragmentview_strings.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | Show Log 18 | Hide Log 19 | 20 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values-v11/template-styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values-v21/base-template-styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 1.8 14 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 1.8 14 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.BackGroundWebsite/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values-sw600dp/template-dimens.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | @dimen/margin_huge 22 | @dimen/margin_medium 23 | 24 | 25 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values-sw600dp/template-dimens.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | @dimen/margin_huge 22 | @dimen/margin_medium 23 | 24 | 25 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/IOTDevice.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.Notification/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.Notification/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidanceNotification/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/EventHubSender.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/ServiceConfiguration.Cloud.cscfg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/ServiceConfiguration.Local.cscfg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Shared/_LoginPartial.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNet.Identity 2 | @if (Request.IsAuthenticated) 3 | { 4 | using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) 5 | { 6 | @Html.AntiForgeryToken() 7 | 8 | 14 | } 15 | } 16 | else 17 | { 18 | 22 | } 23 | -------------------------------------------------------------------------------- /EventHub/RealTimeIOTTracker/SignatureGenerator/Default.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | using Microsoft.ServiceBus; 8 | using System.Text; 9 | 10 | public partial class _Default : System.Web.UI.Page 11 | { 12 | protected void Page_Load(object sender, EventArgs e) 13 | { 14 | 15 | } 16 | protected void btnGenerate_Click(object sender, EventArgs e) 17 | { 18 | var nameSpace = txtNamespace.Text; 19 | var eventHub = txtEventHub.Text; 20 | var policyName = txtPolicyName.Text; 21 | var policyKey = txtPolicyKey.Text; 22 | var ttl = TimeSpan.FromMinutes( Convert.ToDouble(txtTTL.Text)); 23 | 24 | var resource = ServiceBusEnvironment.CreateServiceUri("https", nameSpace, eventHub).ToString().Trim('/'); 25 | lblResult.Text = SharedAccessSignatureTokenProvider.GetSharedAccessSignature(policyName, policyKey, resource, ttl); 26 | 27 | } 28 | } -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/layout/message.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 22 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/layout/device_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 22 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values-sw600dp/template-styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Manage/AddPhoneNumber.cshtml: -------------------------------------------------------------------------------- 1 | @model AzureGuidance.Web.Models.AddPhoneNumberViewModel 2 | @{ 3 | ViewBag.Title = "Phone Number"; 4 | } 5 | 6 |

@ViewBag.Title.

7 | 8 | @using (Html.BeginForm("AddPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) 9 | { 10 | @Html.AntiForgeryToken() 11 |

Add a phone number

12 |
13 | @Html.ValidationSummary("", new { @class = "text-danger" }) 14 |
15 | @Html.LabelFor(m => m.Number, new { @class = "col-md-2 control-label" }) 16 |
17 | @Html.TextBoxFor(m => m.Number, new { @class = "form-control" }) 18 |
19 |
20 |
21 |
22 | 23 |
24 |
25 | } 26 | 27 | @section Scripts { 28 | @Scripts.Render("~/bundles/jqueryval") 29 | } 30 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/layout/device_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 22 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values-sw600dp/template-styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Optimization; 7 | using System.Web.Routing; 8 | using AzureGuidance.Common; 9 | using Microsoft.WindowsAzure; 10 | using System.Configuration; 11 | using System.Web.Http; 12 | 13 | namespace AzureGuidance.Web 14 | { 15 | public class MvcApplication : System.Web.HttpApplication 16 | { 17 | protected void Application_Start() 18 | { 19 | AreaRegistration.RegisterAllAreas(); 20 | FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); 21 | RouteConfig.RegisterRoutes(RouteTable.Routes); 22 | BundleConfig.RegisterBundles(BundleTable.Bundles); 23 | //WebApiConfig.Register(GlobalConfiguration.Configuration); 24 | GlobalConfiguration.Configure(WebApiConfig.Register); 25 | 26 | ServiceBusTopicHelper.Initialize(); 27 | 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Account/ForgotPassword.cshtml: -------------------------------------------------------------------------------- 1 | @model AzureGuidance.Web.Models.ForgotPasswordViewModel 2 | @{ 3 | ViewBag.Title = "Forgot your password?"; 4 | } 5 | 6 |

@ViewBag.Title.

7 | 8 | @using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) 9 | { 10 | @Html.AntiForgeryToken() 11 |

Enter your email.

12 |
13 | @Html.ValidationSummary("", new { @class = "text-danger" }) 14 |
15 | @Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" }) 16 |
17 | @Html.TextBoxFor(m => m.Email, new { @class = "form-control" }) 18 |
19 |
20 |
21 |
22 | 23 |
24 |
25 | } 26 | 27 | @section Scripts { 28 | @Scripts.Render("~/bundles/jqueryval") 29 | } 30 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/layout/message.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 23 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/App_Start/WebApiConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Net.Http; 5 | using System.Web.Http; 6 | using Microsoft.Owin.Security.OAuth; 7 | using Newtonsoft.Json.Serialization; 8 | 9 | namespace AzureGuidance.API 10 | { 11 | public static class WebApiConfig 12 | { 13 | public static void Register(HttpConfiguration config) 14 | { 15 | // Web API configuration and services 16 | // Configure Web API to use only bearer token authentication. 17 | config.SuppressDefaultHostAuthentication(); 18 | config.Filters.Add(new HostAuthenticationFilter(OAuthDefaults.AuthenticationType)); 19 | 20 | // Web API routes 21 | config.MapHttpAttributeRoutes(); 22 | 23 | config.Routes.MapHttpRoute( 24 | name: "DefaultApi", 25 | routeTemplate: "api/{controller}/{id}", 26 | defaults: new { id = RouteParameter.Optional } 27 | ); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/App_Start/WebApiConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Net.Http; 5 | using System.Web.Http; 6 | using Microsoft.Owin.Security.OAuth; 7 | using Newtonsoft.Json.Serialization; 8 | 9 | namespace AzureGuidance.API 10 | { 11 | public static class WebApiConfig 12 | { 13 | public static void Register(HttpConfiguration config) 14 | { 15 | // Web API configuration and services 16 | // Configure Web API to use only bearer token authentication. 17 | config.SuppressDefaultHostAuthentication(); 18 | config.Filters.Add(new HostAuthenticationFilter(OAuthDefaults.AuthenticationType)); 19 | 20 | // Web API routes 21 | config.MapHttpAttributeRoutes(); 22 | 23 | config.Routes.MapHttpRoute( 24 | name: "DefaultApi", 25 | routeTemplate: "api/{controller}/{id}", 26 | defaults: new { id = RouteParameter.Optional } 27 | ); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Net.Http.Headers 2 | @model Dictionary 3 | 4 | @{ 5 | // Group the samples into a single tab if they are the same. 6 | Dictionary samples = Model.GroupBy(pair => pair.Value).ToDictionary( 7 | pair => String.Join(", ", pair.Select(m => m.Key.ToString()).ToArray()), 8 | pair => pair.Key); 9 | var mediaTypes = samples.Keys; 10 | } 11 |
12 | @foreach (var mediaType in mediaTypes) 13 | { 14 |

@mediaType

15 |
16 | Sample: 17 | @{ 18 | var sample = samples[mediaType]; 19 | if (sample == null) 20 | { 21 |

Sample not available.

22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |
29 | } 30 |
-------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Net.Http.Headers 2 | @model Dictionary 3 | 4 | @{ 5 | // Group the samples into a single tab if they are the same. 6 | Dictionary samples = Model.GroupBy(pair => pair.Value).ToDictionary( 7 | pair => String.Join(", ", pair.Select(m => m.Key.ToString()).ToArray()), 8 | pair => pair.Key); 9 | var mediaTypes = samples.Keys; 10 | } 11 |
12 | @foreach (var mediaType in mediaTypes) 13 | { 14 |

@mediaType

15 |
16 | Sample: 17 | @{ 18 | var sample = samples[mediaType]; 19 | if (sample == null) 20 | { 21 |

Sample not available.

22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |
29 | } 30 |
-------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/TextSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage 4 | { 5 | /// 6 | /// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class. 7 | /// 8 | public class TextSample 9 | { 10 | public TextSample(string text) 11 | { 12 | if (text == null) 13 | { 14 | throw new ArgumentNullException("text"); 15 | } 16 | Text = text; 17 | } 18 | 19 | public string Text { get; private set; } 20 | 21 | public override bool Equals(object obj) 22 | { 23 | TextSample other = obj as TextSample; 24 | return other != null && Text == other.Text; 25 | } 26 | 27 | public override int GetHashCode() 28 | { 29 | return Text.GetHashCode(); 30 | } 31 | 32 | public override string ToString() 33 | { 34 | return Text; 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/TextSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage 4 | { 5 | /// 6 | /// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class. 7 | /// 8 | public class TextSample 9 | { 10 | public TextSample(string text) 11 | { 12 | if (text == null) 13 | { 14 | throw new ArgumentNullException("text"); 15 | } 16 | Text = text; 17 | } 18 | 19 | public string Text { get; private set; } 20 | 21 | public override bool Equals(object obj) 22 | { 23 | TextSample other = obj as TextSample; 24 | return other != null && Text == other.Text; 25 | } 26 | 27 | public override int GetHashCode() 28 | { 29 | return Text.GetHashCode(); 30 | } 31 | 32 | public override string ToString() 33 | { 34 | return Text; 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/ServiceDefinition.csdef: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model Type 3 | @{ 4 | ModelDescription modelDescription = ViewBag.modelDescription; 5 | if (modelDescription is ComplexTypeModelDescription || modelDescription is EnumTypeModelDescription) 6 | { 7 | if (Model == typeof(Object)) 8 | { 9 | @:Object 10 | } 11 | else 12 | { 13 | @Html.ActionLink(modelDescription.Name, "ResourceModel", "Help", new { modelName = modelDescription.Name }, null) 14 | } 15 | } 16 | else if (modelDescription is CollectionModelDescription) 17 | { 18 | var collectionDescription = modelDescription as CollectionModelDescription; 19 | var elementDescription = collectionDescription.ElementDescription; 20 | @:Collection of @Html.DisplayFor(m => elementDescription.ModelType, "ModelDescriptionLink", new { modelDescription = elementDescription }) 21 | } 22 | else 23 | { 24 | @Html.DisplayFor(m => modelDescription) 25 | } 26 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml: -------------------------------------------------------------------------------- 1 | @using AzureGuidance.API.Areas.HelpPage.ModelDescriptions 2 | @model Type 3 | @{ 4 | ModelDescription modelDescription = ViewBag.modelDescription; 5 | if (modelDescription is ComplexTypeModelDescription || modelDescription is EnumTypeModelDescription) 6 | { 7 | if (Model == typeof(Object)) 8 | { 9 | @:Object 10 | } 11 | else 12 | { 13 | @Html.ActionLink(modelDescription.Name, "ResourceModel", "Help", new { modelName = modelDescription.Name }, null) 14 | } 15 | } 16 | else if (modelDescription is CollectionModelDescription) 17 | { 18 | var collectionDescription = modelDescription as CollectionModelDescription; 19 | var elementDescription = collectionDescription.ElementDescription; 20 | @:Collection of @Html.DisplayFor(m => elementDescription.ModelType, "ModelDescriptionLink", new { modelDescription = elementDescription }) 21 | } 22 | else 23 | { 24 | @Html.DisplayFor(m => modelDescription) 25 | } 26 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.BackGroundWebsite/Web.config: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Results/ChallengeResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Net; 5 | using System.Net.Http; 6 | using System.Threading; 7 | using System.Threading.Tasks; 8 | using System.Web.Http; 9 | 10 | namespace AzureGuidance.API.Results 11 | { 12 | public class ChallengeResult : IHttpActionResult 13 | { 14 | public ChallengeResult(string loginProvider, ApiController controller) 15 | { 16 | LoginProvider = loginProvider; 17 | Request = controller.Request; 18 | } 19 | 20 | public string LoginProvider { get; set; } 21 | public HttpRequestMessage Request { get; set; } 22 | 23 | public Task ExecuteAsync(CancellationToken cancellationToken) 24 | { 25 | Request.GetOwinContext().Authentication.Challenge(LoginProvider); 26 | 27 | HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.Unauthorized); 28 | response.RequestMessage = Request; 29 | return Task.FromResult(response); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Results/ChallengeResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Net; 5 | using System.Net.Http; 6 | using System.Threading; 7 | using System.Threading.Tasks; 8 | using System.Web.Http; 9 | 10 | namespace AzureGuidance.API.Results 11 | { 12 | public class ChallengeResult : IHttpActionResult 13 | { 14 | public ChallengeResult(string loginProvider, ApiController controller) 15 | { 16 | LoginProvider = loginProvider; 17 | Request = controller.Request; 18 | } 19 | 20 | public string LoginProvider { get; set; } 21 | public HttpRequestMessage Request { get; set; } 22 | 23 | public Task ExecuteAsync(CancellationToken cancellationToken) 24 | { 25 | Request.GetOwinContext().Authentication.Challenge(LoginProvider); 26 | 27 | HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.Unauthorized); 28 | response.RequestMessage = Request; 29 | return Task.FromResult(response); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Manage/VerifyPhoneNumber.cshtml: -------------------------------------------------------------------------------- 1 | @model AzureGuidance.Web.Models.VerifyPhoneNumberViewModel 2 | @{ 3 | ViewBag.Title = "Verify Phone Number"; 4 | } 5 | 6 |

@ViewBag.Title.

7 | 8 | @using (Html.BeginForm("VerifyPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) 9 | { 10 | @Html.AntiForgeryToken() 11 | @Html.Hidden("phoneNumber", @Model.PhoneNumber) 12 |

Enter verification code

13 |
@ViewBag.Status
14 |
15 | @Html.ValidationSummary("", new { @class = "text-danger" }) 16 |
17 | @Html.LabelFor(m => m.Code, new { @class = "col-md-2 control-label" }) 18 |
19 | @Html.TextBoxFor(m => m.Code, new { @class = "form-control" }) 20 |
21 |
22 |
23 |
24 | 25 |
26 |
27 | } 28 | 29 | @section Scripts { 30 | @Scripts.Render("~/bundles/jqueryval") 31 | } 32 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Accel North America 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidance.WebJob/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.WebJob/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/InvalidSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage 4 | { 5 | /// 6 | /// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. 7 | /// 8 | public class InvalidSample 9 | { 10 | public InvalidSample(string errorMessage) 11 | { 12 | if (errorMessage == null) 13 | { 14 | throw new ArgumentNullException("errorMessage"); 15 | } 16 | ErrorMessage = errorMessage; 17 | } 18 | 19 | public string ErrorMessage { get; private set; } 20 | 21 | public override bool Equals(object obj) 22 | { 23 | InvalidSample other = obj as InvalidSample; 24 | return other != null && ErrorMessage == other.ErrorMessage; 25 | } 26 | 27 | public override int GetHashCode() 28 | { 29 | return ErrorMessage.GetHashCode(); 30 | } 31 | 32 | public override string ToString() 33 | { 34 | return ErrorMessage; 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/InvalidSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage 4 | { 5 | /// 6 | /// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. 7 | /// 8 | public class InvalidSample 9 | { 10 | public InvalidSample(string errorMessage) 11 | { 12 | if (errorMessage == null) 13 | { 14 | throw new ArgumentNullException("errorMessage"); 15 | } 16 | ErrorMessage = errorMessage; 17 | } 18 | 19 | public string ErrorMessage { get; private set; } 20 | 21 | public override bool Equals(object obj) 22 | { 23 | InvalidSample other = obj as InvalidSample; 24 | return other != null && ErrorMessage == other.ErrorMessage; 25 | } 26 | 27 | public override int GetHashCode() 28 | { 29 | return ErrorMessage.GetHashCode(); 30 | } 31 | 32 | public override string ToString() 33 | { 34 | return ErrorMessage; 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Models/AccountViewModels.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace AzureGuidance.API.Models 5 | { 6 | // Models returned by AccountController actions. 7 | 8 | public class ExternalLoginViewModel 9 | { 10 | public string Name { get; set; } 11 | 12 | public string Url { get; set; } 13 | 14 | public string State { get; set; } 15 | } 16 | 17 | public class ManageInfoViewModel 18 | { 19 | public string LocalLoginProvider { get; set; } 20 | 21 | public string Email { get; set; } 22 | 23 | public IEnumerable Logins { get; set; } 24 | 25 | public IEnumerable ExternalLoginProviders { get; set; } 26 | } 27 | 28 | public class UserInfoViewModel 29 | { 30 | public string Email { get; set; } 31 | 32 | public bool HasRegistered { get; set; } 33 | 34 | public string LoginProvider { get; set; } 35 | } 36 | 37 | public class UserLoginInfoViewModel 38 | { 39 | public string LoginProvider { get; set; } 40 | 41 | public string ProviderKey { get; set; } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Models/AccountViewModels.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace AzureGuidance.API.Models 5 | { 6 | // Models returned by AccountController actions. 7 | 8 | public class ExternalLoginViewModel 9 | { 10 | public string Name { get; set; } 11 | 12 | public string Url { get; set; } 13 | 14 | public string State { get; set; } 15 | } 16 | 17 | public class ManageInfoViewModel 18 | { 19 | public string LocalLoginProvider { get; set; } 20 | 21 | public string Email { get; set; } 22 | 23 | public IEnumerable Logins { get; set; } 24 | 25 | public IEnumerable ExternalLoginProviders { get; set; } 26 | } 27 | 28 | public class UserInfoViewModel 29 | { 30 | public string Email { get; set; } 31 | 32 | public bool HasRegistered { get; set; } 33 | 34 | public string LoginProvider { get; set; } 35 | } 36 | 37 | public class UserLoginInfoViewModel 38 | { 39 | public string LoginProvider { get; set; } 40 | 41 | public string ProviderKey { get; set; } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/App_Start/BundleConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Optimization; 3 | 4 | namespace AzureGuidance.API 5 | { 6 | public class BundleConfig 7 | { 8 | // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 9 | public static void RegisterBundles(BundleCollection bundles) 10 | { 11 | bundles.Add(new ScriptBundle("~/bundles/jquery").Include( 12 | "~/Scripts/jquery-{version}.js")); 13 | 14 | // Use the development version of Modernizr to develop with and learn from. Then, when you're 15 | // ready for production, use the build tool at http://modernizr.com to pick only the tests you need. 16 | bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( 17 | "~/Scripts/modernizr-*")); 18 | 19 | bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include( 20 | "~/Scripts/bootstrap.js", 21 | "~/Scripts/respond.js")); 22 | 23 | bundles.Add(new StyleBundle("~/Content/css").Include( 24 | "~/Content/bootstrap.css", 25 | "~/Content/site.css")); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/App_Start/BundleConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Optimization; 3 | 4 | namespace AzureGuidance.API 5 | { 6 | public class BundleConfig 7 | { 8 | // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 9 | public static void RegisterBundles(BundleCollection bundles) 10 | { 11 | bundles.Add(new ScriptBundle("~/bundles/jquery").Include( 12 | "~/Scripts/jquery-{version}.js")); 13 | 14 | // Use the development version of Modernizr to develop with and learn from. Then, when you're 15 | // ready for production, use the build tool at http://modernizr.com to pick only the tests you need. 16 | bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( 17 | "~/Scripts/modernizr-*")); 18 | 19 | bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include( 20 | "~/Scripts/bootstrap.js", 21 | "~/Scripts/respond.js")); 22 | 23 | bundles.Add(new StyleBundle("~/Content/css").Include( 24 | "~/Content/bootstrap.css", 25 | "~/Content/site.css")); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/menu/option_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 21 | 25 | 26 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AzureGuidanceNotification/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/menu/option_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 21 | 25 | 26 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/ImageSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage 4 | { 5 | /// 6 | /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. 7 | /// 8 | public class ImageSample 9 | { 10 | /// 11 | /// Initializes a new instance of the class. 12 | /// 13 | /// The URL of an image. 14 | public ImageSample(string src) 15 | { 16 | if (src == null) 17 | { 18 | throw new ArgumentNullException("src"); 19 | } 20 | Src = src; 21 | } 22 | 23 | public string Src { get; private set; } 24 | 25 | public override bool Equals(object obj) 26 | { 27 | ImageSample other = obj as ImageSample; 28 | return other != null && Src == other.Src; 29 | } 30 | 31 | public override int GetHashCode() 32 | { 33 | return Src.GetHashCode(); 34 | } 35 | 36 | public override string ToString() 37 | { 38 | return Src; 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/SampleGeneration/ImageSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AzureGuidance.API.Areas.HelpPage 4 | { 5 | /// 6 | /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. 7 | /// 8 | public class ImageSample 9 | { 10 | /// 11 | /// Initializes a new instance of the class. 12 | /// 13 | /// The URL of an image. 14 | public ImageSample(string src) 15 | { 16 | if (src == null) 17 | { 18 | throw new ArgumentNullException("src"); 19 | } 20 | Src = src; 21 | } 22 | 23 | public string Src { get; private set; } 24 | 25 | public override bool Equals(object obj) 26 | { 27 | ImageSample other = obj as ImageSample; 28 | return other != null && Src == other.Src; 29 | } 30 | 31 | public override int GetHashCode() 32 | { 33 | return Src.GetHashCode(); 34 | } 35 | 36 | public override string ToString() 37 | { 38 | return Src; 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /EventHub/AndroidApps/IOTDevice/Application/src/main/res/values/template-dimens.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 4dp 22 | 8dp 23 | 16dp 24 | 32dp 25 | 64dp 26 | 27 | 28 | 29 | @dimen/margin_medium 30 | @dimen/margin_medium 31 | 32 | 33 | -------------------------------------------------------------------------------- /EventHub/AndroidApps/EventHubSender/Application/src/main/res/values/template-dimens.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 4dp 22 | 8dp 23 | 16dp 24 | 32dp 25 | 64dp 26 | 27 | 28 | 29 | @dimen/margin_medium 30 | @dimen/margin_medium 31 | 32 | 33 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using System.Web.Http.Controllers 3 | @using System.Web.Http.Description 4 | @using System.Collections.ObjectModel 5 | @using AzureGuidance.API.Areas.HelpPage.Models 6 | @model Collection 7 | 8 | @{ 9 | ViewBag.Title = "ASP.NET Web API Help Page"; 10 | 11 | // Group APIs by controller 12 | ILookup apiGroups = Model.ToLookup(api => api.ActionDescriptor.ControllerDescriptor); 13 | } 14 | 15 | 16 |
17 |
18 |
19 |

@ViewBag.Title

20 |
21 |
22 |
23 |
24 | 32 |
33 | @foreach (var group in apiGroups) 34 | { 35 | @Html.DisplayFor(m => group, "ApiGroup") 36 | } 37 |
38 |
39 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Areas/HelpPage/Views/Help/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using System.Web.Http.Controllers 3 | @using System.Web.Http.Description 4 | @using System.Collections.ObjectModel 5 | @using AzureGuidance.API.Areas.HelpPage.Models 6 | @model Collection 7 | 8 | @{ 9 | ViewBag.Title = "ASP.NET Web API Help Page"; 10 | 11 | // Group APIs by controller 12 | ILookup apiGroups = Model.ToLookup(api => api.ActionDescriptor.ControllerDescriptor); 13 | } 14 | 15 | 16 |
17 |
18 |
19 |

@ViewBag.Title

20 |
21 |
22 |
23 |
24 | 32 |
33 | @foreach (var group in apiGroups) 34 | { 35 | @Html.DisplayFor(m => group, "ApiGroup") 36 | } 37 |
38 |
39 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.Notification/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Views/Account/_ExternalLoginsListPartial.cshtml: -------------------------------------------------------------------------------- 1 | @model AzureGuidance.Web.Models.ExternalLoginListViewModel 2 | @using Microsoft.Owin.Security 3 | 4 |

Use another service to log in.

5 |
6 | @{ 7 | var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes(); 8 | if (loginProviders.Count() == 0) { 9 |
10 |

11 | There are no external authentication services configured. See this article 12 | for details on setting up this ASP.NET application to support logging in via external services. 13 |

14 |
15 | } 16 | else { 17 | using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = Model.ReturnUrl })) { 18 | @Html.AntiForgeryToken() 19 |
20 |

21 | @foreach (AuthenticationDescription p in loginProviders) { 22 | 23 | } 24 |

25 |
26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Models/IdentityModels.cs: -------------------------------------------------------------------------------- 1 | using System.Data.Entity; 2 | using System.Security.Claims; 3 | using System.Threading.Tasks; 4 | using Microsoft.AspNet.Identity; 5 | using Microsoft.AspNet.Identity.EntityFramework; 6 | 7 | namespace AzureGuidance.Web.Models 8 | { 9 | // You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more. 10 | public class ApplicationUser : IdentityUser 11 | { 12 | public async Task GenerateUserIdentityAsync(UserManager manager) 13 | { 14 | // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType 15 | var userIdentity = await manager.CreateIdentityAsync(this, DefaultAuthenticationTypes.ApplicationCookie); 16 | // Add custom user claims here 17 | return userIdentity; 18 | } 19 | } 20 | 21 | public class ApplicationDbContext : IdentityDbContext 22 | { 23 | public ApplicationDbContext() 24 | : base("DefaultConnection", throwIfV1Schema: false) 25 | { 26 | } 27 | 28 | public static ApplicationDbContext Create() 29 | { 30 | return new ApplicationDbContext(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AureGuidance.WebSite/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /AppServices/AzureGuidance/AureGuidance.WebSite/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.Web/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /WebSite/AzureGuidance/AzureGuidance.API/Models/IdentityModels.cs: -------------------------------------------------------------------------------- 1 | using System.Security.Claims; 2 | using System.Threading.Tasks; 3 | using Microsoft.AspNet.Identity; 4 | using Microsoft.AspNet.Identity.EntityFramework; 5 | using Microsoft.AspNet.Identity.Owin; 6 | 7 | namespace AzureGuidance.API.Models 8 | { 9 | // You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more. 10 | public class ApplicationUser : IdentityUser 11 | { 12 | public async Task GenerateUserIdentityAsync(UserManager manager, string authenticationType) 13 | { 14 | // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType 15 | var userIdentity = await manager.CreateIdentityAsync(this, authenticationType); 16 | // Add custom user claims here 17 | return userIdentity; 18 | } 19 | } 20 | 21 | public class ApplicationDbContext : IdentityDbContext 22 | { 23 | public ApplicationDbContext() 24 | : base("DefaultConnection", throwIfV1Schema: false) 25 | { 26 | } 27 | 28 | public static ApplicationDbContext Create() 29 | { 30 | return new ApplicationDbContext(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /AppServices/AzureGuidance/WebApi/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 29 | 30 | -------------------------------------------------------------------------------- /CloudServices/AzureGuidance/AzureGuidance.API/Models/IdentityModels.cs: -------------------------------------------------------------------------------- 1 | using System.Security.Claims; 2 | using System.Threading.Tasks; 3 | using Microsoft.AspNet.Identity; 4 | using Microsoft.AspNet.Identity.EntityFramework; 5 | using Microsoft.AspNet.Identity.Owin; 6 | 7 | namespace AzureGuidance.API.Models 8 | { 9 | // You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more. 10 | public class ApplicationUser : IdentityUser 11 | { 12 | public async Task GenerateUserIdentityAsync(UserManager manager, string authenticationType) 13 | { 14 | // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType 15 | var userIdentity = await manager.CreateIdentityAsync(this, authenticationType); 16 | // Add custom user claims here 17 | return userIdentity; 18 | } 19 | } 20 | 21 | public class ApplicationDbContext : IdentityDbContext 22 | { 23 | public ApplicationDbContext() 24 | : base("DefaultConnection", throwIfV1Schema: false) 25 | { 26 | } 27 | 28 | public static ApplicationDbContext Create() 29 | { 30 | return new ApplicationDbContext(); 31 | } 32 | } 33 | } --------------------------------------------------------------------------------