diff --git a/.vs/ProjectEvaluation/taylorle2.metadata.v6.1 b/.vs/ProjectEvaluation/taylorle2.metadata.v6.1 index 7d8d0af..33acac5 100644 Binary files a/.vs/ProjectEvaluation/taylorle2.metadata.v6.1 and b/.vs/ProjectEvaluation/taylorle2.metadata.v6.1 differ diff --git a/.vs/ProjectEvaluation/taylorle2.projects.v6.1 b/.vs/ProjectEvaluation/taylorle2.projects.v6.1 index aeb25d8..fe9a827 100644 Binary files a/.vs/ProjectEvaluation/taylorle2.projects.v6.1 and b/.vs/ProjectEvaluation/taylorle2.projects.v6.1 differ diff --git a/.vs/TaylorLE2/DesignTimeBuild/.dtbcache.v2 b/.vs/TaylorLE2/DesignTimeBuild/.dtbcache.v2 index 3988c93..f43bd4f 100644 Binary files a/.vs/TaylorLE2/DesignTimeBuild/.dtbcache.v2 and b/.vs/TaylorLE2/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/TaylorLE2/FileContentIndex/04efa7a0-932d-4266-83e2-9d79dadb9f0a.vsidx b/.vs/TaylorLE2/FileContentIndex/04efa7a0-932d-4266-83e2-9d79dadb9f0a.vsidx deleted file mode 100644 index c63f66c..0000000 Binary files a/.vs/TaylorLE2/FileContentIndex/04efa7a0-932d-4266-83e2-9d79dadb9f0a.vsidx and /dev/null differ diff --git a/.vs/TaylorLE2/FileContentIndex/1adcee24-176a-4481-a524-fbd4e820ebd6.vsidx b/.vs/TaylorLE2/FileContentIndex/1adcee24-176a-4481-a524-fbd4e820ebd6.vsidx deleted file mode 100644 index a34ef0f..0000000 Binary files a/.vs/TaylorLE2/FileContentIndex/1adcee24-176a-4481-a524-fbd4e820ebd6.vsidx and /dev/null differ diff --git a/.vs/TaylorLE2/FileContentIndex/27457f73-096e-4dd2-9e00-4110cfbecccf.vsidx b/.vs/TaylorLE2/FileContentIndex/27457f73-096e-4dd2-9e00-4110cfbecccf.vsidx new file mode 100644 index 0000000..b01925d Binary files /dev/null and b/.vs/TaylorLE2/FileContentIndex/27457f73-096e-4dd2-9e00-4110cfbecccf.vsidx differ diff --git a/.vs/TaylorLE2/FileContentIndex/8a3cfe8f-bc32-4fdc-be09-00b2eb9398a7.vsidx b/.vs/TaylorLE2/FileContentIndex/8a3cfe8f-bc32-4fdc-be09-00b2eb9398a7.vsidx new file mode 100644 index 0000000..8ddd980 Binary files /dev/null and b/.vs/TaylorLE2/FileContentIndex/8a3cfe8f-bc32-4fdc-be09-00b2eb9398a7.vsidx differ diff --git a/.vs/TaylorLE2/FileContentIndex/91c12318-53d5-4a3e-9676-e954e5996a50.vsidx b/.vs/TaylorLE2/FileContentIndex/91c12318-53d5-4a3e-9676-e954e5996a50.vsidx new file mode 100644 index 0000000..4dd6f87 Binary files /dev/null and b/.vs/TaylorLE2/FileContentIndex/91c12318-53d5-4a3e-9676-e954e5996a50.vsidx differ diff --git a/.vs/TaylorLE2/FileContentIndex/ce6a1694-5607-4505-a08f-e1e77b1268ed.vsidx b/.vs/TaylorLE2/FileContentIndex/ce6a1694-5607-4505-a08f-e1e77b1268ed.vsidx deleted file mode 100644 index 5fad52c..0000000 Binary files a/.vs/TaylorLE2/FileContentIndex/ce6a1694-5607-4505-a08f-e1e77b1268ed.vsidx and /dev/null differ diff --git a/.vs/TaylorLE2/FileContentIndex/d590926b-5173-4df5-8f5f-fe8fb3961684.vsidx b/.vs/TaylorLE2/FileContentIndex/d590926b-5173-4df5-8f5f-fe8fb3961684.vsidx deleted file mode 100644 index cb2c817..0000000 Binary files a/.vs/TaylorLE2/FileContentIndex/d590926b-5173-4df5-8f5f-fe8fb3961684.vsidx and /dev/null differ diff --git a/.vs/TaylorLE2/FileContentIndex/e05164b4-188c-44f5-b58b-ede2ea3b4665.vsidx b/.vs/TaylorLE2/FileContentIndex/e05164b4-188c-44f5-b58b-ede2ea3b4665.vsidx new file mode 100644 index 0000000..84eb69a Binary files /dev/null and b/.vs/TaylorLE2/FileContentIndex/e05164b4-188c-44f5-b58b-ede2ea3b4665.vsidx differ diff --git a/.vs/TaylorLE2/config/applicationhost.config b/.vs/TaylorLE2/config/applicationhost.config new file mode 100644 index 0000000..cdd2df8 --- /dev/null +++ b/.vs/TaylorLE2/config/applicationhost.config @@ -0,0 +1,1026 @@ + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/TaylorLE2/v17/.futdcache.v2 b/.vs/TaylorLE2/v17/.futdcache.v2 index 3dd4511..9b718b1 100644 Binary files a/.vs/TaylorLE2/v17/.futdcache.v2 and b/.vs/TaylorLE2/v17/.futdcache.v2 differ diff --git a/.vs/TaylorLE2/v17/.suo b/.vs/TaylorLE2/v17/.suo index 63934ed..483e8fc 100644 Binary files a/.vs/TaylorLE2/v17/.suo and b/.vs/TaylorLE2/v17/.suo differ diff --git a/BlogDataLibrary/Data/ISqlData.cs b/BlogDataLibrary/Data/ISqlData.cs new file mode 100644 index 0000000..08f49ae --- /dev/null +++ b/BlogDataLibrary/Data/ISqlData.cs @@ -0,0 +1,13 @@ +using BlogDataLibrary.Models; + +namespace BlogDataLibrary.Data +{ + public interface ISqlData + { + void AddPost(PostModel post); + UserModel Authenticate(string username, string password); + List ListPosts(); + void Register(string username, string firstName, string lastName, string password); + ListPostModel ShowPostDetails(int id); + } +} \ No newline at end of file diff --git a/BlogDataLibrary/Data/SqlData.cs b/BlogDataLibrary/Data/SqlData.cs index c7ef193..d58d44f 100644 --- a/BlogDataLibrary/Data/SqlData.cs +++ b/BlogDataLibrary/Data/SqlData.cs @@ -1,4 +1,5 @@ using BlogDataLibrary.Database; +using BlogDataLibrary.Models; using System; using System.Collections.Generic; using System.Linq; @@ -7,14 +8,50 @@ namespace BlogDataLibrary.Data { - public class SqlData + public class SqlData : ISqlData { private ISqlDataAccess _db; - private const string connectionStringName = "sqlDb"; + private const string connectionStringName = "SqlDb"; public SqlData(ISqlDataAccess db) { _db = db; } + + public UserModel Authenticate(string username, string password) + { + UserModel result = _db.LoadData("dbo.spUsers_Authenticate", + new { username, password }, + connectionStringName, + true).FirstOrDefault(); + return result; + } + + public void Register(string username, string firstName, string lastName, string password) + { + _db.SaveData( + "dbo.spUsers_Register", + new { username, firstName, lastName, password }, + connectionStringName, + true); + } + + public void AddPost(PostModel post) + { + _db.SaveData("spPosts_Insert", new { post.UserId, post.Title, post.Body, post.DateCreated }, + connectionStringName, true); + } + + public List ListPosts() + { + return _db.LoadData("dbo.spPosts_List", new { }, + connectionStringName, true).ToList(); + } + + public ListPostModel ShowPostDetails(int id) + { + return _db.LoadData("dbo.spPosts_Details", new { id }, + connectionStringName, true).FirstOrDefault(); + } } } diff --git a/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.dll b/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.dll index ac14ee4..2428e79 100644 Binary files a/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.dll and b/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.dll differ diff --git a/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.pdb b/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.pdb index 12ef0fe..f941432 100644 Binary files a/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.pdb and b/BlogDataLibrary/bin/Debug/net6.0/BlogDataLibrary.pdb differ diff --git a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.AssemblyReference.cache b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.AssemblyReference.cache index a6818d0..f1286e7 100644 Binary files a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.AssemblyReference.cache and b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.AssemblyReference.cache differ diff --git a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.CoreCompileInputs.cache b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.CoreCompileInputs.cache index f175cfe..a762f3f 100644 --- a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.CoreCompileInputs.cache +++ b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -7bf2bb5f4c5008b7b10de4f0c1c5eb4823da8b23 +379d4d320222f608ba031de30d83c3f39d57ec42 diff --git a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.dll b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.dll index ac14ee4..2428e79 100644 Binary files a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.dll and b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.dll differ diff --git a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.pdb b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.pdb index 12ef0fe..f941432 100644 Binary files a/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.pdb and b/BlogDataLibrary/obj/Debug/net6.0/BlogDataLibrary.pdb differ diff --git a/BlogDataLibrary/obj/Debug/net6.0/ref/BlogDataLibrary.dll b/BlogDataLibrary/obj/Debug/net6.0/ref/BlogDataLibrary.dll index 5d1b3a9..0f2aa86 100644 Binary files a/BlogDataLibrary/obj/Debug/net6.0/ref/BlogDataLibrary.dll and b/BlogDataLibrary/obj/Debug/net6.0/ref/BlogDataLibrary.dll differ diff --git a/BlogDataLibrary/obj/Debug/net6.0/refint/BlogDataLibrary.dll b/BlogDataLibrary/obj/Debug/net6.0/refint/BlogDataLibrary.dll index 5d1b3a9..0f2aa86 100644 Binary files a/BlogDataLibrary/obj/Debug/net6.0/refint/BlogDataLibrary.dll and b/BlogDataLibrary/obj/Debug/net6.0/refint/BlogDataLibrary.dll differ diff --git a/BlogTestUI/BlogTestUI.csproj b/BlogTestUI/BlogTestUI.csproj index ccd7e64..bdf3bfb 100644 --- a/BlogTestUI/BlogTestUI.csproj +++ b/BlogTestUI/BlogTestUI.csproj @@ -12,4 +12,14 @@ + + + + + + + Always + + + diff --git a/BlogTestUI/Program.cs b/BlogTestUI/Program.cs index 6a100ad..1b20b11 100644 --- a/BlogTestUI/Program.cs +++ b/BlogTestUI/Program.cs @@ -1,9 +1,133 @@ -namespace BlogTestUI; +using BlogDataLibrary.Data; +using BlogDataLibrary.Database; +using BlogDataLibrary.Models; +using Microsoft.Extensions.Configuration; + +namespace BlogTestUI; internal class Program { + static SqlData GetConnection() + { + var builder = new ConfigurationBuilder() + .SetBasePath(Directory.GetCurrentDirectory()) + .AddJsonFile("appsettings.json"); + + IConfiguration config = builder.Build(); + ISqlDataAccess dbAccess = new SqlDataAccess(config); + SqlData db = new SqlData(dbAccess); + + return db; + } + static void Main(string[] args) { - Console.WriteLine("Hello, World!"); + SqlData db = GetConnection(); + + Authenticate(db); + + Register(db); + + AddPost(db); + + ListPosts(db); + + ShowPostDetails(db); + + Console.WriteLine("Press Enter to exit..."); + Console.ReadLine(); + } + + private static UserModel GetCurrentUser(SqlData db) + { + Console.Write("Username: "); + string username = Console.ReadLine(); + + Console.Write("Password: "); + string password = Console.ReadLine(); + + UserModel user = db.Authenticate(username, password); + + return user; + } + + public static void Authenticate(SqlData db) + { + UserModel user = GetCurrentUser(db); + + if (user == null) + { + Console.WriteLine("Invalid credentials."); + } + else + { + Console.WriteLine($"Welcome, {user.UserName}"); + } + } + + public static void Register(SqlData db) + { + Console.Write("Enter new username: "); + var username = Console.ReadLine(); + + Console.Write("Enter new password: "); + var password = Console.ReadLine(); + + Console.Write("Enter first name: "); + var firstName = Console.ReadLine(); + + Console.Write("Enter last name: "); + var lastName = Console.ReadLine(); + + db.Register(username, firstName, lastName, password); + } + + private static void AddPost(SqlData db) + { + UserModel user = GetCurrentUser(db); + + Console.Write("Title: "); + string title = Console.ReadLine(); + + Console.WriteLine("Write body: "); + string body = Console.ReadLine(); + + PostModel post = new PostModel + { + Title = title, + Body = body, + DateCreated = DateTime.Now, + UserId = user.Id + }; + + db.AddPost(post); + } + + private static void ListPosts(SqlData db) + { + List posts = db.ListPosts(); + + foreach (ListPostModel post in posts) + { + Console.WriteLine($"{post.Id}. Title: {post.Title} by {post.UserName} [{post.DateCreated.ToString("yyyy-MM-dd")}]"); + Console.WriteLine($"{post.Body.Substring(0, 20)}..."); + Console.WriteLine(); + } + } + + private static void ShowPostDetails(SqlData db) + { + Console.Write("Enter a post ID: "); + int id = Int32.Parse(Console.ReadLine()); + + ListPostModel post = db.ShowPostDetails(id); + Console.WriteLine(post.Title); + Console.WriteLine($"by {post.FirstName} {post.LastName} [{post.UserName}]"); + + Console.WriteLine(); + + Console.WriteLine(post.Body); + + Console.WriteLine(post.DateCreated.ToString("MMM d yyyy")); } } \ No newline at end of file diff --git a/BlogTestUI/appsettings.json b/BlogTestUI/appsettings.json new file mode 100644 index 0000000..10ed418 --- /dev/null +++ b/BlogTestUI/appsettings.json @@ -0,0 +1,13 @@ +{ + "exclude": [ + "**/bin", + "**/bower_components", + "**/jspm_packages", + "**/node_modules", + "**/obj", + "**/platforms" + ], + "ConnectionStrings": { + "SqlDb": "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=BlogDB;Integrated Security=True;Connect Timeout=60;Encrypt=False;TrustServerCertificate=False;MultiSubnetFailover=False" + } +} \ No newline at end of file diff --git a/BlogTestUI/bin/Debug/net6.0/BlogDataLibrary.dll b/BlogTestUI/bin/Debug/net6.0/BlogDataLibrary.dll new file mode 100644 index 0000000..2428e79 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/BlogDataLibrary.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/BlogDataLibrary.pdb b/BlogTestUI/bin/Debug/net6.0/BlogDataLibrary.pdb new file mode 100644 index 0000000..f941432 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/BlogDataLibrary.pdb differ diff --git a/BlogTestUI/bin/Debug/net6.0/BlogTestUI.deps.json b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.deps.json new file mode 100644 index 0000000..8a6df2c --- /dev/null +++ b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.deps.json @@ -0,0 +1,381 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "BlogTestUI/1.0.0": { + "dependencies": { + "BlogDataLibrary": "1.0.0", + "Microsoft.Extensions.Configuration": "6.0.1", + "Microsoft.Extensions.Configuration.Json": "6.0.0" + }, + "runtime": { + "BlogTestUI.dll": {} + } + }, + "Dapper/2.0.123": { + "runtime": { + "lib/net5.0/Dapper.dll": { + "assemblyVersion": "2.0.0.0", + "fileVersion": "2.0.123.33578" + } + } + }, + "Microsoft.Extensions.Configuration/6.0.1": { + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.322.12309" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Microsoft.Extensions.Configuration.FileExtensions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration": "6.0.1", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "6.0.0", + "Microsoft.Extensions.FileProviders.Physical": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Microsoft.Extensions.Configuration.Json/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration": "6.0.1", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "6.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "6.0.0", + "System.Text.Json": "6.0.0" + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Microsoft.Extensions.FileProviders.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Microsoft.Extensions.FileProviders.Physical/6.0.0": { + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "6.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Microsoft.Extensions.FileSystemGlobbing/6.0.0": { + "runtime": { + "lib/net6.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.Primitives.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.Win32.Registry/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "runtime.native.System.Data.SqlClient.sni/4.7.0": { + "dependencies": { + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-arm64/native/sni.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x64/native/sni.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x86/native/sni.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "System.Data.SqlClient/4.8.5": { + "dependencies": { + "Microsoft.Win32.Registry": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "runtime.native.System.Data.SqlClient.sni": "4.7.0" + }, + "runtime": { + "lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.5", + "fileVersion": "4.700.22.51706" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.6.1.5", + "fileVersion": "4.700.22.51706" + }, + "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.6.1.5", + "fileVersion": "4.700.22.51706" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encodings.Web/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } + }, + "BlogDataLibrary/1.0.0": { + "dependencies": { + "Dapper": "2.0.123", + "Microsoft.Extensions.Configuration": "6.0.1", + "System.Data.SqlClient": "4.8.5" + }, + "runtime": { + "BlogDataLibrary.dll": {} + } + } + } + }, + "libraries": { + "BlogTestUI/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Dapper/2.0.123": { + "type": "package", + "serviceable": true, + "sha512": "sha512-RDFF4rBLLmbpi6pwkY7q/M6UXHRJEOerplDGE5jwEkP/JGJnBauAClYavNKJPW1yOTWRPIyfj4is3EaJxQXILQ==", + "path": "dapper/2.0.123", + "hashPath": "dapper.2.0.123.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BUyFU9t+HzlSE7ri4B+AQN2BgTgHv/uM82s5ZkgU1BApyzWzIl48nDsG5wR1t0pniNuuyTBzG3qCW8152/NtSw==", + "path": "microsoft.extensions.configuration/6.0.1", + "hashPath": "microsoft.extensions.configuration.6.0.1.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.FileExtensions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-V4Dth2cYMZpw3HhGw9XUDIijpI6gN+22LDt0AhufIgOppCUfpWX4483OmN+dFXRJkJLc8Tv0Q8QK+1ingT2+KQ==", + "path": "microsoft.extensions.configuration.fileextensions/6.0.0", + "hashPath": "microsoft.extensions.configuration.fileextensions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Json/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-GJGery6QytCzS/BxJ96klgG9in3uH26KcUBbiVG/coNDXCRq6LGVVlUT4vXq34KPuM+R2av+LeYdX9h4IZOCUg==", + "path": "microsoft.extensions.configuration.json/6.0.0", + "hashPath": "microsoft.extensions.configuration.json.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.FileProviders.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0pd4/fho0gC12rQswaGQxbU34jOS1TPS8lZPpkFCH68ppQjHNHYle9iRuHeev1LhrJ94YPvzcRd8UmIuFk23Qw==", + "path": "microsoft.extensions.fileproviders.abstractions/6.0.0", + "hashPath": "microsoft.extensions.fileproviders.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.FileProviders.Physical/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QvkL7l0nM8udt3gfyu0Vw8bbCXblxaKOl7c2oBfgGy4LCURRaL9XWZX1FWJrQc43oMokVneVxH38iz+bY1sbhg==", + "path": "microsoft.extensions.fileproviders.physical/6.0.0", + "hashPath": "microsoft.extensions.fileproviders.physical.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.FileSystemGlobbing/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ip8jnL1aPiaPeKINCqaTEbvBFDmVx9dXQEBZ2HOBRXPD1eabGNqP/bKlsIcp7U2lGxiXd5xIhoFcmY8nM4Hdiw==", + "path": "microsoft.extensions.filesystemglobbing/6.0.0", + "hashPath": "microsoft.extensions.filesystemglobbing.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "path": "microsoft.extensions.primitives/6.0.0", + "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "path": "microsoft.win32.registry/4.7.0", + "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.7.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512" + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", + "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.8.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fRqxut4lrndPHrXD+ht1XRmCL3obuKldm4XjCRYS9p5f7FSR7shBxAwTkDrpFMsHC9BhNgjjmUtiIjvehn5zkg==", + "path": "system.data.sqlclient/4.8.5", + "hashPath": "system.data.sqlclient.4.8.5.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encodings.Web/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "path": "system.text.encodings.web/6.0.0", + "hashPath": "system.text.encodings.web.6.0.0.nupkg.sha512" + }, + "System.Text.Json/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zaJsHfESQvJ11vbXnNlkrR46IaMULk/gHxYsJphzSF+07kTjPHv+Oc14w6QEOfo3Q4hqLJgStUaYB9DBl0TmWg==", + "path": "system.text.json/6.0.0", + "hashPath": "system.text.json.6.0.0.nupkg.sha512" + }, + "BlogDataLibrary/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/BlogTestUI/bin/Debug/net6.0/BlogTestUI.dll b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.dll new file mode 100644 index 0000000..7a40089 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/BlogTestUI.exe b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.exe new file mode 100644 index 0000000..db42c44 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.exe differ diff --git a/BlogTestUI/bin/Debug/net6.0/BlogTestUI.pdb b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.pdb new file mode 100644 index 0000000..c92740f Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.pdb differ diff --git a/BlogTestUI/bin/Debug/net6.0/BlogTestUI.runtimeconfig.json b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.runtimeconfig.json new file mode 100644 index 0000000..4986d16 --- /dev/null +++ b/BlogTestUI/bin/Debug/net6.0/BlogTestUI.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + } + } +} \ No newline at end of file diff --git a/BlogTestUI/bin/Debug/net6.0/Dapper.dll b/BlogTestUI/bin/Debug/net6.0/Dapper.dll new file mode 100644 index 0000000..c8a0de4 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Dapper.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.Abstractions.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.Abstractions.dll new file mode 100644 index 0000000..9a24516 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.Abstractions.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.FileExtensions.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.FileExtensions.dll new file mode 100644 index 0000000..160814d Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.FileExtensions.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.Json.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.Json.dll new file mode 100644 index 0000000..1c9ba24 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.Json.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.dll new file mode 100644 index 0000000..b84fb11 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Configuration.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll new file mode 100644 index 0000000..d1045b6 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileProviders.Physical.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileProviders.Physical.dll new file mode 100644 index 0000000..e712dbe Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileProviders.Physical.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileSystemGlobbing.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileSystemGlobbing.dll new file mode 100644 index 0000000..61c4e0c Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.FileSystemGlobbing.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Primitives.dll b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Primitives.dll new file mode 100644 index 0000000..1b2c43a Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/Microsoft.Extensions.Primitives.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/System.Data.SqlClient.dll b/BlogTestUI/bin/Debug/net6.0/System.Data.SqlClient.dll new file mode 100644 index 0000000..5960000 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/System.Data.SqlClient.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/appsettings.json b/BlogTestUI/bin/Debug/net6.0/appsettings.json new file mode 100644 index 0000000..10ed418 --- /dev/null +++ b/BlogTestUI/bin/Debug/net6.0/appsettings.json @@ -0,0 +1,13 @@ +{ + "exclude": [ + "**/bin", + "**/bower_components", + "**/jspm_packages", + "**/node_modules", + "**/obj", + "**/platforms" + ], + "ConnectionStrings": { + "SqlDb": "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=BlogDB;Integrated Security=True;Connect Timeout=60;Encrypt=False;TrustServerCertificate=False;MultiSubnetFailover=False" + } +} \ No newline at end of file diff --git a/BlogTestUI/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll b/BlogTestUI/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll new file mode 100644 index 0000000..bd51de0 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/runtimes/win-arm64/native/sni.dll b/BlogTestUI/bin/Debug/net6.0/runtimes/win-arm64/native/sni.dll new file mode 100644 index 0000000..7b8f9d8 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/runtimes/win-arm64/native/sni.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/runtimes/win-x64/native/sni.dll b/BlogTestUI/bin/Debug/net6.0/runtimes/win-x64/native/sni.dll new file mode 100644 index 0000000..c1a05a5 Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/runtimes/win-x64/native/sni.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/runtimes/win-x86/native/sni.dll b/BlogTestUI/bin/Debug/net6.0/runtimes/win-x86/native/sni.dll new file mode 100644 index 0000000..5fc21ac Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/runtimes/win-x86/native/sni.dll differ diff --git a/BlogTestUI/bin/Debug/net6.0/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll b/BlogTestUI/bin/Debug/net6.0/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll new file mode 100644 index 0000000..63fcfeb Binary files /dev/null and b/BlogTestUI/bin/Debug/net6.0/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll differ diff --git a/BlogTestUI/obj/BlogTestUI.csproj.nuget.dgspec.json b/BlogTestUI/obj/BlogTestUI.csproj.nuget.dgspec.json index cff5ffd..c60911e 100644 --- a/BlogTestUI/obj/BlogTestUI.csproj.nuget.dgspec.json +++ b/BlogTestUI/obj/BlogTestUI.csproj.nuget.dgspec.json @@ -4,6 +4,75 @@ "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogTestUI\\BlogTestUI.csproj": {} }, "projects": { + "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\BlogDataLibrary.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\BlogDataLibrary.csproj", + "projectName": "BlogDataLibrary", + "projectPath": "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\BlogDataLibrary.csproj", + "packagesPath": "C:\\Users\\James\\.nuget\\packages\\", + "outputPath": "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\James\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Dapper": { + "target": "Package", + "version": "[2.0.123, )" + }, + "Microsoft.Extensions.Configuration": { + "target": "Package", + "version": "[6.0.1, )" + }, + "System.Data.SqlClient": { + "target": "Package", + "version": "[4.8.5, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json" + } + } + }, "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogTestUI\\BlogTestUI.csproj": { "version": "1.0.0", "restore": { @@ -27,7 +96,11 @@ "frameworks": { "net6.0": { "targetAlias": "net6.0", - "projectReferences": {} + "projectReferences": { + "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\BlogDataLibrary.csproj": { + "projectPath": "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\BlogDataLibrary.csproj" + } + } } }, "warningProperties": { diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.assets.cache b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.assets.cache index 2d9efa5..91c987a 100644 Binary files a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.assets.cache and b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.assets.cache differ diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.AssemblyReference.cache b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.AssemblyReference.cache index 318b487..0022ab1 100644 Binary files a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.AssemblyReference.cache and b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.AssemblyReference.cache differ diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.BuildWithSkipAnalyzers b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.CopyComplete b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.CoreCompileInputs.cache b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..057c45e --- /dev/null +++ b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +4ba7a32f116063abaa1bd532c1ffc2e4867bd2ef diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.FileListAbsolute.txt b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..6e281a0 --- /dev/null +++ b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.csproj.FileListAbsolute.txt @@ -0,0 +1,34 @@ +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\BlogTestUI.exe +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\BlogTestUI.deps.json +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\BlogTestUI.runtimeconfig.json +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\BlogTestUI.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\BlogTestUI.pdb +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Dapper.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.Configuration.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.Configuration.Abstractions.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.Configuration.FileExtensions.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.Configuration.Json.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.FileProviders.Abstractions.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.FileProviders.Physical.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.FileSystemGlobbing.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\Microsoft.Extensions.Primitives.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\System.Data.SqlClient.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\runtimes\win-arm64\native\sni.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\runtimes\win-x64\native\sni.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\runtimes\win-x86\native\sni.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp2.1\System.Data.SqlClient.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\BlogDataLibrary.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\BlogDataLibrary.pdb +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.csproj.AssemblyReference.cache +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.AssemblyInfoInputs.cache +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.AssemblyInfo.cs +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.csproj.CoreCompileInputs.cache +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.csproj.CopyComplete +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\refint\BlogTestUI.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.pdb +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\BlogTestUI.genruntimeconfig.cache +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\obj\Debug\net6.0\ref\BlogTestUI.dll +C:\Users\James\source\repos\TaylorLE2\BlogTestUI\bin\Debug\net6.0\appsettings.json diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.dll b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.dll new file mode 100644 index 0000000..7a40089 Binary files /dev/null and b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.dll differ diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.genruntimeconfig.cache b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.genruntimeconfig.cache new file mode 100644 index 0000000..4531dac --- /dev/null +++ b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.genruntimeconfig.cache @@ -0,0 +1 @@ +0c70890352ed907b8b9822a8986ede0dc4651230 diff --git a/BlogTestUI/obj/Debug/net6.0/BlogTestUI.pdb b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.pdb new file mode 100644 index 0000000..c92740f Binary files /dev/null and b/BlogTestUI/obj/Debug/net6.0/BlogTestUI.pdb differ diff --git a/BlogTestUI/obj/Debug/net6.0/apphost.exe b/BlogTestUI/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..db42c44 Binary files /dev/null and b/BlogTestUI/obj/Debug/net6.0/apphost.exe differ diff --git a/BlogTestUI/obj/Debug/net6.0/ref/BlogTestUI.dll b/BlogTestUI/obj/Debug/net6.0/ref/BlogTestUI.dll new file mode 100644 index 0000000..13533cb Binary files /dev/null and b/BlogTestUI/obj/Debug/net6.0/ref/BlogTestUI.dll differ diff --git a/BlogTestUI/obj/Debug/net6.0/refint/BlogTestUI.dll b/BlogTestUI/obj/Debug/net6.0/refint/BlogTestUI.dll new file mode 100644 index 0000000..13533cb Binary files /dev/null and b/BlogTestUI/obj/Debug/net6.0/refint/BlogTestUI.dll differ diff --git a/BlogTestUI/obj/project.assets.json b/BlogTestUI/obj/project.assets.json index ac3ba22..77382fe 100644 --- a/BlogTestUI/obj/project.assets.json +++ b/BlogTestUI/obj/project.assets.json @@ -2,6 +2,19 @@ "version": 3, "targets": { "net6.0": { + "Dapper/2.0.123": { + "type": "package", + "compile": { + "lib/net5.0/Dapper.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net5.0/Dapper.dll": { + "related": ".xml" + } + } + }, "Microsoft.Extensions.Configuration/6.0.1": { "type": "package", "dependencies": { @@ -150,6 +163,105 @@ "buildTransitive/netcoreapp3.1/_._": {} } }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + }, + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "runtime.native.System.Data.SqlClient.sni/4.7.0": { + "type": "package", + "dependencies": { + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "runtimeTargets": { + "runtimes/win-arm64/native/sni.dll": { + "assetType": "native", + "rid": "win-arm64" + } + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "runtimeTargets": { + "runtimes/win-x64/native/sni.dll": { + "assetType": "native", + "rid": "win-x64" + } + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "runtimeTargets": { + "runtimes/win-x86/native/sni.dll": { + "assetType": "native", + "rid": "win-x86" + } + } + }, + "System.Data.SqlClient/4.8.5": { + "type": "package", + "dependencies": { + "Microsoft.Win32.Registry": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "runtime.native.System.Data.SqlClient.sni": "4.7.0" + }, + "compile": { + "ref/netcoreapp2.1/System.Data.SqlClient.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, "System.Runtime.CompilerServices.Unsafe/6.0.0": { "type": "package", "compile": { @@ -166,6 +278,52 @@ "buildTransitive/netcoreapp3.1/_._": {} } }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + }, + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Security.AccessControl.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "compile": { + "ref/netcoreapp3.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Security.Principal.Windows.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, "System.Text.Encodings.Web/6.0.0": { "type": "package", "dependencies": { @@ -210,10 +368,43 @@ "build": { "buildTransitive/netcoreapp3.1/_._": {} } + }, + "BlogDataLibrary/1.0.0": { + "type": "project", + "framework": ".NETCoreApp,Version=v6.0", + "dependencies": { + "Dapper": "2.0.123", + "Microsoft.Extensions.Configuration": "6.0.1", + "System.Data.SqlClient": "4.8.5" + }, + "compile": { + "bin/placeholder/BlogDataLibrary.dll": {} + }, + "runtime": { + "bin/placeholder/BlogDataLibrary.dll": {} + } } } }, "libraries": { + "Dapper/2.0.123": { + "sha512": "RDFF4rBLLmbpi6pwkY7q/M6UXHRJEOerplDGE5jwEkP/JGJnBauAClYavNKJPW1yOTWRPIyfj4is3EaJxQXILQ==", + "type": "package", + "path": "dapper/2.0.123", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Dapper.png", + "dapper.2.0.123.nupkg.sha512", + "dapper.nuspec", + "lib/net461/Dapper.dll", + "lib/net461/Dapper.xml", + "lib/net5.0/Dapper.dll", + "lib/net5.0/Dapper.xml", + "lib/netstandard2.0/Dapper.dll", + "lib/netstandard2.0/Dapper.xml" + ] + }, "Microsoft.Extensions.Configuration/6.0.1": { "sha512": "BUyFU9t+HzlSE7ri4B+AQN2BgTgHv/uM82s5ZkgU1BApyzWzIl48nDsG5wR1t0pniNuuyTBzG3qCW8152/NtSw==", "type": "package", @@ -386,6 +577,219 @@ "useSharedDesignerContext.txt" ] }, + "Microsoft.NETCore.Platforms/3.1.0": { + "sha512": "z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "type": "package", + "path": "microsoft.netcore.platforms/3.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/netstandard1.0/_._", + "microsoft.netcore.platforms.3.1.0.nupkg.sha512", + "microsoft.netcore.platforms.nuspec", + "runtime.json", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.Win32.Registry/4.7.0": { + "sha512": "KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "type": "package", + "path": "microsoft.win32.registry/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/Microsoft.Win32.Registry.dll", + "lib/net461/Microsoft.Win32.Registry.dll", + "lib/net461/Microsoft.Win32.Registry.xml", + "lib/netstandard1.3/Microsoft.Win32.Registry.dll", + "lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "lib/netstandard2.0/Microsoft.Win32.Registry.xml", + "microsoft.win32.registry.4.7.0.nupkg.sha512", + "microsoft.win32.registry.nuspec", + "ref/net46/Microsoft.Win32.Registry.dll", + "ref/net461/Microsoft.Win32.Registry.dll", + "ref/net461/Microsoft.Win32.Registry.xml", + "ref/net472/Microsoft.Win32.Registry.dll", + "ref/net472/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/Microsoft.Win32.Registry.dll", + "ref/netstandard1.3/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/de/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/es/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/it/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml", + "ref/netstandard2.0/Microsoft.Win32.Registry.dll", + "ref/netstandard2.0/Microsoft.Win32.Registry.xml", + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.xml", + "runtimes/win/lib/net46/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/net461/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/net461/Microsoft.Win32.Registry.xml", + "runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.xml", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "runtime.native.System.Data.SqlClient.sni/4.7.0": { + "sha512": "9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==", + "type": "package", + "path": "runtime.native.system.data.sqlclient.sni/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512", + "runtime.native.system.data.sqlclient.sni.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "sha512": "LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", + "type": "package", + "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.nuspec", + "runtimes/win-arm64/native/sni.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "sha512": "38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "type": "package", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "runtime.win-x64.runtime.native.system.data.sqlclient.sni.nuspec", + "runtimes/win-x64/native/sni.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "sha512": "YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "type": "package", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "runtime.win-x86.runtime.native.system.data.sqlclient.sni.nuspec", + "runtimes/win-x86/native/sni.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Data.SqlClient/4.8.5": { + "sha512": "fRqxut4lrndPHrXD+ht1XRmCL3obuKldm4XjCRYS9p5f7FSR7shBxAwTkDrpFMsHC9BhNgjjmUtiIjvehn5zkg==", + "type": "package", + "path": "system.data.sqlclient/4.8.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net451/System.Data.SqlClient.dll", + "lib/net46/System.Data.SqlClient.dll", + "lib/net461/System.Data.SqlClient.dll", + "lib/net461/System.Data.SqlClient.xml", + "lib/netcoreapp2.1/System.Data.SqlClient.dll", + "lib/netcoreapp2.1/System.Data.SqlClient.xml", + "lib/netstandard1.2/System.Data.SqlClient.dll", + "lib/netstandard1.2/System.Data.SqlClient.xml", + "lib/netstandard1.3/System.Data.SqlClient.dll", + "lib/netstandard1.3/System.Data.SqlClient.xml", + "lib/netstandard2.0/System.Data.SqlClient.dll", + "lib/netstandard2.0/System.Data.SqlClient.xml", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net451/System.Data.SqlClient.dll", + "ref/net46/System.Data.SqlClient.dll", + "ref/net461/System.Data.SqlClient.dll", + "ref/net461/System.Data.SqlClient.xml", + "ref/netcoreapp2.1/System.Data.SqlClient.dll", + "ref/netcoreapp2.1/System.Data.SqlClient.xml", + "ref/netstandard1.2/System.Data.SqlClient.dll", + "ref/netstandard1.2/System.Data.SqlClient.xml", + "ref/netstandard1.2/de/System.Data.SqlClient.xml", + "ref/netstandard1.2/es/System.Data.SqlClient.xml", + "ref/netstandard1.2/fr/System.Data.SqlClient.xml", + "ref/netstandard1.2/it/System.Data.SqlClient.xml", + "ref/netstandard1.2/ja/System.Data.SqlClient.xml", + "ref/netstandard1.2/ko/System.Data.SqlClient.xml", + "ref/netstandard1.2/ru/System.Data.SqlClient.xml", + "ref/netstandard1.2/zh-hans/System.Data.SqlClient.xml", + "ref/netstandard1.2/zh-hant/System.Data.SqlClient.xml", + "ref/netstandard1.3/System.Data.SqlClient.dll", + "ref/netstandard1.3/System.Data.SqlClient.xml", + "ref/netstandard1.3/de/System.Data.SqlClient.xml", + "ref/netstandard1.3/es/System.Data.SqlClient.xml", + "ref/netstandard1.3/fr/System.Data.SqlClient.xml", + "ref/netstandard1.3/it/System.Data.SqlClient.xml", + "ref/netstandard1.3/ja/System.Data.SqlClient.xml", + "ref/netstandard1.3/ko/System.Data.SqlClient.xml", + "ref/netstandard1.3/ru/System.Data.SqlClient.xml", + "ref/netstandard1.3/zh-hans/System.Data.SqlClient.xml", + "ref/netstandard1.3/zh-hant/System.Data.SqlClient.xml", + "ref/netstandard2.0/System.Data.SqlClient.dll", + "ref/netstandard2.0/System.Data.SqlClient.xml", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll", + "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.xml", + "runtimes/unix/lib/netstandard1.3/System.Data.SqlClient.dll", + "runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.dll", + "runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.xml", + "runtimes/win/lib/net451/System.Data.SqlClient.dll", + "runtimes/win/lib/net46/System.Data.SqlClient.dll", + "runtimes/win/lib/net461/System.Data.SqlClient.dll", + "runtimes/win/lib/net461/System.Data.SqlClient.xml", + "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll", + "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.xml", + "runtimes/win/lib/netstandard1.3/System.Data.SqlClient.dll", + "runtimes/win/lib/netstandard2.0/System.Data.SqlClient.dll", + "runtimes/win/lib/netstandard2.0/System.Data.SqlClient.xml", + "runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.dll", + "runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.xml", + "system.data.sqlclient.4.8.5.nupkg.sha512", + "system.data.sqlclient.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, "System.Runtime.CompilerServices.Unsafe/6.0.0": { "sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", "type": "package", @@ -411,6 +815,106 @@ "useSharedDesignerContext.txt" ] }, + "System.Security.AccessControl/4.7.0": { + "sha512": "JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "type": "package", + "path": "system.security.accesscontrol/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/System.Security.AccessControl.dll", + "lib/net461/System.Security.AccessControl.dll", + "lib/net461/System.Security.AccessControl.xml", + "lib/netstandard1.3/System.Security.AccessControl.dll", + "lib/netstandard2.0/System.Security.AccessControl.dll", + "lib/netstandard2.0/System.Security.AccessControl.xml", + "lib/uap10.0.16299/_._", + "ref/net46/System.Security.AccessControl.dll", + "ref/net461/System.Security.AccessControl.dll", + "ref/net461/System.Security.AccessControl.xml", + "ref/netstandard1.3/System.Security.AccessControl.dll", + "ref/netstandard1.3/System.Security.AccessControl.xml", + "ref/netstandard1.3/de/System.Security.AccessControl.xml", + "ref/netstandard1.3/es/System.Security.AccessControl.xml", + "ref/netstandard1.3/fr/System.Security.AccessControl.xml", + "ref/netstandard1.3/it/System.Security.AccessControl.xml", + "ref/netstandard1.3/ja/System.Security.AccessControl.xml", + "ref/netstandard1.3/ko/System.Security.AccessControl.xml", + "ref/netstandard1.3/ru/System.Security.AccessControl.xml", + "ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml", + "ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml", + "ref/netstandard2.0/System.Security.AccessControl.dll", + "ref/netstandard2.0/System.Security.AccessControl.xml", + "ref/uap10.0.16299/_._", + "runtimes/win/lib/net46/System.Security.AccessControl.dll", + "runtimes/win/lib/net461/System.Security.AccessControl.dll", + "runtimes/win/lib/net461/System.Security.AccessControl.xml", + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.xml", + "runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.accesscontrol.4.7.0.nupkg.sha512", + "system.security.accesscontrol.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Security.Principal.Windows/4.7.0": { + "sha512": "ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "type": "package", + "path": "system.security.principal.windows/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/System.Security.Principal.Windows.dll", + "lib/net461/System.Security.Principal.Windows.dll", + "lib/net461/System.Security.Principal.Windows.xml", + "lib/netstandard1.3/System.Security.Principal.Windows.dll", + "lib/netstandard2.0/System.Security.Principal.Windows.dll", + "lib/netstandard2.0/System.Security.Principal.Windows.xml", + "lib/uap10.0.16299/_._", + "ref/net46/System.Security.Principal.Windows.dll", + "ref/net461/System.Security.Principal.Windows.dll", + "ref/net461/System.Security.Principal.Windows.xml", + "ref/netcoreapp3.0/System.Security.Principal.Windows.dll", + "ref/netcoreapp3.0/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/System.Security.Principal.Windows.dll", + "ref/netstandard1.3/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/de/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/es/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/fr/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/it/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ja/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ko/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ru/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml", + "ref/netstandard2.0/System.Security.Principal.Windows.dll", + "ref/netstandard2.0/System.Security.Principal.Windows.xml", + "ref/uap10.0.16299/_._", + "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", + "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", + "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", + "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", + "runtimes/win/lib/net46/System.Security.Principal.Windows.dll", + "runtimes/win/lib/net461/System.Security.Principal.Windows.dll", + "runtimes/win/lib/net461/System.Security.Principal.Windows.xml", + "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", + "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", + "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", + "runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.principal.windows.4.7.0.nupkg.sha512", + "system.security.principal.windows.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, "System.Text.Encodings.Web/6.0.0": { "sha512": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", "type": "package", @@ -491,10 +995,16 @@ "system.text.json.nuspec", "useSharedDesignerContext.txt" ] + }, + "BlogDataLibrary/1.0.0": { + "type": "project", + "path": "../BlogDataLibrary/BlogDataLibrary.csproj", + "msbuildProject": "../BlogDataLibrary/BlogDataLibrary.csproj" } }, "projectFileDependencyGroups": { "net6.0": [ + "BlogDataLibrary >= 1.0.0", "Microsoft.Extensions.Configuration >= 6.0.1", "Microsoft.Extensions.Configuration.Json >= 6.0.0" ] @@ -525,7 +1035,11 @@ "frameworks": { "net6.0": { "targetAlias": "net6.0", - "projectReferences": {} + "projectReferences": { + "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\BlogDataLibrary.csproj": { + "projectPath": "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogDataLibrary\\BlogDataLibrary.csproj" + } + } } }, "warningProperties": { diff --git a/BlogTestUI/obj/project.nuget.cache b/BlogTestUI/obj/project.nuget.cache index 14e8efa..1fc3ace 100644 --- a/BlogTestUI/obj/project.nuget.cache +++ b/BlogTestUI/obj/project.nuget.cache @@ -1,9 +1,10 @@ { "version": 2, - "dgSpecHash": "uw7Iu0jjTFKvEzmnCJw2gcnx6wAN98plUX7G/OJK+ov9pMfgJs1MLBM2JSL1LnosgRXWL2bCJpF5Rg+4Uwvl5A==", + "dgSpecHash": "pckCadL6CriQJCFR5WfsdBnLRHCJPjGqNTkVaNfKDkzsQ5SjWT9czdgC3YtlBtFdrxPt4ZcmZwWt+fVRrsOG9A==", "success": true, "projectFilePath": "C:\\Users\\James\\source\\repos\\TaylorLE2\\BlogTestUI\\BlogTestUI.csproj", "expectedPackageFiles": [ + "C:\\Users\\James\\.nuget\\packages\\dapper\\2.0.123\\dapper.2.0.123.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\microsoft.extensions.configuration\\6.0.1\\microsoft.extensions.configuration.6.0.1.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\6.0.0\\microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\6.0.0\\microsoft.extensions.configuration.fileextensions.6.0.0.nupkg.sha512", @@ -12,7 +13,16 @@ "C:\\Users\\James\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\6.0.0\\microsoft.extensions.fileproviders.physical.6.0.0.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\6.0.0\\microsoft.extensions.filesystemglobbing.6.0.0.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\microsoft.extensions.primitives\\6.0.0\\microsoft.extensions.primitives.6.0.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.7.0\\runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\runtime.win-x86.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\system.data.sqlclient\\4.8.5\\system.data.sqlclient.4.8.5.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512", + "C:\\Users\\James\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\system.text.encodings.web\\6.0.0\\system.text.encodings.web.6.0.0.nupkg.sha512", "C:\\Users\\James\\.nuget\\packages\\system.text.json\\6.0.0\\system.text.json.6.0.0.nupkg.sha512" ], diff --git a/TaylorBlogDB/Stored Procedures/spPosts_Details.sql b/TaylorBlogDB/Stored Procedures/spPosts_Details.sql new file mode 100644 index 0000000..808e1b3 --- /dev/null +++ b/TaylorBlogDB/Stored Procedures/spPosts_Details.sql @@ -0,0 +1,13 @@ +CREATE PROCEDURE [dbo].[spPosts_Details] + @id int +AS +begin + set nocount on; + + SELECT [p].[Id], [p].[Title], [p].[Body], [p].[DateCreated], [u].[UserName], [u].[FirstName], [u].[LastName] + FROM dbo.Posts p + INNER JOIN dbo.Users u + ON p.UserId = u.Id + WHERE p.Id = @id; + +end diff --git a/TaylorBlogDB/Stored Procedures/spPosts_Insert.sql b/TaylorBlogDB/Stored Procedures/spPosts_Insert.sql new file mode 100644 index 0000000..71adce3 --- /dev/null +++ b/TaylorBlogDB/Stored Procedures/spPosts_Insert.sql @@ -0,0 +1,12 @@ +CREATE PROCEDURE [dbo].[spPosts_Insert] + @userId int, + @title nvarchar(150), + @body text, + @dateCreated datetime2 +AS +begin + INSERT INTO dbo.Posts + (UserId, Title, Body, DateCreated) + VALUES + (@userId, @title, @body, @dateCreated) +end \ No newline at end of file diff --git a/TaylorBlogDB/Stored Procedures/spPosts_List.sql b/TaylorBlogDB/Stored Procedures/spPosts_List.sql new file mode 100644 index 0000000..d87355f --- /dev/null +++ b/TaylorBlogDB/Stored Procedures/spPosts_List.sql @@ -0,0 +1,10 @@ +CREATE PROCEDURE [dbo].[spPosts_List] +AS +begin + set nocount on; + + SELECT [p].[Id], [p].[Title], [p].[Body], [p].[DateCreated], [u].[UserName], [u].[FirstName], [u].[LastName] + FROM dbo.Posts p + INNER JOIN dbo.Users u + ON p.UserId = u.Id +end diff --git a/TaylorBlogDB/Stored Procedures/spUsers_Authenticate.sql b/TaylorBlogDB/Stored Procedures/spUsers_Authenticate.sql new file mode 100644 index 0000000..9672081 --- /dev/null +++ b/TaylorBlogDB/Stored Procedures/spUsers_Authenticate.sql @@ -0,0 +1,13 @@ +CREATE PROCEDURE [dbo].[spUsers_Authenticate] + @username nvarchar(16), + @password nvarchar(16) +AS +begin + set nocount on; + + SELECT [Id], [UserName], [FirstName], [LastName], [Password] + FROM dbo.Users + WHERE UserName = @username + AND Password = @password; + +end \ No newline at end of file diff --git a/TaylorBlogDB/Stored Procedures/spUsers_Register.sql b/TaylorBlogDB/Stored Procedures/spUsers_Register.sql new file mode 100644 index 0000000..1852532 --- /dev/null +++ b/TaylorBlogDB/Stored Procedures/spUsers_Register.sql @@ -0,0 +1,13 @@ +CREATE PROCEDURE [dbo].[spUsers_Register] + @userName nvarchar(16), + @firstName nvarchar(50), + @lastName nvarchar(50), + @password nvarchar(16) +AS +begin + set nocount on; + + INSERT INTO dbo.Users + (UserName, FirstName, LastName, Password) + VALUES (@userName, @firstName, @lastName, @password) +end \ No newline at end of file diff --git a/TaylorBlogDB/TaylorBlogDB.dbmdl b/TaylorBlogDB/TaylorBlogDB.dbmdl index 43c0b03..e53efbc 100644 Binary files a/TaylorBlogDB/TaylorBlogDB.dbmdl and b/TaylorBlogDB/TaylorBlogDB.dbmdl differ diff --git a/TaylorBlogDB/TaylorBlogDB.jfm b/TaylorBlogDB/TaylorBlogDB.jfm index 6ecc685..e93caa3 100644 Binary files a/TaylorBlogDB/TaylorBlogDB.jfm and b/TaylorBlogDB/TaylorBlogDB.jfm differ diff --git a/TaylorBlogDB/TaylorBlogDB.sqlproj b/TaylorBlogDB/TaylorBlogDB.sqlproj index 4c2e05d..757201c 100644 --- a/TaylorBlogDB/TaylorBlogDB.sqlproj +++ b/TaylorBlogDB/TaylorBlogDB.sqlproj @@ -58,10 +58,16 @@ + + + + + + diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_10.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_10.txt new file mode 100644 index 0000000..5059257 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_10.txt @@ -0,0 +1,16 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[Users] (Table) + [dbo].[FK_Posts_Users] (Foreign Key) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_11.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_11.txt new file mode 100644 index 0000000..2e4ac00 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_11.txt @@ -0,0 +1,13 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_12.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_12.txt new file mode 100644 index 0000000..5059257 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_12.txt @@ -0,0 +1,16 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[Users] (Table) + [dbo].[FK_Posts_Users] (Foreign Key) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_13.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_13.txt new file mode 100644 index 0000000..2e4ac00 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_13.txt @@ -0,0 +1,13 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_14.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_14.txt new file mode 100644 index 0000000..5059257 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_14.txt @@ -0,0 +1,16 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[Users] (Table) + [dbo].[FK_Posts_Users] (Foreign Key) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_15.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_15.txt new file mode 100644 index 0000000..2e4ac00 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_15.txt @@ -0,0 +1,13 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_16.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_16.txt new file mode 100644 index 0000000..83455a2 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_16.txt @@ -0,0 +1,16 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[Posts] (Table) + [dbo].[FK_Posts_Users] (Foreign Key) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_3.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_3.txt new file mode 100644 index 0000000..8db8d01 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_3.txt @@ -0,0 +1,15 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[spUsers_Authenticate] (Procedure) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_4.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_4.txt new file mode 100644 index 0000000..4609c49 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_4.txt @@ -0,0 +1,15 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[spUsers_Register] (Procedure) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_5.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_5.txt new file mode 100644 index 0000000..a89a166 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_5.txt @@ -0,0 +1,15 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[spPosts_Insert] (Procedure) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_6.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_6.txt new file mode 100644 index 0000000..28d3dae --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_6.txt @@ -0,0 +1,17 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[Posts] (Table) + [dbo].[Users] (Table) + [dbo].[FK_Posts_Users] (Foreign Key) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_7.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_7.txt new file mode 100644 index 0000000..c511863 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_7.txt @@ -0,0 +1,15 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[spPosts_List] (Procedure) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_8.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_8.txt new file mode 100644 index 0000000..1f0fe78 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_8.txt @@ -0,0 +1,15 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[spPosts_Detail] (Procedure) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/DeploymentReport_9.txt b/TaylorBlogDB/bin/Debug/DeploymentReport_9.txt new file mode 100644 index 0000000..47d4fc1 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/DeploymentReport_9.txt @@ -0,0 +1,15 @@ +** Highlights + Tables that will be recreated with data migrated + None + Clustered indexes that will be dropped + None + Clustered indexes that will be created + None + Possible data issues + None + +** User actions + Create + [dbo].[spPosts_Details] (Procedure) + +** Supporting actions diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB.dacpac b/TaylorBlogDB/bin/Debug/TaylorBlogDB.dacpac index 15554ae..82d8a3f 100644 Binary files a/TaylorBlogDB/bin/Debug/TaylorBlogDB.dacpac and b/TaylorBlogDB/bin/Debug/TaylorBlogDB.dacpac differ diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB.dll b/TaylorBlogDB/bin/Debug/TaylorBlogDB.dll index 9d8b131..8c4a265 100644 Binary files a/TaylorBlogDB/bin/Debug/TaylorBlogDB.dll and b/TaylorBlogDB/bin/Debug/TaylorBlogDB.dll differ diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB.pdb b/TaylorBlogDB/bin/Debug/TaylorBlogDB.pdb index ba4a644..fbd81b2 100644 Binary files a/TaylorBlogDB/bin/Debug/TaylorBlogDB.pdb and b/TaylorBlogDB/bin/Debug/TaylorBlogDB.pdb differ diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_10.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_10.publish.sql new file mode 100644 index 0000000..9b1024d --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_10.publish.sql @@ -0,0 +1,82 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Table [dbo].[Users]...'; + + +GO +CREATE TABLE [dbo].[Users] ( + [Id] INT IDENTITY (1, 1) NOT NULL, + [UserName] NVARCHAR (16) NOT NULL, + [FirstName] NVARCHAR (50) NOT NULL, + [LastName] NVARCHAR (50) NOT NULL, + [Password] NVARCHAR (16) NOT NULL, + PRIMARY KEY CLUSTERED ([Id] ASC) +); + + +GO +PRINT N'Creating Foreign Key [dbo].[FK_Posts_Users]...'; + + +GO +ALTER TABLE [dbo].[Posts] WITH NOCHECK + ADD CONSTRAINT [FK_Posts_Users] FOREIGN KEY ([UserId]) REFERENCES [dbo].[Users] ([Id]); + + +GO +PRINT N'Checking existing data against newly created constraints'; + + +GO +USE [$(DatabaseName)]; + + +GO +ALTER TABLE [dbo].[Posts] WITH CHECK CHECK CONSTRAINT [FK_Posts_Users]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_11.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_11.publish.sql new file mode 100644 index 0000000..f4b279e --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_11.publish.sql @@ -0,0 +1,46 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_12.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_12.publish.sql new file mode 100644 index 0000000..9b1024d --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_12.publish.sql @@ -0,0 +1,82 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Table [dbo].[Users]...'; + + +GO +CREATE TABLE [dbo].[Users] ( + [Id] INT IDENTITY (1, 1) NOT NULL, + [UserName] NVARCHAR (16) NOT NULL, + [FirstName] NVARCHAR (50) NOT NULL, + [LastName] NVARCHAR (50) NOT NULL, + [Password] NVARCHAR (16) NOT NULL, + PRIMARY KEY CLUSTERED ([Id] ASC) +); + + +GO +PRINT N'Creating Foreign Key [dbo].[FK_Posts_Users]...'; + + +GO +ALTER TABLE [dbo].[Posts] WITH NOCHECK + ADD CONSTRAINT [FK_Posts_Users] FOREIGN KEY ([UserId]) REFERENCES [dbo].[Users] ([Id]); + + +GO +PRINT N'Checking existing data against newly created constraints'; + + +GO +USE [$(DatabaseName)]; + + +GO +ALTER TABLE [dbo].[Posts] WITH CHECK CHECK CONSTRAINT [FK_Posts_Users]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_13.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_13.publish.sql new file mode 100644 index 0000000..f4b279e --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_13.publish.sql @@ -0,0 +1,46 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_14.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_14.publish.sql new file mode 100644 index 0000000..9b1024d --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_14.publish.sql @@ -0,0 +1,82 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Table [dbo].[Users]...'; + + +GO +CREATE TABLE [dbo].[Users] ( + [Id] INT IDENTITY (1, 1) NOT NULL, + [UserName] NVARCHAR (16) NOT NULL, + [FirstName] NVARCHAR (50) NOT NULL, + [LastName] NVARCHAR (50) NOT NULL, + [Password] NVARCHAR (16) NOT NULL, + PRIMARY KEY CLUSTERED ([Id] ASC) +); + + +GO +PRINT N'Creating Foreign Key [dbo].[FK_Posts_Users]...'; + + +GO +ALTER TABLE [dbo].[Posts] WITH NOCHECK + ADD CONSTRAINT [FK_Posts_Users] FOREIGN KEY ([UserId]) REFERENCES [dbo].[Users] ([Id]); + + +GO +PRINT N'Checking existing data against newly created constraints'; + + +GO +USE [$(DatabaseName)]; + + +GO +ALTER TABLE [dbo].[Posts] WITH CHECK CHECK CONSTRAINT [FK_Posts_Users]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_15.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_15.publish.sql new file mode 100644 index 0000000..f4b279e --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_15.publish.sql @@ -0,0 +1,46 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_16.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_16.publish.sql new file mode 100644 index 0000000..3c9b436 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_16.publish.sql @@ -0,0 +1,82 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Table [dbo].[Posts]...'; + + +GO +CREATE TABLE [dbo].[Posts] ( + [Id] INT IDENTITY (1, 1) NOT NULL, + [UserId] INT NOT NULL, + [Title] NVARCHAR (150) NOT NULL, + [Body] TEXT NOT NULL, + [DateCreated] DATETIME2 (7) NOT NULL, + PRIMARY KEY CLUSTERED ([Id] ASC) +); + + +GO +PRINT N'Creating Foreign Key [dbo].[FK_Posts_Users]...'; + + +GO +ALTER TABLE [dbo].[Posts] WITH NOCHECK + ADD CONSTRAINT [FK_Posts_Users] FOREIGN KEY ([UserId]) REFERENCES [dbo].[Users] ([Id]); + + +GO +PRINT N'Checking existing data against newly created constraints'; + + +GO +USE [$(DatabaseName)]; + + +GO +ALTER TABLE [dbo].[Posts] WITH CHECK CHECK CONSTRAINT [FK_Posts_Users]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_3.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_3.publish.sql new file mode 100644 index 0000000..8f72363 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_3.publish.sql @@ -0,0 +1,64 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Procedure [dbo].[spUsers_Authenticate]...'; + + +GO +CREATE PROCEDURE [dbo].[spUsers_Authenticate] + @username nvarchar(16), + @password nvarchar(16) +AS +begin + set nocount on; + + SELECT [Id], [UserName], [FirstName], [LastName], [Password] + FROM dbo.Users + WHERE UserName = @username + AND Password = @password; + +end +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_4.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_4.publish.sql new file mode 100644 index 0000000..a12004e --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_4.publish.sql @@ -0,0 +1,64 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Procedure [dbo].[spUsers_Register]...'; + + +GO +CREATE PROCEDURE [dbo].[spUsers_Register] + @userName nvarchar(16), + @firstName nvarchar(50), + @lastName nvarchar(50), + @password nvarchar(16) +AS +begin + set nocount on; + + INSERT INTO dbo.Users + (UserName, FirstName, LastName, Password) + VALUES (@userName, @firstName, @lastName, @password) +end +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_5.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_5.publish.sql new file mode 100644 index 0000000..7c13ce5 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_5.publish.sql @@ -0,0 +1,63 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Procedure [dbo].[spPosts_Insert]...'; + + +GO +CREATE PROCEDURE [dbo].[spPosts_Insert] + @userId int, + @title nvarchar(150), + @body text, + @dateCreated datetime2 +AS +begin + INSERT INTO dbo.Posts + (UserId, Title, Body, DateCreated) + VALUES + (@userId, @title, @body, @dateCreated) +end +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_6.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_6.publish.sql new file mode 100644 index 0000000..98b16e4 --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_6.publish.sql @@ -0,0 +1,97 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Table [dbo].[Posts]...'; + + +GO +CREATE TABLE [dbo].[Posts] ( + [Id] INT IDENTITY (1, 1) NOT NULL, + [UserId] INT NOT NULL, + [Title] NVARCHAR (150) NOT NULL, + [Body] TEXT NOT NULL, + [DateCreated] DATETIME2 (7) NOT NULL, + PRIMARY KEY CLUSTERED ([Id] ASC) +); + + +GO +PRINT N'Creating Table [dbo].[Users]...'; + + +GO +CREATE TABLE [dbo].[Users] ( + [Id] INT IDENTITY (1, 1) NOT NULL, + [UserName] NVARCHAR (16) NOT NULL, + [FirstName] NVARCHAR (50) NOT NULL, + [LastName] NVARCHAR (50) NOT NULL, + [Password] NVARCHAR (16) NOT NULL, + PRIMARY KEY CLUSTERED ([Id] ASC) +); + + +GO +PRINT N'Creating Foreign Key [dbo].[FK_Posts_Users]...'; + + +GO +ALTER TABLE [dbo].[Posts] WITH NOCHECK + ADD CONSTRAINT [FK_Posts_Users] FOREIGN KEY ([UserId]) REFERENCES [dbo].[Users] ([Id]); + + +GO +PRINT N'Checking existing data against newly created constraints'; + + +GO +USE [$(DatabaseName)]; + + +GO +ALTER TABLE [dbo].[Posts] WITH CHECK CHECK CONSTRAINT [FK_Posts_Users]; + + +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_7.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_7.publish.sql new file mode 100644 index 0000000..58a90be --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_7.publish.sql @@ -0,0 +1,61 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Procedure [dbo].[spPosts_List]...'; + + +GO +CREATE PROCEDURE [dbo].[spPosts_List] +AS +begin + set nocount on; + + SELECT [p].[Id], [p].[Title], [p].[Body], [p].[DateCreated], [u].[UserName], [u].[FirstName], [u].[LastName] + FROM dbo.Posts p + INNER JOIN dbo.Users u + ON p.UserId = u.Id +end +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_8.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_8.publish.sql new file mode 100644 index 0000000..33181eb --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_8.publish.sql @@ -0,0 +1,64 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Procedure [dbo].[spPosts_Detail]...'; + + +GO +CREATE PROCEDURE [dbo].[spPosts_Detail] + @id int +AS +begin + set nocount on; + + SELECT [p].[Id], [p].[Title], [p].[Body], [p].[DateCreated], [u].[UserName], [u].[FirstName], [u].[LastName] + FROM dbo.Posts p + INNER JOIN dbo.Users u + ON p.UserId = u.Id + WHERE p.Id = @id; + +end +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/bin/Debug/TaylorBlogDB_9.publish.sql b/TaylorBlogDB/bin/Debug/TaylorBlogDB_9.publish.sql new file mode 100644 index 0000000..e475e7f --- /dev/null +++ b/TaylorBlogDB/bin/Debug/TaylorBlogDB_9.publish.sql @@ -0,0 +1,64 @@ +/* +Deployment script for BlogDB + +This code was generated by a tool. +Changes to this file may cause incorrect behavior and will be lost if +the code is regenerated. +*/ + +GO +SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; + +SET NUMERIC_ROUNDABORT OFF; + + +GO +:setvar DatabaseName "BlogDB" +:setvar DefaultFilePrefix "BlogDB" +:setvar DefaultDataPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" +:setvar DefaultLogPath "C:\Users\James\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" + +GO +:on error exit +GO +/* +Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. +To re-enable the script after enabling SQLCMD mode, execute the following: +SET NOEXEC OFF; +*/ +:setvar __IsSqlCmdEnabled "True" +GO +IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' + BEGIN + PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; + SET NOEXEC ON; + END + + +GO +USE [$(DatabaseName)]; + + +GO +PRINT N'Creating Procedure [dbo].[spPosts_Details]...'; + + +GO +CREATE PROCEDURE [dbo].[spPosts_Details] + @id int +AS +begin + set nocount on; + + SELECT [p].[Id], [p].[Title], [p].[Body], [p].[DateCreated], [u].[UserName], [u].[FirstName], [u].[LastName] + FROM dbo.Posts p + INNER JOIN dbo.Users u + ON p.UserId = u.Id + WHERE p.Id = @id; + +end +GO +PRINT N'Update complete.'; + + +GO diff --git a/TaylorBlogDB/obj/Debug/TaylorBlogDB.dll b/TaylorBlogDB/obj/Debug/TaylorBlogDB.dll index 9d8b131..8c4a265 100644 Binary files a/TaylorBlogDB/obj/Debug/TaylorBlogDB.dll and b/TaylorBlogDB/obj/Debug/TaylorBlogDB.dll differ diff --git a/TaylorBlogDB/obj/Debug/TaylorBlogDB.pdb b/TaylorBlogDB/obj/Debug/TaylorBlogDB.pdb index ba4a644..fbd81b2 100644 Binary files a/TaylorBlogDB/obj/Debug/TaylorBlogDB.pdb and b/TaylorBlogDB/obj/Debug/TaylorBlogDB.pdb differ