Commit Graph
1650 Commits
Author SHA1 Message Date
turibbio 97bfeb5319 Updated link for C# on Windows 2018-09-17 17:50:32 +02:00
Jovan Popovic 90b1e81c38 Updated columns
Removed Id column that it is not required.
Replaced types for Message and Level with the smaller type.
2018-09-16 23:19:45 +02:00
Jovan Popovic cf21a42db7 Addressed UC's comments 2018-09-10 16:30:22 +02:00
Jovan Popovic (MSFT) 98dff66000 Merge pull request #437 from srdan-bozovic-msft/master
Add PS to attach VM with SSMS to existing SQL MI subnet
2018-09-10 11:29:55 +02:00
Srđan Božović 1d71fa1551 fix: arm template nic subnet name 2018-09-09 15:27:14 +02:00
Srđan Božović 39de498f4f fix: removed vnet dependancy from template 2018-09-09 15:23:27 +02:00
Srđan Božović 6ffaefafe4 fix: virtual network update 2018-09-09 15:21:28 +02:00
Srđan Božović 6bf175d297 add: attach jumpbox 2018-09-09 15:16:11 +02:00
Srđan Božović 972ca56c28 mod: verify ps version for attach p2s 2018-09-09 14:36:43 +02:00
Jovan Popovic 59fea19b50 Corrected DSP 2018-09-07 16:56:03 +02:00
Jovan Popovic 828dd93d1e Adding Application.Logs WWI sample
Added a table required to demo LOB support in CLUSTERE COLUMNSOTRE INDEXes.
Scenario is application logging. Applicaiton pushes log events that have large descriptions into the LOB column in CCI table. Table is compliant wiht Serilog logger for .Net and can be direclty used as a target for MSSQL Serilog sink:

In applicaition should be added the following changes to integrate serilog:
1. Download Serilog and Serilog.MSSQL.sink NuGet packages
2. Add the following packages:
using Serilog;
using Serilog.Sinks.MSSqlServer;

3. Configure logger:
var columnOptions = new Serilog.Sinks.MSSqlServer.ColumnOptions();
// Don't include the Properties XML column.
columnOptions.Store.Remove(StandardColumn.Properties);
columnOptions.Store.Remove(StandardColumn.MessageTemplate);
columnOptions.Store.Remove(StandardColumn.Exception);
// Do include the log event data as JSON.
columnOptions.Store.Add(StandardColumn.LogEvent);

var logger = new LoggerConfiguration()
                .WriteTo
                .MSSqlServer(   ConnString, "Logs", schemaName: "Application",
                                autoCreateSqlTable: false,
                                columnOptions: columnOptions
                                )
                .CreateLogger());

4. Log events:
var position = new { Latitude = 25, Longitude = 134 };
var elapsedMs = 34;

log.Information("Processed {@Position} in {Elapsed:000} ms.", position, elapsedMs);
log.Error(new IndexOutOfRangeException("Test"), "Error while processing {@Position} in {Elapsed:000} ms.", position, elapsedMs);
2018-09-07 16:10:10 +02:00
Jovan Popovic (MSFT) b695f0052f Merge pull request #435 from srdan-bozovic-msft/master
managedinstance-tde-upload
2018-09-07 16:05:48 +02:00
Srdjan Bozovic 68c8affcef fix 2018-09-07 11:56:25 +02:00
Srdjan Bozovic a73f952137 fix 2018-09-07 00:33:26 +02:00
Srdjan Bozovic d86687a000 Merge branch 'master' of https://github.com/srdan-bozovic-msft/sql-server-samples 2018-09-06 23:58:03 +02:00
Srdjan Bozovic 918d31786d fix 2018-09-06 23:57:43 +02:00
Srđan Božović f5734807a9 Update uploadTDECertificate.ps1 2018-09-06 23:38:09 +02:00
Srdjan Bozovic 5482a0a9de fix 2018-09-06 23:34:47 +02:00
Srdjan Bozovic e0c4549274 fix 2018-09-06 23:30:21 +02:00
Srdjan Bozovic 29bd1dc5d1 fix 2018-09-06 23:27:48 +02:00
Srdjan Bozovic 3d83480577 add upload tde certificate sample 2018-09-06 23:18:30 +02:00
Jovan Popovic (MSFT) 6bf4acb292 Merge pull request #432 from srdan-bozovic-msft/master
Add: attach vpn gateway sample
2018-08-24 11:03:14 +02:00
Srđan Božović 67950e1632 add: placeholder for attach jumpbox 2018-08-24 08:56:32 +02:00
Srđan Božović b90627e0a0 fix 2018-08-24 04:06:12 +02:00
Srđan Božović 5aa58c7c49 fix 2018-08-24 03:59:50 +02:00
Srđan Božović 30c2d596bc fix 2018-08-24 03:57:56 +02:00
Srđan Božović 1d366f2c00 fix 2018-08-24 03:56:01 +02:00
Srđan Božović 1375b202c3 fix 2018-08-24 03:33:16 +02:00
Srđan Božović 3bb73cb0f6 fix 2018-08-24 03:27:38 +02:00
Srđan Božović cf583a6553 fix 2018-08-24 03:26:47 +02:00
Srđan Božović d079f586ea fix 2018-08-24 03:22:11 +02:00
Srđan Božović d8b92e6aee fix 2018-08-24 03:21:16 +02:00
Srđan Božović b71c7b532b fix 2018-08-24 03:18:08 +02:00
Srđan Božović 23ce7befe2 add: attach p2s 2018-08-24 03:12:06 +02:00
Jovan Popovic (MSFT) e5aa23a891 Merge pull request #431 from srdan-bozovic-msft/master
sql-managed-instance: prepare - a few fixes
2018-08-21 11:08:08 +02:00
Srđan Božović 85cb49aa55 fix 2018-08-21 10:12:06 +02:00
Srđan Božović b1c988635a fix 2018-08-21 10:11:00 +02:00
Srđan Božović 90c2ef432f fix 2018-08-21 10:08:29 +02:00
Srđan Božović 50d5225267 fix 2018-08-21 10:03:25 +02:00
Srđan Božović e9eb4bde10 fix 2018-08-21 09:58:51 +02:00
Srđan Božović 7cf6140ddc fix 2018-08-21 09:53:42 +02:00
Srđan Božović a0adf847a3 fix 2018-08-21 09:53:31 +02:00
Srđan Božović 7dc09061be fix 2018-08-21 09:52:32 +02:00
Srđan Božović 5a57e70d5a fix 2018-08-21 09:46:11 +02:00
Jovan Popovic (MSFT) 0000604591 Merge pull request #430 from srdan-bozovic-msft/master
Add sample: Managed Instance - prepare subnet for SQL MI deployment
2018-08-20 11:19:25 +02:00
Srđan Božović f6131ea4c4 fix 2018-08-19 21:59:16 +02:00
Srđan Božović 1f0cf6cc2f add: SQL MI creation link 2018-08-19 21:48:12 +02:00
Srđan Božović aa6eefcd4b fix 2018-08-19 21:11:57 +02:00
Srđan Božović f8c57a9bcc fix 2018-08-19 21:07:14 +02:00
Srđan Božović e9a22994b3 fix 2018-08-19 21:04:34 +02:00