Skip to content

bhoskins7/dotnetcore-sqldb-tutorial

Repository files navigation

languages page_type description products
csharp
aspx-csharp
sample
This is a sample application you can use to follow along w/ the Build a .NET Core and SQL Database web app in Azure Web Apps for Containers tutorial.
azure
aspnet-core
azure-app-service

.NET Core MVC sample for Azure App Service

This is a sample application that you can use to follow along with the tutorial at Build a .NET Core and SQL Database web app in Azure Web Apps for Containers.

License

See LICENSE.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

az sql server create --name todo-db --resource-group a-test --location westus2 --admin-user elasticdotnet --admin-password sdflkjj234#1 az sql server firewall-rule create --resource-group a-test --server todo-db --name AllowAzureIps --start-ip-address 0.0.0.0 --end-ip-address 0.0.0.0 az sql server firewall-rule create --name AllowLocalClient --server todo-db --resource-group a-test --start-ip-address 97.91.102.124 --end-ip-address 97.91.102.124 az sql db create --resource-group a-test --server todo-db --name coreDB --service-objective S0 az sql db show-connection-string --client ado.net --server todo-db --name coreDB "Server=tcp:todo-db.database.windows.net,1433;Database=coreDB;User ID=elasticdotnet;Password=sdflkjj234#1;Encrypt=true;Connection Timeout=30;"

rm -r Migration dotnet ef migrations add InitialCreate $env:ConnectionStrings:MyDbConnection="Server=tcp:todo-db.database.windows.net,1433;Database=coreDB;User ID=elasticdotnet;Password=sdflkjj234#1;Encrypt=true;Connection Timeout=30;" set ConnectionStrings:MyDbConnection="Server=tcp:todo-db.database.windows.net,1433;Database=coreDB;User ID=elasticdotnet;Password=sdflkjj234#1;Encrypt=true;Connection Timeout=30;"

"KibanaAirlines.count": { "filter": { "term": { "Carrier": "Kibana Airlines" } } }, "LogstashAirways.count": { "filter": { "term": { "Carrier": "Logstash Airways" } } },

{

"group_by": { "timestamp": { "date_histogram": { "field": "timestamp", "calendar_interval": "1h" } } }, "aggregations"{ "LogstashAirways.count": { "filter": {"term": {"Carrier": "Logstash Airways"}} }, "KibanaAirlines.count": { "filter": { "term": { "Carrier": "Kibana Airlines"}} }, "time_length": { "bucket_script": { "buckets_path": { "min": "LogstashAirways.count.value", "max": "KibanaAirlines.count.value" }, "script": "params.max - params.min" } } } } }

{ "group_by": { "timestamp": { "date_histogram": { "field": "timestamp", "calendar_interval": "1h" } } }, "aggregations": { "LogstashAirways": { "filter": { "term": { "Carrier": "Logstash Airways" } }, "aggs": { "Carrier.value_count": { "value_count": { "field": "Carrier" } } } }, "JetBeats": { "filter": { "term": { "Carrier": "JetBeats" } }, "aggs": { "Carrier.value_count": { "value_count": { "field": "Carrier" } } } }, "bucket_script": { "buckets_path": { "my_var1": "JetBeats.Carrier.value_count.value",
"my_var2": "Logstash Airways" }, "script": "params.my_var1 / params.my_var2" } } }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published