我滴个乖乖

This commit is contained in:
zel
2025-02-20 15:20:28 +08:00
parent 4b54cca70b
commit 485cfcd6f2
2343 changed files with 495732 additions and 1022 deletions

View File

@@ -0,0 +1,19 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace ZelWiki.Library
{
public class ApplicationDbContext : IdentityDbContext<IdentityUser>
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);
}
}
}

View File

@@ -0,0 +1,187 @@
using NTDLS.Helpers;
using System.Text;
namespace ZelWiki.Library
{
public static class ConfirmActionHelper
{
/// <summary>
/// Generates a link that navigates via GET to a "confirm action" page where the yes link is RED, but the NO button is still GREEN.
/// </summary>
/// <param name="message">The message to be displayed.</param>
/// <param name="linkLabel">the label for the link that will redirect to this confirm action page.</param>
/// <param name="controllerURL">The URL which will handle the click of the "yes" or "no" for the confirm action page.</param>
/// <param name="parameter">An optional parameter to pass to the page and controller function.</param>
/// <param name="yesOrDefaultRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected YES (or NO, if the NO link is not specified.</param>
/// <param name="noRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected NO, if not specified, the same link that is provided to yesOrDefaultRedirectURL is used.</param>
/// <returns></returns>
public static string GenerateDangerLink(string basePath, string message, string linkLabel, string controllerURL,
string? yesOrDefaultRedirectURL, string? noRedirectURL = null)
{
noRedirectURL ??= yesOrDefaultRedirectURL;
yesOrDefaultRedirectURL.EnsureNotNull();
noRedirectURL.EnsureNotNull();
var param = new StringBuilder();
param.Append($"ControllerURL={Uri.EscapeDataString($"{basePath}{controllerURL}")}");
param.Append($"&YesRedirectURL={Uri.EscapeDataString(yesOrDefaultRedirectURL)}");
param.Append($"&NoRedirectURL={Uri.EscapeDataString(noRedirectURL)}");
param.Append($"&Message={Uri.EscapeDataString(message)}");
param.Append($"&Style=Danger");
return $"<a class=\"btn btn-danger btn-thin\" href=\"{basePath}/Utility/ConfirmAction?{param}\">{linkLabel}</a>";
}
/// <summary>
/// Generates a link that navigates via GET to a "confirm action" page where the yes link is GREEN.
/// </summary>
/// <param name="message">The message to be displayed.</param>
/// <param name="linkLabel">the label for the link that will redirect to this confirm action page.</param>
/// <param name="controllerURL">The URL which will handle the click of the "yes" or "no" for the confirm action page.</param>
/// <param name="parameter">An optional parameter to pass to the page and controller function.</param>
/// <param name="yesOrDefaultRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected YES (or NO, if the NO link is not specified.</param>
/// <param name="noRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected NO, if not specified, the same link that is provided to yesOrDefaultRedirectURL is used.</param>
/// <returns></returns>
public static string GenerateSafeLink(string basePath, string message, string linkLabel, string controllerURL,
string? yesOrDefaultRedirectURL, string? noRedirectURL = null)
{
noRedirectURL ??= yesOrDefaultRedirectURL;
yesOrDefaultRedirectURL.EnsureNotNull();
noRedirectURL.EnsureNotNull();
var param = new StringBuilder();
param.Append($"ControllerURL={Uri.EscapeDataString($"{basePath}{controllerURL}")}");
param.Append($"&YesRedirectURL={Uri.EscapeDataString(yesOrDefaultRedirectURL)}");
param.Append($"&NoRedirectURL={Uri.EscapeDataString(noRedirectURL)}");
param.Append($"&Message={Uri.EscapeDataString(message)}");
param.Append($"&Style=Safe");
return $"<a class=\"btn btn-success btn-thin\" href=\"{basePath}/Utility/ConfirmAction?{param}\">{linkLabel}</a>";
}
/// <summary>
/// Generates a link that navigates via GET to a "confirm action" page where the yes link is YELLOW, but the NO button is still GREEN.
/// </summary>
/// <param name="message">The message to be displayed.</param>
/// <param name="linkLabel">the label for the link that will redirect to this confirm action page.</param>
/// <param name="controllerURL">The URL which will handle the click of the "yes" or "no" for the confirm action page.</param>
/// <param name="parameter">An optional parameter to pass to the page and controller function.</param>
/// <param name="yesOrDefaultRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected YES (or NO, if the NO link is not specified.</param>
/// <param name="noRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected NO, if not specified, the same link that is provided to yesOrDefaultRedirectURL is used.</param>
/// <returns></returns>
public static string GenerateWarnLink(string basePath, string message, string linkLabel, string controllerURL,
string? yesOrDefaultRedirectURL, string? noRedirectURL = null)
{
noRedirectURL ??= yesOrDefaultRedirectURL;
yesOrDefaultRedirectURL.EnsureNotNull();
noRedirectURL.EnsureNotNull();
var param = new StringBuilder();
param.Append($"ControllerURL={Uri.EscapeDataString($"{basePath}{controllerURL}")}");
param.Append($"&YesRedirectURL={Uri.EscapeDataString(yesOrDefaultRedirectURL)}");
param.Append($"&NoRedirectURL={Uri.EscapeDataString(noRedirectURL)}");
param.Append($"&Message={Uri.EscapeDataString(message)}");
param.Append($"&Style=Warn");
return $"<a class=\"btn btn-warning btn-thin\" href=\"{basePath}/Utility/ConfirmAction?{param}\">{linkLabel}</a>";
}
/*
/// <summary>
/// Generates a link that navigates via POST to a "confirm action" page where the yes button is RED, but the NO button is still GREEN.
/// </summary>
/// <param name="message">The message to be displayed.</param>
/// <param name="buttonLabel">the label for the button that will redirect to this confirm action page.</param>
/// <param name="controllerURL">The URL which will handle the click of the "yes" or "no" for the confirm action page.</param>
/// <param name="parameter">An optional parameter to pass to the page and controller function.</param>
/// <param name="yesOrDefaultRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected YES (or NO, if the NO link is not specified.</param>
/// <param name="noRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected NO, if not specified, the same link that is provided to yesOrDefaultRedirectURL is used.</param>
/// <returns></returns>
public static string GenerateDangerButton(string message, string buttonLabel, string controllerURL,
string? yesOrDefaultRedirectURL, string? noRedirectURL = null)
{
noRedirectURL ??= yesOrDefaultRedirectURL;
yesOrDefaultRedirectURL.EnsureNotNull();
noRedirectURL.EnsureNotNull();
var html = new StringBuilder();
html.Append("<form action='/Utility/ConfirmAction' method='post'>");
html.Append($"<input type='hidden' name='ControllerURL' value='{controllerURL}' />");
html.Append($"<input type='hidden' name='YesRedirectURL' value='{yesOrDefaultRedirectURL}' />");
html.Append($"<input type='hidden' name='NoRedirectURL' value='{noRedirectURL}' />");
html.Append($"<input type='hidden' name='Message' value='{message}' />");
html.Append($"<input type='hidden' name='Style' value='Danger' />");
html.Append($"<button type='submit' class='btn btn-danger rounded-0' name='ActionToConfirm' value='PurgeDeletedPages'>{buttonLabel}</button>");
html.Append("</form>");
return html.ToString();
}
/// <summary>
/// Generates a link that navigates via POST to a "confirm action" page where the yes and no buttons are GREEN.
/// </summary>
/// <param name="message">The message to be displayed.</param>
/// <param name="buttonLabel">the label for the button that will redirect to this confirm action page.</param>
/// <param name="controllerURL">The URL which will handle the click of the "yes" or "no" for the confirm action page.</param>
/// <param name="parameter">An optional parameter to pass to the page and controller function.</param>
/// <param name="yesOrDefaultRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected YES (or NO, if the NO link is not specified.</param>
/// <param name="noRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected NO, if not specified, the same link that is provided to yesOrDefaultRedirectURL is used.</param>
public static string GenerateSafeButton(string message, string buttonLabel, string controllerURL,
string? yesOrDefaultRedirectURL, string? noRedirectURL = null)
{
noRedirectURL ??= yesOrDefaultRedirectURL;
yesOrDefaultRedirectURL.EnsureNotNull();
noRedirectURL.EnsureNotNull();
var html = new StringBuilder();
html.Append("<form action='/Utility/ConfirmAction' method='post'>");
html.Append($"<input type='hidden' name='ControllerURL' value='{controllerURL}' />");
html.Append($"<input type='hidden' name='YesRedirectURL' value='{yesOrDefaultRedirectURL}' />");
html.Append($"<input type='hidden' name='NoRedirectURL' value='{noRedirectURL}' />");
html.Append($"<input type='hidden' name='Message' value='{message}' />");
html.Append($"<input type='hidden' name='Style' value='Safe' />");
html.Append($"<button type='submit' class='btn btn-success rounded-0' name='ActionToConfirm' value='PurgeDeletedPages'>{buttonLabel}</button>");
html.Append("</form>");
return html.ToString();
}
/// <summary>
/// Generates a link that navigates via POST to a "confirm action" page where the yes button is YELLOW, but the NO button is still GREEN.
/// </summary>
/// <param name="message">The message to be displayed.</param>
/// <param name="buttonLabel">the label for the button that will redirect to this confirm action page.</param>
/// <param name="controllerURL">The URL which will handle the click of the "yes" or "no" for the confirm action page.</param>
/// <param name="parameter">An optional parameter to pass to the page and controller function.</param>
/// <param name="yesOrDefaultRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected YES (or NO, if the NO link is not specified.</param>
/// <param name="noRedirectURL">The URL to redirect to AFTER the controller has been called if the user selected NO, if not specified, the same link that is provided to yesOrDefaultRedirectURL is used.</param>
public static string GenerateWarnButton(string message, string buttonLabel, string controllerURL,
string? yesOrDefaultRedirectURL, string? noRedirectURL = null)
{
noRedirectURL ??= yesOrDefaultRedirectURL;
yesOrDefaultRedirectURL.EnsureNotNull();
noRedirectURL.EnsureNotNull();
var html = new StringBuilder();
html.Append("<form action='/Utility/ConfirmAction' method='post'>");
html.Append($"<input type='hidden' name='ControllerURL' value='{controllerURL}' />");
html.Append($"<input type='hidden' name='YesRedirectURL' value='{yesOrDefaultRedirectURL}' />");
html.Append($"<input type='hidden' name='NoRedirectURL' value='{noRedirectURL}' />");
html.Append($"<input type='hidden' name='Message' value='{message}' />");
html.Append($"<input type='hidden' name='Style' value='Warn' />");
html.Append($"<button type='submit' class='btn btn-warning rounded-0' name='ActionToConfirm' value='PurgeDeletedPages'>{buttonLabel}</button>");
html.Append("</form>");
return html.ToString();
}
*/
}
}

View File

@@ -0,0 +1,65 @@
namespace ZelWiki.Library
{
public static class Constants
{
public const string CRYPTOCHECK = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
public const string DEFAULTUSERNAME = "admin@tightwiki.com";
public const string DEFAULTACCOUNT = "admin";
public const string DEFAULTPASSWORD = "2Tight2Wiki@";
public enum WikiTheme
{
Light,
Dark
}
public enum AdminPasswordChangeState
{
/// <summary>
/// The password has not been changed, display a big warning.
/// </summary>
IsDefault,
/// <summary>
/// All is well!
/// </summary>
HasBeenChanged,
/// <summary>
/// The default password status does not exist and the password needs to be set to default.
/// </summary>
NeedsToBeSet
}
public static class WikiInstruction
{
public static string Deprecate { get; } = "Deprecate";
public static string Protect { get; } = "Protect";
public static string Template { get; } = "Template";
public static string Review { get; } = "Review";
public static string Include { get; } = "Include";
public static string Draft { get; } = "Draft";
public static string NoCache { get; } = "NoCache";
public static string HideFooterComments { get; } = "HideFooterComments";
public static string HideFooterLastModified { get; } = "HideFooterLastModified";
}
public static class Roles
{
/// <summary>
/// Administrators can do anything. Add, edit, delete, pages, users, etc.
/// </summary>
public const string Administrator = "Administrator";
/// <summary>
/// Read-only user with a profile.
/// </summary>
public const string Member = "Member";
/// <summary>
/// Contributor can add and edit pages.
/// </summary>
public const string Contributor = "Contributor";
/// <summary>
/// Moderators can add, edit and delete pages.
/// </summary>
public const string Moderator = "Moderator";
}
}
}

View File

@@ -0,0 +1,30 @@
using System.Globalization;
namespace ZelWiki.Library
{
public class CountryItem
{
public string Text { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public static List<CountryItem> GetAll()
{
var list = new List<CountryItem>();
foreach (var ci in CultureInfo.GetCultures(CultureTypes.SpecificCultures))
{
var regionInfo = new RegionInfo(ci.Name);
if (list.Where(o => o.Value == regionInfo.Name).Any() == false)
{
list.Add(new CountryItem
{
Text = regionInfo.EnglishName,
Value = regionInfo.Name
});
}
}
return list.OrderBy(o => o.Text).ToList();
}
}
}

View File

@@ -0,0 +1,18 @@
using Dapper;
using System.Data;
namespace ZelWiki.Library
{
public class GuidTypeHandler : SqlMapper.TypeHandler<Guid>
{
public override void SetValue(IDbDataParameter parameter, Guid value)
{
parameter.Value = value.ToString();
}
public override Guid Parse(object value)
{
return Guid.Parse((string)value);
}
}
}

72
ZelWiki.Library/Images.cs Normal file
View File

@@ -0,0 +1,72 @@
using ImageMagick;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
namespace ZelWiki.Library
{
public static class Images
{
public enum ImageFormat
{
Png,
Jpeg,
Bmp,
Tiff,
Gif
}
public static byte[] ResizeGifImage(byte[] imageBytes, int width, int height)
{
using var imageCollection = new MagickImageCollection(imageBytes);
if (imageCollection.Count > 10)
{
Parallel.ForEach(imageCollection, frame =>
{
frame.Sample((uint)width, (uint)height);
});
}
else
{
Parallel.ForEach(imageCollection, frame =>
{
frame.Resize((uint)width, (uint)height);
});
}
return imageCollection.ToByteArray();
}
public static Image ResizeImage(Image image, int width, int height)
{
image.Mutate(x => x.Resize(width, height));
return image;
}
public static string BestEffortConvertImage(Image image, MemoryStream ms, string preferredContentType)
{
switch (preferredContentType.ToLower())
{
case "image/png":
image.SaveAsPng(ms);
return preferredContentType;
case "image/jpeg":
image.SaveAsJpeg(ms);
return preferredContentType;
case "image/bmp":
image.SaveAsBmp(ms);
return preferredContentType;
case "image/gif":
throw new NotImplementedException("Use [ResizeGifImage] for saving animated images.");
//image.SaveAsGif(ms);
//return preferredContentType;
case "image/tiff":
image.SaveAsTiff(ms);
return preferredContentType;
default:
image.SaveAsPng(ms);
return "image/png";
}
}
}
}

View File

@@ -0,0 +1,13 @@
namespace ZelWiki.Library.Interfaces
{
public interface IAccountProfile
{
public string Role { get; set; }
public Guid UserId { get; set; }
public string EmailAddress { get; set; }
public string AccountName { get; set; }
public string Navigation { get; set; }
public string? Theme { get; set; }
public string TimeZone { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
namespace ZelWiki.Library.Interfaces
{
public interface IPage
{
public int Id { get; set; }
public int Revision { get; set; }
public int MostCurrentRevision { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Namespace { get; }
public string Title { get; }
public string Body { get; }
public string Navigation { get; }
public DateTime CreatedDate { get; set; }
public DateTime ModifiedDate { get; set; }
public bool IsHistoricalVersion { get; }
public bool Exists { get; }
}
}

View File

@@ -0,0 +1,44 @@
using Microsoft.AspNetCore.Http;
namespace ZelWiki.Library.Interfaces
{
public interface ISessionState
{
public IAccountProfile? Profile { get; set; }
IQueryCollection? QueryString { get; set; }
/// <summary>
/// Is the current user (or anonymous) allowed to view?
/// </summary>
public bool CanView => true;
/// <summary>
/// Is the current user allowed to edit?
/// </summary>
public bool CanEdit { get; }
/// <summary>
/// Is the current user allowed to perform administrative functions?
/// </summary>
public bool CanAdmin { get; }
/// <summary>
/// Is the current user allowed to moderate content (such as delete comments, and view moderation tools)?
/// </summary>
public bool CanModerate { get; }
/// <summary>
/// Is the current user allowed to create pages?
/// </summary>
public bool CanCreate { get; }
/// <summary>
/// Is the current user allowed to delete unprotected pages?
/// </summary>
public bool CanDelete { get; }
public DateTime LocalizeDateTime(DateTime datetime);
public TimeZoneInfo GetPreferredTimeZone();
}
}

View File

@@ -0,0 +1,7 @@
namespace ZelWiki.Library.Interfaces
{
public interface IWikiEmailSender
{
Task SendEmailAsync(string email, string subject, string htmlMessage);
}
}

View File

@@ -0,0 +1,37 @@
using System.Globalization;
namespace ZelWiki.Library
{
public class LanguageItem
{
public string Text { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public static List<LanguageItem> GetAll()
{
var list = new List<LanguageItem>();
var cultureInfo = CultureInfo.GetCultures(CultureTypes.SpecificCultures);
foreach (var culture in cultureInfo)
{
var name = culture.NativeName;
if (name.Contains('('))
{
name = name.Substring(0, name.IndexOf('(')).Trim();
}
if (list.Where(o => o.Value == name).Any() == false)
{
list.Add(new LanguageItem
{
Text = name,
Value = name
});
}
}
return list.OrderBy(o => o.Text).ToList();
}
}
}

View File

@@ -0,0 +1,410 @@
using System.Diagnostics.CodeAnalysis;
namespace ZelWiki.Library
{
internal static class MimeTypes
{
/// <summary>
/// Given a file path, determine the MIME type
/// </summary>
/// <param name="subpath">A file path</param>
/// <param name="contentType">The resulting MIME type</param>
/// <returns>True if MIME type could be determined</returns>
public static bool TryGetContentType(string filePath, [MaybeNullWhen(false)] out string contentType)
{
string extension = Path.GetExtension(filePath);
if (extension == null)
{
contentType = null;
return false;
}
return Collection.TryGetValue(extension, out contentType);
}
//Borrowed from FileExtensionContentTypeProvider().TryGetContentType
public static Dictionary<string, string> Collection = new(StringComparer.OrdinalIgnoreCase)
{
{ ".323", "text/h323" },
{ ".3g2", "video/3gpp2" },
{ ".3gp2", "video/3gpp2" },
{ ".3gp", "video/3gpp" },
{ ".3gpp", "video/3gpp" },
{ ".aac", "audio/aac" },
{ ".aaf", "application/octet-stream" },
{ ".aca", "application/octet-stream" },
{ ".accdb", "application/msaccess" },
{ ".accde", "application/msaccess" },
{ ".accdt", "application/msaccess" },
{ ".acx", "application/internet-property-stream" },
{ ".adt", "audio/vnd.dlna.adts" },
{ ".adts", "audio/vnd.dlna.adts" },
{ ".afm", "application/octet-stream" },
{ ".ai", "application/postscript" },
{ ".aif", "audio/x-aiff" },
{ ".aifc", "audio/aiff" },
{ ".aiff", "audio/aiff" },
{ ".appcache", "text/cache-manifest" },
{ ".application", "application/x-ms-application" },
{ ".art", "image/x-jg" },
{ ".asd", "application/octet-stream" },
{ ".asf", "video/x-ms-asf" },
{ ".asi", "application/octet-stream" },
{ ".asm", "text/plain" },
{ ".asr", "video/x-ms-asf" },
{ ".asx", "video/x-ms-asf" },
{ ".atom", "application/atom+xml" },
{ ".au", "audio/basic" },
{ ".avi", "video/x-msvideo" },
{ ".axs", "application/olescript" },
{ ".bas", "text/plain" },
{ ".bcpio", "application/x-bcpio" },
{ ".bin", "application/octet-stream" },
{ ".bmp", "image/bmp" },
{ ".c", "text/plain" },
{ ".cab", "application/vnd.ms-cab-compressed" },
{ ".calx", "application/vnd.ms-office.calx" },
{ ".cat", "application/vnd.ms-pki.seccat" },
{ ".cdf", "application/x-cdf" },
{ ".chm", "application/octet-stream" },
{ ".class", "application/x-java-applet" },
{ ".clp", "application/x-msclip" },
{ ".cmx", "image/x-cmx" },
{ ".cnf", "text/plain" },
{ ".cod", "image/cis-cod" },
{ ".cpio", "application/x-cpio" },
{ ".cpp", "text/plain" },
{ ".crd", "application/x-mscardfile" },
{ ".crl", "application/pkix-crl" },
{ ".crt", "application/x-x509-ca-cert" },
{ ".csh", "application/x-csh" },
{ ".css", "text/css" },
{ ".csv", "text/csv" }, // https://tools.ietf.org/html/rfc7111#section-5.1
{ ".cur", "application/octet-stream" },
{ ".dcr", "application/x-director" },
{ ".deploy", "application/octet-stream" },
{ ".der", "application/x-x509-ca-cert" },
{ ".dib", "image/bmp" },
{ ".dir", "application/x-director" },
{ ".disco", "text/xml" },
{ ".dlm", "text/dlm" },
{ ".doc", "application/msword" },
{ ".docm", "application/vnd.ms-word.document.macroEnabled.12" },
{ ".docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document" },
{ ".dot", "application/msword" },
{ ".dotm", "application/vnd.ms-word.template.macroEnabled.12" },
{ ".dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template" },
{ ".dsp", "application/octet-stream" },
{ ".dtd", "text/xml" },
{ ".dvi", "application/x-dvi" },
{ ".dvr-ms", "video/x-ms-dvr" },
{ ".dwf", "drawing/x-dwf" },
{ ".dwp", "application/octet-stream" },
{ ".dxr", "application/x-director" },
{ ".eml", "message/rfc822" },
{ ".emz", "application/octet-stream" },
{ ".eot", "application/vnd.ms-fontobject" },
{ ".eps", "application/postscript" },
{ ".etx", "text/x-setext" },
{ ".evy", "application/envoy" },
{ ".exe", "application/vnd.microsoft.portable-executable" }, // https://www.iana.org/assignments/media-types/application/vnd.microsoft.portable-executable
{ ".fdf", "application/vnd.fdf" },
{ ".fif", "application/fractals" },
{ ".fla", "application/octet-stream" },
{ ".flr", "x-world/x-vrml" },
{ ".flv", "video/x-flv" },
{ ".gif", "image/gif" },
{ ".gtar", "application/x-gtar" },
{ ".gz", "application/x-gzip" },
{ ".h", "text/plain" },
{ ".hdf", "application/x-hdf" },
{ ".hdml", "text/x-hdml" },
{ ".hhc", "application/x-oleobject" },
{ ".hhk", "application/octet-stream" },
{ ".hhp", "application/octet-stream" },
{ ".hlp", "application/winhlp" },
{ ".hqx", "application/mac-binhex40" },
{ ".hta", "application/hta" },
{ ".htc", "text/x-component" },
{ ".htm", "text/html" },
{ ".html", "text/html" },
{ ".htt", "text/webviewhtml" },
{ ".hxt", "text/html" },
{ ".ical", "text/calendar" },
{ ".icalendar", "text/calendar" },
{ ".ico", "image/x-icon" },
{ ".ics", "text/calendar" },
{ ".ief", "image/ief" },
{ ".ifb", "text/calendar" },
{ ".iii", "application/x-iphone" },
{ ".inf", "application/octet-stream" },
{ ".ins", "application/x-internet-signup" },
{ ".isp", "application/x-internet-signup" },
{ ".IVF", "video/x-ivf" },
{ ".jar", "application/java-archive" },
{ ".java", "application/octet-stream" },
{ ".jck", "application/liquidmotion" },
{ ".jcz", "application/liquidmotion" },
{ ".jfif", "image/pjpeg" },
{ ".jpb", "application/octet-stream" },
{ ".jpe", "image/jpeg" },
{ ".jpeg", "image/jpeg" },
{ ".jpg", "image/jpeg" },
{ ".js", "text/javascript" },
{ ".json", "application/json" },
{ ".jsx", "text/jscript" },
{ ".latex", "application/x-latex" },
{ ".lit", "application/x-ms-reader" },
{ ".lpk", "application/octet-stream" },
{ ".lsf", "video/x-la-asf" },
{ ".lsx", "video/x-la-asf" },
{ ".lzh", "application/octet-stream" },
{ ".m13", "application/x-msmediaview" },
{ ".m14", "application/x-msmediaview" },
{ ".m1v", "video/mpeg" },
{ ".m2ts", "video/vnd.dlna.mpeg-tts" },
{ ".m3u", "audio/x-mpegurl" },
{ ".m4a", "audio/mp4" },
{ ".m4v", "video/mp4" },
{ ".man", "application/x-troff-man" },
{ ".manifest", "application/x-ms-manifest" },
{ ".map", "text/plain" },
{ ".markdown", "text/markdown" },
{ ".md", "text/markdown" },
{ ".mdb", "application/x-msaccess" },
{ ".mdp", "application/octet-stream" },
{ ".me", "application/x-troff-me" },
{ ".mht", "message/rfc822" },
{ ".mhtml", "message/rfc822" },
{ ".mid", "audio/mid" },
{ ".midi", "audio/mid" },
{ ".mix", "application/octet-stream" },
{ ".mjs", "text/javascript" },
{ ".mmf", "application/x-smaf" },
{ ".mno", "text/xml" },
{ ".mny", "application/x-msmoney" },
{ ".mov", "video/quicktime" },
{ ".movie", "video/x-sgi-movie" },
{ ".mp2", "video/mpeg" },
{ ".mp3", "audio/mpeg" },
{ ".mp4", "video/mp4" },
{ ".mp4v", "video/mp4" },
{ ".mpa", "video/mpeg" },
{ ".mpe", "video/mpeg" },
{ ".mpeg", "video/mpeg" },
{ ".mpg", "video/mpeg" },
{ ".mpp", "application/vnd.ms-project" },
{ ".mpv2", "video/mpeg" },
{ ".ms", "application/x-troff-ms" },
{ ".msi", "application/octet-stream" },
{ ".mso", "application/octet-stream" },
{ ".mvb", "application/x-msmediaview" },
{ ".mvc", "application/x-miva-compiled" },
{ ".nc", "application/x-netcdf" },
{ ".nsc", "video/x-ms-asf" },
{ ".nws", "message/rfc822" },
{ ".ocx", "application/octet-stream" },
{ ".oda", "application/oda" },
{ ".odc", "text/x-ms-odc" },
{ ".ods", "application/oleobject" },
{ ".oga", "audio/ogg" },
{ ".ogg", "video/ogg" },
{ ".ogv", "video/ogg" },
{ ".ogx", "application/ogg" },
{ ".one", "application/onenote" },
{ ".onea", "application/onenote" },
{ ".onetoc", "application/onenote" },
{ ".onetoc2", "application/onenote" },
{ ".onetmp", "application/onenote" },
{ ".onepkg", "application/onenote" },
{ ".osdx", "application/opensearchdescription+xml" },
{ ".otf", "font/otf" },
{ ".p10", "application/pkcs10" },
{ ".p12", "application/x-pkcs12" },
{ ".p7b", "application/x-pkcs7-certificates" },
{ ".p7c", "application/pkcs7-mime" },
{ ".p7m", "application/pkcs7-mime" },
{ ".p7r", "application/x-pkcs7-certreqresp" },
{ ".p7s", "application/pkcs7-signature" },
{ ".pbm", "image/x-portable-bitmap" },
{ ".pcx", "application/octet-stream" },
{ ".pcz", "application/octet-stream" },
{ ".pdf", "application/pdf" },
{ ".pfb", "application/octet-stream" },
{ ".pfm", "application/octet-stream" },
{ ".pfx", "application/x-pkcs12" },
{ ".pgm", "image/x-portable-graymap" },
{ ".pko", "application/vnd.ms-pki.pko" },
{ ".pma", "application/x-perfmon" },
{ ".pmc", "application/x-perfmon" },
{ ".pml", "application/x-perfmon" },
{ ".pmr", "application/x-perfmon" },
{ ".pmw", "application/x-perfmon" },
{ ".png", "image/png" },
{ ".pnm", "image/x-portable-anymap" },
{ ".pnz", "image/png" },
{ ".pot", "application/vnd.ms-powerpoint" },
{ ".potm", "application/vnd.ms-powerpoint.template.macroEnabled.12" },
{ ".potx", "application/vnd.openxmlformats-officedocument.presentationml.template" },
{ ".ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12" },
{ ".ppm", "image/x-portable-pixmap" },
{ ".pps", "application/vnd.ms-powerpoint" },
{ ".ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" },
{ ".ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow" },
{ ".ppt", "application/vnd.ms-powerpoint" },
{ ".pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12" },
{ ".pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation" },
{ ".prf", "application/pics-rules" },
{ ".prm", "application/octet-stream" },
{ ".prx", "application/octet-stream" },
{ ".ps", "application/postscript" },
{ ".psd", "application/octet-stream" },
{ ".psm", "application/octet-stream" },
{ ".psp", "application/octet-stream" },
{ ".pub", "application/x-mspublisher" },
{ ".qt", "video/quicktime" },
{ ".qtl", "application/x-quicktimeplayer" },
{ ".qxd", "application/octet-stream" },
{ ".ra", "audio/x-pn-realaudio" },
{ ".ram", "audio/x-pn-realaudio" },
{ ".rar", "application/octet-stream" },
{ ".ras", "image/x-cmu-raster" },
{ ".rf", "image/vnd.rn-realflash" },
{ ".rgb", "image/x-rgb" },
{ ".rm", "application/vnd.rn-realmedia" },
{ ".rmi", "audio/mid" },
{ ".roff", "application/x-troff" },
{ ".rpm", "audio/x-pn-realaudio-plugin" },
{ ".rtf", "application/rtf" },
{ ".rtx", "text/richtext" },
{ ".scd", "application/x-msschedule" },
{ ".sct", "text/scriptlet" },
{ ".sea", "application/octet-stream" },
{ ".setpay", "application/set-payment-initiation" },
{ ".setreg", "application/set-registration-initiation" },
{ ".sgml", "text/sgml" },
{ ".sh", "application/x-sh" },
{ ".shar", "application/x-shar" },
{ ".sit", "application/x-stuffit" },
{ ".sldm", "application/vnd.ms-powerpoint.slide.macroEnabled.12" },
{ ".sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide" },
{ ".smd", "audio/x-smd" },
{ ".smi", "application/octet-stream" },
{ ".smx", "audio/x-smd" },
{ ".smz", "audio/x-smd" },
{ ".snd", "audio/basic" },
{ ".snp", "application/octet-stream" },
{ ".spc", "application/x-pkcs7-certificates" },
{ ".spl", "application/futuresplash" },
{ ".spx", "audio/ogg" },
{ ".src", "application/x-wais-source" },
{ ".ssm", "application/streamingmedia" },
{ ".sst", "application/vnd.ms-pki.certstore" },
{ ".stl", "application/vnd.ms-pki.stl" },
{ ".sv4cpio", "application/x-sv4cpio" },
{ ".sv4crc", "application/x-sv4crc" },
{ ".svg", "image/svg+xml" },
{ ".svgz", "image/svg+xml" },
{ ".swf", "application/x-shockwave-flash" },
{ ".t", "application/x-troff" },
{ ".tar", "application/x-tar" },
{ ".tcl", "application/x-tcl" },
{ ".tex", "application/x-tex" },
{ ".texi", "application/x-texinfo" },
{ ".texinfo", "application/x-texinfo" },
{ ".tgz", "application/x-compressed" },
{ ".thmx", "application/vnd.ms-officetheme" },
{ ".thn", "application/octet-stream" },
{ ".tif", "image/tiff" },
{ ".tiff", "image/tiff" },
{ ".toc", "application/octet-stream" },
{ ".tr", "application/x-troff" },
{ ".trm", "application/x-msterminal" },
{ ".ts", "video/vnd.dlna.mpeg-tts" },
{ ".tsv", "text/tab-separated-values" },
{ ".ttc", "application/x-font-ttf" },
{ ".ttf", "application/x-font-ttf" },
{ ".tts", "video/vnd.dlna.mpeg-tts" },
{ ".txt", "text/plain" },
{ ".u32", "application/octet-stream" },
{ ".uls", "text/iuls" },
{ ".ustar", "application/x-ustar" },
{ ".vbs", "text/vbscript" },
{ ".vcf", "text/x-vcard" },
{ ".vcs", "text/plain" },
{ ".vdx", "application/vnd.ms-visio.viewer" },
{ ".vml", "text/xml" },
{ ".vsd", "application/vnd.visio" },
{ ".vss", "application/vnd.visio" },
{ ".vst", "application/vnd.visio" },
{ ".vsto", "application/x-ms-vsto" },
{ ".vsw", "application/vnd.visio" },
{ ".vsx", "application/vnd.visio" },
{ ".vtx", "application/vnd.visio" },
{ ".wasm", "application/wasm" },
{ ".wav", "audio/wav" },
{ ".wax", "audio/x-ms-wax" },
{ ".wbmp", "image/vnd.wap.wbmp" },
{ ".wcm", "application/vnd.ms-works" },
{ ".wdb", "application/vnd.ms-works" },
{ ".webm", "video/webm" },
{ ".webmanifest", "application/manifest+json" }, // https://w3c.github.io/manifest/#media-type-registration
{ ".webp", "image/webp" },
{ ".wks", "application/vnd.ms-works" },
{ ".wm", "video/x-ms-wm" },
{ ".wma", "audio/x-ms-wma" },
{ ".wmd", "application/x-ms-wmd" },
{ ".wmf", "application/x-msmetafile" },
{ ".wml", "text/vnd.wap.wml" },
{ ".wmlc", "application/vnd.wap.wmlc" },
{ ".wmls", "text/vnd.wap.wmlscript" },
{ ".wmlsc", "application/vnd.wap.wmlscriptc" },
{ ".wmp", "video/x-ms-wmp" },
{ ".wmv", "video/x-ms-wmv" },
{ ".wmx", "video/x-ms-wmx" },
{ ".wmz", "application/x-ms-wmz" },
{ ".woff", "application/font-woff" }, // https://www.w3.org/TR/WOFF/#appendix-b
{ ".woff2", "font/woff2" }, // https://www.w3.org/TR/WOFF2/#IMT
{ ".wps", "application/vnd.ms-works" },
{ ".wri", "application/x-mswrite" },
{ ".wrl", "x-world/x-vrml" },
{ ".wrz", "x-world/x-vrml" },
{ ".wsdl", "text/xml" },
{ ".wtv", "video/x-ms-wtv" },
{ ".wvx", "video/x-ms-wvx" },
{ ".x", "application/directx" },
{ ".xaf", "x-world/x-vrml" },
{ ".xaml", "application/xaml+xml" },
{ ".xap", "application/x-silverlight-app" },
{ ".xbap", "application/x-ms-xbap" },
{ ".xbm", "image/x-xbitmap" },
{ ".xdr", "text/plain" },
{ ".xht", "application/xhtml+xml" },
{ ".xhtml", "application/xhtml+xml" },
{ ".xla", "application/vnd.ms-excel" },
{ ".xlam", "application/vnd.ms-excel.addin.macroEnabled.12" },
{ ".xlc", "application/vnd.ms-excel" },
{ ".xlm", "application/vnd.ms-excel" },
{ ".xls", "application/vnd.ms-excel" },
{ ".xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12" },
{ ".xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12" },
{ ".xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" },
{ ".xlt", "application/vnd.ms-excel" },
{ ".xltm", "application/vnd.ms-excel.template.macroEnabled.12" },
{ ".xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template" },
{ ".xlw", "application/vnd.ms-excel" },
{ ".xml", "text/xml" },
{ ".xof", "x-world/x-vrml" },
{ ".xpm", "image/x-xpixmap" },
{ ".xps", "application/vnd.ms-xpsdocument" },
{ ".xsd", "text/xml" },
{ ".xsf", "text/xml" },
{ ".xsl", "text/xml" },
{ ".xslt", "text/xml" },
{ ".xsn", "application/octet-stream" },
{ ".xtp", "application/octet-stream" },
{ ".xwd", "image/x-xwindowdump" },
{ ".z", "application/x-compress" },
{ ".zip", "application/x-zip-compressed" },
};
}
}

View File

@@ -0,0 +1,144 @@
using System.Text;
using System.Text.RegularExpressions;
namespace ZelWiki.Library
{
public class NamespaceNavigation
{
private string _namespace = string.Empty;
private string _page = string.Empty;
private readonly bool _lowerCase = false;
public string Namespace
{
get => _namespace;
set => _namespace = CleanAndValidate(value.Replace("::", "_")).Trim();
}
public string Page
{
get => _page;
set => _page = CleanAndValidate(value.Replace("::", "_")).Trim();
}
public string Canonical
{
get
{
if (string.IsNullOrWhiteSpace(Namespace))
{
return Page;
}
return $"{Namespace}::{Page}";
}
set
{
var cleanedAndValidatedValue = CleanAndValidate(value, _lowerCase);
var parts = cleanedAndValidatedValue.Split("::");
if (parts.Length < 2)
{
Page = parts[0].Trim();
}
else
{
Namespace = parts[0].Trim();
Page = string.Join("_", parts.Skip(1).Select(o => o.Trim())).Trim();
}
}
}
/// <summary>
/// Creates a new instance of NamespaceNavigation.
/// </summary>
/// <param name="givenCanonical">Page navigation with optional namespace.</param>
public NamespaceNavigation(string givenCanonical)
{
_lowerCase = true;
Canonical = givenCanonical;
}
/// <summary>
/// Creates a new instance of NamespaceNavigation.
/// </summary>
/// <param name="givenCanonical">Page navigation with optional namespace.</param>
/// <param name="lowerCase">If false, the namespace and page name will not be lowercased.</param>
public NamespaceNavigation(string givenCanonical, bool lowerCase)
{
_lowerCase = lowerCase;
Canonical = givenCanonical;
}
public override string ToString()
{
return Canonical;
}
/// <summary>
/// Takes a page name with optional namespace and returns the cleaned version that can be used for matching Navigations.
/// </summary>
/// <param name="givenCanonical">Page navigation with optional namespace.</param>
/// <param name="lowerCase">If false, the namespace and page name will not be lowercased.</param>
/// <returns></returns>
/// <exception cref="Exception"></exception>
public static string CleanAndValidate(string? str, bool lowerCase = true)
{
if (str == null)
{
return string.Empty;
}
//Fix names like "::Page" or "Namespace::".
str = str.Trim().Trim([':']).Trim();
if (str.Contains("::"))
{
var parts = str.Split("::");
if (parts.Length != 2)
{
throw new Exception("Navigation can not contain more than one namespace.");
}
return $"{CleanAndValidate(parts[0].Trim())}::{CleanAndValidate(parts[1].Trim(), lowerCase)}";
}
// Decode common HTML entities
str = str.Replace("&quot;", "\"")
.Replace("&amp;", "&")
.Replace("&lt;", "<")
.Replace("&gt;", ">")
.Replace("&nbsp;", " ");
// Normalize backslashes to forward slashes
str = str.Replace('\\', '/');
var sb = new StringBuilder();
foreach (char c in str)
{
if (char.IsWhiteSpace(c) || c == '.')
{
sb.Append('_');
}
else if (char.IsLetterOrDigit(c) || c == '_' || c == '/' || c == '-')
{
sb.Append(c);
}
}
string result = sb.ToString();
// Remove multiple consecutive underscores or slashes
result = Regex.Replace(result, @"[_]{2,}", "_");
result = Regex.Replace(result, @"[/]{2,}", "/");
if (lowerCase)
{
return result.TrimEnd(['/', '\\']).ToLowerInvariant();
}
else
{
return result.TrimEnd(['/', '\\']);
}
}
}
}

View File

@@ -0,0 +1,58 @@
using System.Text;
using System.Text.RegularExpressions;
namespace ZelWiki.Library
{
public class Navigation
{
public static string Clean(string? str)
{
if (str == null)
{
return string.Empty;
}
//Fix names like "::Page" or "Namespace::".
str = str.Trim().Trim([':']).Trim();
if (str.Contains("::"))
{
throw new Exception("Navigation can not contain a namespace.");
}
// Decode common HTML entities
str = str.Replace("&quot;", "\"")
.Replace("&amp;", "&")
.Replace("&lt;", "<")
.Replace("&gt;", ">")
.Replace("&nbsp;", " ");
// Normalize backslashes to forward slashes
str = str.Replace('\\', '/');
// Replace special sequences
str = str.Replace("::", "_").Trim();
var sb = new StringBuilder();
foreach (char c in str)
{
if (char.IsWhiteSpace(c) || c == '.')
{
sb.Append('_');
}
else if (char.IsLetterOrDigit(c) || c == '_' || c == '/' || c == '-')
{
sb.Append(c);
}
}
string result = sb.ToString();
// Remove multiple consecutive underscores or slashes
result = Regex.Replace(result, @"[_]{2,}", "_");
result = Regex.Replace(result, @"[/]{2,}", "/");
return result.ToLower();
}
}
}

View File

@@ -0,0 +1,71 @@
using Microsoft.AspNetCore.Http;
using System.Text;
namespace ZelWiki.Library
{
public static class PageSelectorGenerator
{
public static string Generate(QueryString? queryString, int? totalPageCount)
=> Generate(string.Empty, "page", QueryStringConverter.ToDictionary(queryString), totalPageCount);
public static string Generate(string queryToken, IQueryCollection? queryString, int? totalPageCount)
=> Generate(string.Empty, queryToken, QueryStringConverter.ToDictionary(queryString), totalPageCount);
public static string Generate(string url, string queryToken, Dictionary<string, string>? queryString, int? totalPageCount)
{
var sb = new StringBuilder();
int currentPage = 1;
var firstPage = QueryStringConverter.Clone(queryString);
if (firstPage.TryGetValue(queryToken, out var currentPageString))
{
currentPage = int.Parse(currentPageString);
}
firstPage.Remove(queryToken);
firstPage.Add(queryToken, "1");
var prevPage = QueryStringConverter.Clone(firstPage);
prevPage.Remove(queryToken);
prevPage.Add(queryToken, $"{currentPage - 1}");
var nextPage = QueryStringConverter.Clone(firstPage);
nextPage.Remove(queryToken);
nextPage.Add(queryToken, $"{currentPage + 1}");
var lastPage = QueryStringConverter.Clone(firstPage);
lastPage.Remove(queryToken);
lastPage.Add(queryToken, $"{totalPageCount}");
if ((totalPageCount ?? 0) > 1 || currentPage > 1)
{
sb.Append($"<center>");
if (currentPage > 1)
{
sb.Append($"<a href=\"{url}?{QueryStringConverter.FromCollection(firstPage)}\">&lt;&lt; First</a>");
sb.Append("&nbsp; | &nbsp;");
sb.Append($"<a href=\"{url}?{QueryStringConverter.FromCollection(prevPage)}\">&lt; Previous</a>");
}
else
{
sb.Append($"&lt;&lt; First &nbsp; | &nbsp; &lt; Previous");
}
sb.Append("&nbsp; | &nbsp;");
if (currentPage < totalPageCount)
{
sb.Append($"<a href=\"{url}?{QueryStringConverter.FromCollection(nextPage)}\">Next &gt;</a>");
sb.Append("&nbsp; | &nbsp;");
sb.Append($"<a href=\"{url}?{QueryStringConverter.FromCollection(lastPage)}\">Last &gt;&gt;</a>");
}
else
{
sb.Append("Next &gt; &nbsp; | &nbsp; Last &gt;&gt;");
}
sb.Append($"</center>");
}
return sb.ToString();
}
}
}

View File

@@ -0,0 +1,182 @@
using Microsoft.AspNetCore.Http;
using System.Text;
using System.Web;
using ZelWiki.Library.Interfaces;
namespace ZelWiki.Library
{
public static class QueryStringConverter
{
/// <summary>
/// Takes the current page query string and upserts the given order-by field,
/// if the string already sorts on the given field then the order is inverted (asc/desc).
/// </summary>
/// <returns></returns>
public static string OrderHelper(ISessionState context, string value)
{
string orderByKey = "OrderBy";
string orderByDirectionKey = "OrderByDirection";
string? currentDirection = "asc";
var collection = ToDictionary(context.QueryString);
//Check to see if we are sorting on the value that we are already sorted on, this would mean we need to invert the sort.
if (collection.TryGetValue(orderByKey, out var currentValue))
{
bool invertDirection = string.Equals(currentValue, value, StringComparison.InvariantCultureIgnoreCase);
if (invertDirection)
{
if (collection.TryGetValue(orderByDirectionKey, out currentDirection))
{
if (currentDirection == "asc")
{
currentDirection = "desc";
}
else
{
currentDirection = "asc";
}
}
}
else
{
currentDirection = "asc";
}
}
collection.Remove(orderByKey);
collection.Add(orderByKey, value);
collection.Remove(orderByDirectionKey);
collection.Add(orderByDirectionKey, currentDirection ?? "asc");
return FromCollection(collection);
}
/// <summary>
/// Takes the current page query string and upserts a query key/value, replacing any conflicting query string entry.
/// </summary>
/// <param name="queryString"></param>
/// <param name="name"></param>
/// <param name="value"></param>
/// <returns></returns>
public static string Upsert(IQueryCollection? queryString, string name, string value)
{
var collection = ToDictionary(queryString);
collection.Remove(name);
collection.Add(name, value);
return FromCollection(collection);
}
public static Dictionary<string, string> ToDictionary(IQueryCollection? queryString)
{
if (queryString == null)
{
return new Dictionary<string, string>();
}
var dictionary = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
foreach (var item in queryString)
{
//Technically, keys can be duplicated in a IQueryCollection but we do not
//support this. Use .Single() to throw exception if duplicates are found.
dictionary.Add(item.Key, item.Value.Single() ?? string.Empty);
}
return dictionary;
}
public static Dictionary<string, string> ToDictionary(QueryString? queryString)
=> ToDictionary(queryString?.ToString());
public static Dictionary<string, string> ToDictionary(string? queryString)
{
var dictionary = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
if (string.IsNullOrEmpty(queryString))
{
return dictionary;
}
// If the query string starts with '?', remove it
if (queryString.StartsWith('?'))
{
queryString = queryString.Substring(1);
}
// Split the query string into key-value pairs
var keyValuePairs = queryString.Split('&');
foreach (var kvp in keyValuePairs)
{
var keyValue = kvp.Split('=');
if (keyValue.Length == 2)
{
var key = HttpUtility.UrlDecode(keyValue[0]);
var value = HttpUtility.UrlDecode(keyValue[1]);
dictionary[key] = value;
}
}
return dictionary;
}
public static string FromCollection(IQueryCollection? collection)
{
if (collection == null || collection.Count == 0)
{
return string.Empty;
}
var queryString = new StringBuilder();
foreach (var kvp in collection)
{
if (queryString.Length > 0)
{
queryString.Append('&');
}
queryString.Append($"{Uri.EscapeDataString(kvp.Key)}={Uri.EscapeDataString(kvp.Value.ToString())}");
}
return queryString.ToString();
}
public static string FromCollection(Dictionary<string, string>? collection)
{
if (collection == null || collection.Count == 0)
{
return string.Empty;
}
var queryString = new StringBuilder();
foreach (var kvp in collection)
{
if (queryString.Length > 0)
{
queryString.Append('&');
}
queryString.Append($"{Uri.EscapeDataString(kvp.Key)}={Uri.EscapeDataString(kvp.Value)}");
}
return queryString.ToString();
}
public static Dictionary<string, string> Clone(Dictionary<string, string>? original)
{
if (original == null)
{
return new Dictionary<string, string>();
}
var clone = new Dictionary<string, string>(original.Count, original.Comparer);
foreach (var kvp in original)
{
clone.Add(kvp.Key, kvp.Value);
}
return clone;
}
}
}

14
ZelWiki.Library/Theme.cs Normal file
View File

@@ -0,0 +1,14 @@
namespace ZelWiki.Library
{
public class Theme
{
public string Name { get; set; } = string.Empty;
public string DelimitedFiles { get; set; } = string.Empty;
public string ClassNavBar { get; set; } = string.Empty;
public string ClassNavLink { get; set; } = string.Empty;
public string ClassDropdown { get; set; } = string.Empty;
public string ClassBranding { get; set; } = string.Empty;
public string EditorTheme { get; set; } = string.Empty;
public List<string> Files { get; set; } = new();
}
}

View File

@@ -0,0 +1,20 @@
namespace ZelWiki.Library
{
public class TimeZoneItem
{
public string Text { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public static List<TimeZoneItem> GetAll()
{
var list = new List<TimeZoneItem>();
foreach (var item in TimeZoneInfo.GetSystemTimeZones())
{
list.Add(new TimeZoneItem { Value = item.Id, Text = item.DisplayName });
}
return list.OrderBy(o => o.Text).ToList();
}
}
}

108
ZelWiki.Library/Utility.cs Normal file
View File

@@ -0,0 +1,108 @@
using Microsoft.AspNetCore.Http;
using System.IO.Compression;
namespace ZelWiki.Library
{
public static class Utility
{
public static int PadVersionString(string versionString, int padLength = 3)
=> int.Parse(string.Join("", versionString.Split('.').Select(x => x.Trim().PadLeft(padLength, '0'))));
public static string SanitizeAccountName(string fileName, char[]? extraInvalidCharacters = null)
{
// Get array of invalid characters for file names
var invalidChars = Path.GetInvalidFileNameChars().ToList();
if (extraInvalidCharacters != null)
{
invalidChars.AddRange(extraInvalidCharacters);
}
foreach (char invalidChar in invalidChars)
{
fileName = fileName.Replace(invalidChar, '_');
}
return fileName.Replace("__", "_").Replace("__", "_");
}
/// <summary>
/// Take a height and width and enforces a max on both dimensions while maintaining the ratio.
/// </summary>
/// <param name="originalWidth"></param>
/// <param name="originalHeight"></param>
/// <param name="maxSize"></param>
/// <returns></returns>
public static (int Width, int Height) ScaleToMaxOf(int originalWidth, int originalHeight, int maxSize)
{
// Calculate aspect ratio
float aspectRatio = (float)originalWidth / originalHeight;
// Determine new dimensions based on the larger dimension
int newWidth, newHeight;
if (originalWidth > originalHeight)
{
// Scale down the width to the maxSize and calculate the height
newWidth = maxSize;
newHeight = (int)(maxSize / aspectRatio);
}
else
{
// Scale down the height to the maxSize and calculate the width
newHeight = maxSize;
newWidth = (int)(maxSize * aspectRatio);
}
return (newWidth, newHeight);
}
public static List<string> SplitToTokens(string? tokenString)
{
var tokens = (tokenString ?? string.Empty).Trim().ToLower()
.Split([' ', ',', '\t'], StringSplitOptions.RemoveEmptyEntries).Distinct().ToList();
return tokens;
}
public static string GetMimeType(string fileName)
{
MimeTypes.TryGetContentType(fileName, out var contentType);
return contentType ?? "application/octet-stream";
}
public static byte[] ConvertHttpFileToBytes(IFormFile image)
{
using var stream = image.OpenReadStream();
using BinaryReader reader = new BinaryReader(stream);
return reader.ReadBytes((int)image.Length);
}
public static byte[] Compress(byte[]? data)
{
if (data == null)
{
return Array.Empty<byte>();
}
using var compressedStream = new MemoryStream();
using (var compressor = new GZipStream(compressedStream, CompressionMode.Compress))
{
compressor.Write(data, 0, data.Length);
}
return compressedStream.ToArray();
}
public static byte[] Decompress(byte[] data)
{
if (data == null)
{
return Array.Empty<byte>();
}
using var compressedStream = new MemoryStream(data);
using var decompressor = new GZipStream(compressedStream, CompressionMode.Decompress);
using var decompressedStream = new MemoryStream();
decompressor.CopyTo(decompressedStream);
return decompressedStream.ToArray();
}
}
}

View File

@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>2.20.1</Version>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="14.4.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="9.0.1" />
<PackageReference Include="NTDLS.Helpers" Version="1.3.11" />
<PackageReference Include="NTDLS.SqliteDapperWrapper" Version="1.1.4" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.6" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,678 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"TightWiki.Library/2.20.1": {
"dependencies": {
"Magick.NET-Q8-AnyCPU": "14.4.0",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "9.0.1",
"NTDLS.Helpers": "1.3.11",
"NTDLS.SqliteDapperWrapper": "1.1.4",
"SixLabors.ImageSharp": "3.1.6"
},
"runtime": {
"TightWiki.Library.dll": {}
}
},
"Dapper/2.1.35": {
"runtime": {
"lib/net7.0/Dapper.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.1.35.13827"
}
}
},
"Magick.NET-Q8-AnyCPU/14.4.0": {
"dependencies": {
"Magick.NET.Core": "14.4.0"
},
"runtime": {
"lib/net8.0/Magick.NET-Q8-AnyCPU.dll": {
"assemblyVersion": "14.4.0.0",
"fileVersion": "14.4.0.0"
}
},
"runtimeTargets": {
"runtimes/linux-arm64/native/Magick.Native-Q8-arm64.dll.so": {
"rid": "linux-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-x64/native/Magick.Native-Q8-x64.dll.so": {
"rid": "linux-musl-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x64/native/Magick.Native-Q8-x64.dll.so": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-arm64/native/Magick.Native-Q8-arm64.dll.dylib": {
"rid": "osx-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-x64/native/Magick.Native-Q8-x64.dll.dylib": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm64/native/Magick.Native-Q8-arm64.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "7.1.1.43"
},
"runtimes/win-x64/native/Magick.Native-Q8-x64.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "7.1.1.43"
},
"runtimes/win-x86/native/Magick.Native-Q8-x86.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "7.1.1.43"
}
}
},
"Magick.NET.Core/14.4.0": {
"runtime": {
"lib/net8.0/Magick.NET.Core.dll": {
"assemblyVersion": "14.4.0.0",
"fileVersion": "14.4.0.0"
}
}
},
"Microsoft.AspNetCore.Cryptography.Internal/9.0.1": {},
"Microsoft.AspNetCore.Cryptography.KeyDerivation/9.0.1": {
"dependencies": {
"Microsoft.AspNetCore.Cryptography.Internal": "9.0.1"
}
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore/9.0.1": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Relational": "9.0.1",
"Microsoft.Extensions.Identity.Stores": "9.0.1"
},
"runtime": {
"lib/net9.0/Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61009"
}
}
},
"Microsoft.Data.Sqlite.Core/9.0.0": {
"dependencies": {
"SQLitePCLRaw.core": "2.1.10"
},
"runtime": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52902"
}
}
},
"Microsoft.EntityFrameworkCore/9.0.1": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "9.0.1",
"Microsoft.EntityFrameworkCore.Analyzers": "9.0.1",
"Microsoft.Extensions.Caching.Memory": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61002"
}
}
},
"Microsoft.EntityFrameworkCore.Abstractions/9.0.1": {
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61002"
}
}
},
"Microsoft.EntityFrameworkCore.Analyzers/9.0.1": {},
"Microsoft.EntityFrameworkCore.Relational/9.0.1": {
"dependencies": {
"Microsoft.EntityFrameworkCore": "9.0.1",
"Microsoft.Extensions.Caching.Memory": "9.0.1",
"Microsoft.Extensions.Configuration.Abstractions": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Relational.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61002"
}
}
},
"Microsoft.Extensions.Caching.Abstractions/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.Caching.Memory/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "9.0.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1",
"Microsoft.Extensions.Logging.Abstractions": "9.0.1",
"Microsoft.Extensions.Options": "9.0.1",
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.Configuration.Abstractions/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.DependencyInjection/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.1": {},
"Microsoft.Extensions.Identity.Core/9.0.1": {
"dependencies": {
"Microsoft.AspNetCore.Cryptography.KeyDerivation": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1",
"Microsoft.Extensions.Options": "9.0.1"
}
},
"Microsoft.Extensions.Identity.Stores/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "9.0.1",
"Microsoft.Extensions.Identity.Core": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1"
}
},
"Microsoft.Extensions.Logging/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "9.0.1",
"Microsoft.Extensions.Logging.Abstractions": "9.0.1",
"Microsoft.Extensions.Options": "9.0.1"
}
},
"Microsoft.Extensions.Logging.Abstractions/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1"
}
},
"Microsoft.Extensions.Options/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1",
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.Primitives/9.0.1": {},
"NTDLS.Helpers/1.3.11": {
"dependencies": {
"Microsoft.Extensions.Caching.Memory": "9.0.1"
},
"runtime": {
"lib/net9.0/NTDLS.Helpers.dll": {
"assemblyVersion": "1.3.11.0",
"fileVersion": "1.3.11.0"
}
}
},
"NTDLS.SqliteDapperWrapper/1.1.4": {
"dependencies": {
"Dapper": "2.1.35",
"Microsoft.Data.Sqlite.Core": "9.0.0",
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.10",
"System.Runtime.Caching": "9.0.0"
},
"runtime": {
"lib/net9.0/NTDLS.SqliteDapperWrapper.dll": {
"assemblyVersion": "1.1.4.0",
"fileVersion": "1.1.4.0"
}
}
},
"SixLabors.ImageSharp/3.1.6": {
"runtime": {
"lib/net6.0/SixLabors.ImageSharp.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.1.6.0"
}
}
},
"SQLitePCLRaw.bundle_e_sqlite3/2.1.10": {
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.10",
"SQLitePCLRaw.provider.e_sqlite3": "2.1.10"
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {
"assemblyVersion": "2.1.10.2445",
"fileVersion": "2.1.10.2445"
}
}
},
"SQLitePCLRaw.core/2.1.10": {
"dependencies": {
"System.Memory": "4.5.3"
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {
"assemblyVersion": "2.1.10.2445",
"fileVersion": "2.1.10.2445"
}
}
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.10": {
"runtimeTargets": {
"runtimes/browser-wasm/nativeassets/net9.0/e_sqlite3.a": {
"rid": "browser-wasm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-arm/native/libe_sqlite3.so": {
"rid": "linux-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-arm64/native/libe_sqlite3.so": {
"rid": "linux-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-armel/native/libe_sqlite3.so": {
"rid": "linux-armel",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-mips64/native/libe_sqlite3.so": {
"rid": "linux-mips64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-arm/native/libe_sqlite3.so": {
"rid": "linux-musl-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-arm64/native/libe_sqlite3.so": {
"rid": "linux-musl-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-s390x/native/libe_sqlite3.so": {
"rid": "linux-musl-s390x",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-x64/native/libe_sqlite3.so": {
"rid": "linux-musl-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-ppc64le/native/libe_sqlite3.so": {
"rid": "linux-ppc64le",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-s390x/native/libe_sqlite3.so": {
"rid": "linux-s390x",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x64/native/libe_sqlite3.so": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x86/native/libe_sqlite3.so": {
"rid": "linux-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib": {
"rid": "maccatalyst-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib": {
"rid": "maccatalyst-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-arm64/native/libe_sqlite3.dylib": {
"rid": "osx-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-x64/native/libe_sqlite3.dylib": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm/native/e_sqlite3.dll": {
"rid": "win-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm64/native/e_sqlite3.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-x64/native/e_sqlite3.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-x86/native/e_sqlite3.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.10": {
"dependencies": {
"SQLitePCLRaw.core": "2.1.10"
},
"runtime": {
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": {
"assemblyVersion": "2.1.10.2445",
"fileVersion": "2.1.10.2445"
}
}
},
"System.Configuration.ConfigurationManager/9.0.0": {
"dependencies": {
"System.Diagnostics.EventLog": "9.0.0",
"System.Security.Cryptography.ProtectedData": "9.0.0"
},
"runtime": {
"lib/net9.0/System.Configuration.ConfigurationManager.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
}
},
"System.Diagnostics.EventLog/9.0.0": {},
"System.Memory/4.5.3": {},
"System.Runtime.Caching/9.0.0": {
"dependencies": {
"System.Configuration.ConfigurationManager": "9.0.0"
},
"runtime": {
"lib/net9.0/System.Runtime.Caching.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
},
"runtimeTargets": {
"runtimes/win/lib/net9.0/System.Runtime.Caching.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
}
},
"System.Security.Cryptography.ProtectedData/9.0.0": {
"runtime": {
"lib/net9.0/System.Security.Cryptography.ProtectedData.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
}
}
}
},
"libraries": {
"TightWiki.Library/2.20.1": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Dapper/2.1.35": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YKRwjVfrG7GYOovlGyQoMvr1/IJdn+7QzNXJxyMh0YfFF5yvDmTYaJOVYWsckreNjGsGSEtrMTpnzxTUq/tZQw==",
"path": "dapper/2.1.35",
"hashPath": "dapper.2.1.35.nupkg.sha512"
},
"Magick.NET-Q8-AnyCPU/14.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4f/6tga1izjCm29qGlPlTc7txquzd5cOgRFuCD6fh7tu+QS4Rd6gZpvRwrIb4e/Y0pE1JQyF2j4RRmQ23T8BLA==",
"path": "magick.net-q8-anycpu/14.4.0",
"hashPath": "magick.net-q8-anycpu.14.4.0.nupkg.sha512"
},
"Magick.NET.Core/14.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nmSA3LWK77rZlQ085RBqFLr67GVFyz4mAcuiVGQ9LcNwbxUm4Zcte4D9N+TxAyew6CXzoyHAG3i7NeDgpuztWw==",
"path": "magick.net.core/14.4.0",
"hashPath": "magick.net.core.14.4.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Cryptography.Internal/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-leaw8hC6wCKfAg2kAYT4plnaHI7o6bKB9IQy0yLWHmgV0GjE449pu0SEnnl7loEzdLgyQrKyVQvfz7wRErqmxQ==",
"path": "microsoft.aspnetcore.cryptography.internal/9.0.1",
"hashPath": "microsoft.aspnetcore.cryptography.internal.9.0.1.nupkg.sha512"
},
"Microsoft.AspNetCore.Cryptography.KeyDerivation/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/ibWvFYnxjCfOmtQtLTFUN9L70CrQH0daom6tE8/hlxTllUDeXM95fE45dC4u2tBOrfDqB6TPAkUzd/vWaAusA==",
"path": "microsoft.aspnetcore.cryptography.keyderivation/9.0.1",
"hashPath": "microsoft.aspnetcore.cryptography.keyderivation.9.0.1.nupkg.sha512"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-yZyj/m7nBsrx6JDIv5KSYH44lJsQ4K5RLEWaYRFQVoIRvGXQxMZ/TUCa7PKFtR/o6nz1fmy6bVciV/eN/NmjUw==",
"path": "microsoft.aspnetcore.identity.entityframeworkcore/9.0.1",
"hashPath": "microsoft.aspnetcore.identity.entityframeworkcore.9.0.1.nupkg.sha512"
},
"Microsoft.Data.Sqlite.Core/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cFfZjFL+tqzGYw9lB31EkV1IWF5xRQNk2k+MQd+Cf86Gl6zTeAoiZIFw5sRB1Z8OxpEC7nu+nTDsLSjieBAPTw==",
"path": "microsoft.data.sqlite.core/9.0.0",
"hashPath": "microsoft.data.sqlite.core.9.0.0.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-E25w4XugXNykTr5Y/sLDGaQ4lf67n9aXVPvsdGsIZjtuLmbvb9AoYP8D50CDejY8Ro4D9GK2kNHz5lWHqSK+wg==",
"path": "microsoft.entityframeworkcore/9.0.1",
"hashPath": "microsoft.entityframeworkcore.9.0.1.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qy+taGVLUs82zeWfc32hgGL8Z02ZqAneYvqZiiXbxF4g4PBUcPRuxHM9K20USmpeJbn4/fz40GkCbyyCy5ojOA==",
"path": "microsoft.entityframeworkcore.abstractions/9.0.1",
"hashPath": "microsoft.entityframeworkcore.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Analyzers/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-c6ZZJZhPKrXFkE2z/81PmuT69HBL6Y68Cl0xJ5SRrDjJyq5Aabkq15yCqPg9RQ3R0aFLVaJok2DA8R3TKpejDQ==",
"path": "microsoft.entityframeworkcore.analyzers/9.0.1",
"hashPath": "microsoft.entityframeworkcore.analyzers.9.0.1.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Relational/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7Iu0h4oevRvH4IwPzmxuIJGYRt55TapoREGlluk75KCO7lenN0+QnzCl6cQDY48uDoxAUpJbpK2xW7o8Ix69dw==",
"path": "microsoft.entityframeworkcore.relational/9.0.1",
"hashPath": "microsoft.entityframeworkcore.relational.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Caching.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Eghsg9SyIvq0c8x6cUpe71BbQoOmsytXxqw2+ZNiTnP8a8SBLKgEor1zZeWhC0588IbS2M0PP4gXGAd9qF862Q==",
"path": "microsoft.extensions.caching.abstractions/9.0.1",
"hashPath": "microsoft.extensions.caching.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Caching.Memory/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JeC+PP0BCKMwwLezPGDaciJSTfcFG4KjsG8rX4XZ6RSvzdxofrFmcnmW2L4+cWUcZSBTQ+Dd7H5Gs9XZz/OlCA==",
"path": "microsoft.extensions.caching.memory/9.0.1",
"hashPath": "microsoft.extensions.caching.memory.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+4hfFIY1UjBCXFTTOd+ojlDPq6mep3h5Vq5SYE3Pjucr7dNXmq4S/6P/LoVnZFz2e/5gWp/om4svUFgznfULcA==",
"path": "microsoft.extensions.configuration.abstractions/9.0.1",
"hashPath": "microsoft.extensions.configuration.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qZI42ASAe3hr2zMSA6UjM92pO1LeDq5DcwkgSowXXPY8I56M76pEKrnmsKKbxagAf39AJxkH2DY4sb72ixyOrg==",
"path": "microsoft.extensions.dependencyinjection/9.0.1",
"hashPath": "microsoft.extensions.dependencyinjection.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Tr74eP0oQ3AyC24ch17N8PuEkrPbD0JqIfENCYqmgKYNOmL8wQKzLJu3ObxTUDrjnn4rHoR1qKa37/eQyHmCDA==",
"path": "microsoft.extensions.dependencyinjection.abstractions/9.0.1",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Identity.Core/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dbvAQhwSyBbgB2BuVJ8PMVx7BK6WZHWhV/vsSnXl6sRLs9D7yXiIiRpgcPVvN5E/UkzRGW1EPXyc3t1EDxWSzg==",
"path": "microsoft.extensions.identity.core/9.0.1",
"hashPath": "microsoft.extensions.identity.core.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Identity.Stores/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lBErjDqd7i2RGpDr040lGm/HbMvxG/1Ta1aSFh91vYtSwEY2rtMI9o7xIDWgNmBKu8ko+XBxt0WcQh6TNFVe7g==",
"path": "microsoft.extensions.identity.stores/9.0.1",
"hashPath": "microsoft.extensions.identity.stores.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Logging/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-E/k5r7S44DOW+08xQPnNbO8DKAQHhkspDboTThNJ6Z3/QBb4LC6gStNWzVmy3IvW7sUD+iJKf4fj0xEkqE7vnQ==",
"path": "microsoft.extensions.logging/9.0.1",
"hashPath": "microsoft.extensions.logging.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-w2gUqXN/jNIuvqYwX3lbXagsizVNXYyt6LlF57+tMve4JYCEgCMMAjRce6uKcDASJgpMbErRT1PfHy2OhbkqEA==",
"path": "microsoft.extensions.logging.abstractions/9.0.1",
"hashPath": "microsoft.extensions.logging.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Options/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nggoNKnWcsBIAaOWHA+53XZWrslC7aGeok+aR+epDPRy7HI7GwMnGZE8yEsL2Onw7kMOHVHwKcsDls1INkNUJQ==",
"path": "microsoft.extensions.options/9.0.1",
"hashPath": "microsoft.extensions.options.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bHtTesA4lrSGD1ZUaMIx6frU3wyy0vYtTa/hM6gGQu5QNrydObv8T5COiGUWsisflAfmsaFOe9Xvw5NSO99z0g==",
"path": "microsoft.extensions.primitives/9.0.1",
"hashPath": "microsoft.extensions.primitives.9.0.1.nupkg.sha512"
},
"NTDLS.Helpers/1.3.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xcNFG2blg5WqnivxXgLHbvxz5L1EYXAhEK+7R1TXQIyuknKG9McAjCp+tr+RZ7PawqXwKeOHkaizNQcSdlv81A==",
"path": "ntdls.helpers/1.3.11",
"hashPath": "ntdls.helpers.1.3.11.nupkg.sha512"
},
"NTDLS.SqliteDapperWrapper/1.1.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-enrMT/qcwqFh18APoN/XtydpC+9BuD5rVg2h/4Fl9IT8bC1aL7iLPJigdfkGf0mYYO3Y6EP91nL4Iv/5Dqay9A==",
"path": "ntdls.sqlitedapperwrapper/1.1.4",
"hashPath": "ntdls.sqlitedapperwrapper.1.1.4.nupkg.sha512"
},
"SixLabors.ImageSharp/3.1.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dHQ5jugF9v+5/LCVHCWVzaaIL6WOehqJy6eju/0VFYFPEj2WtqkGPoEV9EVQP83dHsdoqYaTuWpZdwAd37UwfA==",
"path": "sixlabors.imagesharp/3.1.6",
"hashPath": "sixlabors.imagesharp.3.1.6.nupkg.sha512"
},
"SQLitePCLRaw.bundle_e_sqlite3/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UxWuisvZ3uVcVOLJQv7urM/JiQH+v3TmaJc1BLKl5Dxfm/nTzTUrqswCqg/INiYLi61AXnHo1M1JPmPqqLnAdg==",
"path": "sqlitepclraw.bundle_e_sqlite3/2.1.10",
"hashPath": "sqlitepclraw.bundle_e_sqlite3.2.1.10.nupkg.sha512"
},
"SQLitePCLRaw.core/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Ii8JCbC7oiVclaE/mbDEK000EFIJ+ShRPwAvvV89GOZhQ+ZLtlnSWl6ksCNMKu/VGXA4Nfi2B7LhN/QFN9oBcw==",
"path": "sqlitepclraw.core/2.1.10",
"hashPath": "sqlitepclraw.core.2.1.10.nupkg.sha512"
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mAr69tDbnf3QJpRy2nJz8Qdpebdil00fvycyByR58Cn9eARvR+UiG2Vzsp+4q1tV3ikwiYIjlXCQFc12GfebbA==",
"path": "sqlitepclraw.lib.e_sqlite3/2.1.10",
"hashPath": "sqlitepclraw.lib.e_sqlite3.2.1.10.nupkg.sha512"
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-uZVTi02C1SxqzgT0HqTWatIbWGb40iIkfc3FpFCpE/r7g6K0PqzDUeefL6P6HPhDtc6BacN3yQysfzP7ks+wSQ==",
"path": "sqlitepclraw.provider.e_sqlite3/2.1.10",
"hashPath": "sqlitepclraw.provider.e_sqlite3.2.1.10.nupkg.sha512"
},
"System.Configuration.ConfigurationManager/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-PdkuMrwDhXoKFo/JxISIi9E8L+QGn9Iquj2OKDWHB6Y/HnUOuBouF7uS3R4Hw3FoNmwwMo6hWgazQdyHIIs27A==",
"path": "system.configuration.configurationmanager/9.0.0",
"hashPath": "system.configuration.configurationmanager.9.0.0.nupkg.sha512"
},
"System.Diagnostics.EventLog/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qd01+AqPhbAG14KtdtIqFk+cxHQFZ/oqRSCoxU1F+Q6Kv0cl726sl7RzU9yLFGd4BUOKdN4XojXF0pQf/R6YeA==",
"path": "system.diagnostics.eventlog/9.0.0",
"hashPath": "system.diagnostics.eventlog.9.0.0.nupkg.sha512"
},
"System.Memory/4.5.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
"path": "system.memory/4.5.3",
"hashPath": "system.memory.4.5.3.nupkg.sha512"
},
"System.Runtime.Caching/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4sUTbJkQZFxyhvc/CDcrAZOT8q1FWTECRsnnwGgKtC7wC3/uzhYSYUXywbCfkINjB35kgQxw9MalI/G3ZZfM3w==",
"path": "system.runtime.caching/9.0.0",
"hashPath": "system.runtime.caching.9.0.0.nupkg.sha512"
},
"System.Security.Cryptography.ProtectedData/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-CJW+x/F6fmRQ7N6K8paasTw9PDZp4t7G76UjGNlSDgoHPF0h08vTzLYbLZpOLEJSg35d5wy2jCXGo84EN05DpQ==",
"path": "system.security.cryptography.protecteddata/9.0.0",
"hashPath": "system.security.cryptography.protecteddata.9.0.0.nupkg.sha512"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,678 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"ZelWiki.Library/2.20.1": {
"dependencies": {
"Magick.NET-Q8-AnyCPU": "14.4.0",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "9.0.1",
"NTDLS.Helpers": "1.3.11",
"NTDLS.SqliteDapperWrapper": "1.1.4",
"SixLabors.ImageSharp": "3.1.6"
},
"runtime": {
"ZelWiki.Library.dll": {}
}
},
"Dapper/2.1.35": {
"runtime": {
"lib/net7.0/Dapper.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.1.35.13827"
}
}
},
"Magick.NET-Q8-AnyCPU/14.4.0": {
"dependencies": {
"Magick.NET.Core": "14.4.0"
},
"runtime": {
"lib/net8.0/Magick.NET-Q8-AnyCPU.dll": {
"assemblyVersion": "14.4.0.0",
"fileVersion": "14.4.0.0"
}
},
"runtimeTargets": {
"runtimes/linux-arm64/native/Magick.Native-Q8-arm64.dll.so": {
"rid": "linux-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-x64/native/Magick.Native-Q8-x64.dll.so": {
"rid": "linux-musl-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x64/native/Magick.Native-Q8-x64.dll.so": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-arm64/native/Magick.Native-Q8-arm64.dll.dylib": {
"rid": "osx-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-x64/native/Magick.Native-Q8-x64.dll.dylib": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm64/native/Magick.Native-Q8-arm64.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "7.1.1.43"
},
"runtimes/win-x64/native/Magick.Native-Q8-x64.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "7.1.1.43"
},
"runtimes/win-x86/native/Magick.Native-Q8-x86.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "7.1.1.43"
}
}
},
"Magick.NET.Core/14.4.0": {
"runtime": {
"lib/net8.0/Magick.NET.Core.dll": {
"assemblyVersion": "14.4.0.0",
"fileVersion": "14.4.0.0"
}
}
},
"Microsoft.AspNetCore.Cryptography.Internal/9.0.1": {},
"Microsoft.AspNetCore.Cryptography.KeyDerivation/9.0.1": {
"dependencies": {
"Microsoft.AspNetCore.Cryptography.Internal": "9.0.1"
}
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore/9.0.1": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Relational": "9.0.1",
"Microsoft.Extensions.Identity.Stores": "9.0.1"
},
"runtime": {
"lib/net9.0/Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61009"
}
}
},
"Microsoft.Data.Sqlite.Core/9.0.0": {
"dependencies": {
"SQLitePCLRaw.core": "2.1.10"
},
"runtime": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52902"
}
}
},
"Microsoft.EntityFrameworkCore/9.0.1": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "9.0.1",
"Microsoft.EntityFrameworkCore.Analyzers": "9.0.1",
"Microsoft.Extensions.Caching.Memory": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61002"
}
}
},
"Microsoft.EntityFrameworkCore.Abstractions/9.0.1": {
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61002"
}
}
},
"Microsoft.EntityFrameworkCore.Analyzers/9.0.1": {},
"Microsoft.EntityFrameworkCore.Relational/9.0.1": {
"dependencies": {
"Microsoft.EntityFrameworkCore": "9.0.1",
"Microsoft.Extensions.Caching.Memory": "9.0.1",
"Microsoft.Extensions.Configuration.Abstractions": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Relational.dll": {
"assemblyVersion": "9.0.1.0",
"fileVersion": "9.0.124.61002"
}
}
},
"Microsoft.Extensions.Caching.Abstractions/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.Caching.Memory/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "9.0.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1",
"Microsoft.Extensions.Logging.Abstractions": "9.0.1",
"Microsoft.Extensions.Options": "9.0.1",
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.Configuration.Abstractions/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.DependencyInjection/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.1": {},
"Microsoft.Extensions.Identity.Core/9.0.1": {
"dependencies": {
"Microsoft.AspNetCore.Cryptography.KeyDerivation": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1",
"Microsoft.Extensions.Options": "9.0.1"
}
},
"Microsoft.Extensions.Identity.Stores/9.0.1": {
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "9.0.1",
"Microsoft.Extensions.Identity.Core": "9.0.1",
"Microsoft.Extensions.Logging": "9.0.1"
}
},
"Microsoft.Extensions.Logging/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "9.0.1",
"Microsoft.Extensions.Logging.Abstractions": "9.0.1",
"Microsoft.Extensions.Options": "9.0.1"
}
},
"Microsoft.Extensions.Logging.Abstractions/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1"
}
},
"Microsoft.Extensions.Options/9.0.1": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1",
"Microsoft.Extensions.Primitives": "9.0.1"
}
},
"Microsoft.Extensions.Primitives/9.0.1": {},
"NTDLS.Helpers/1.3.11": {
"dependencies": {
"Microsoft.Extensions.Caching.Memory": "9.0.1"
},
"runtime": {
"lib/net9.0/NTDLS.Helpers.dll": {
"assemblyVersion": "1.3.11.0",
"fileVersion": "1.3.11.0"
}
}
},
"NTDLS.SqliteDapperWrapper/1.1.4": {
"dependencies": {
"Dapper": "2.1.35",
"Microsoft.Data.Sqlite.Core": "9.0.0",
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.10",
"System.Runtime.Caching": "9.0.0"
},
"runtime": {
"lib/net9.0/NTDLS.SqliteDapperWrapper.dll": {
"assemblyVersion": "1.1.4.0",
"fileVersion": "1.1.4.0"
}
}
},
"SixLabors.ImageSharp/3.1.6": {
"runtime": {
"lib/net6.0/SixLabors.ImageSharp.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.1.6.0"
}
}
},
"SQLitePCLRaw.bundle_e_sqlite3/2.1.10": {
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.10",
"SQLitePCLRaw.provider.e_sqlite3": "2.1.10"
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {
"assemblyVersion": "2.1.10.2445",
"fileVersion": "2.1.10.2445"
}
}
},
"SQLitePCLRaw.core/2.1.10": {
"dependencies": {
"System.Memory": "4.5.3"
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {
"assemblyVersion": "2.1.10.2445",
"fileVersion": "2.1.10.2445"
}
}
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.10": {
"runtimeTargets": {
"runtimes/browser-wasm/nativeassets/net9.0/e_sqlite3.a": {
"rid": "browser-wasm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-arm/native/libe_sqlite3.so": {
"rid": "linux-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-arm64/native/libe_sqlite3.so": {
"rid": "linux-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-armel/native/libe_sqlite3.so": {
"rid": "linux-armel",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-mips64/native/libe_sqlite3.so": {
"rid": "linux-mips64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-arm/native/libe_sqlite3.so": {
"rid": "linux-musl-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-arm64/native/libe_sqlite3.so": {
"rid": "linux-musl-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-s390x/native/libe_sqlite3.so": {
"rid": "linux-musl-s390x",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-x64/native/libe_sqlite3.so": {
"rid": "linux-musl-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-ppc64le/native/libe_sqlite3.so": {
"rid": "linux-ppc64le",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-s390x/native/libe_sqlite3.so": {
"rid": "linux-s390x",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x64/native/libe_sqlite3.so": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x86/native/libe_sqlite3.so": {
"rid": "linux-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib": {
"rid": "maccatalyst-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib": {
"rid": "maccatalyst-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-arm64/native/libe_sqlite3.dylib": {
"rid": "osx-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-x64/native/libe_sqlite3.dylib": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm/native/e_sqlite3.dll": {
"rid": "win-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm64/native/e_sqlite3.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-x64/native/e_sqlite3.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-x86/native/e_sqlite3.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.10": {
"dependencies": {
"SQLitePCLRaw.core": "2.1.10"
},
"runtime": {
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": {
"assemblyVersion": "2.1.10.2445",
"fileVersion": "2.1.10.2445"
}
}
},
"System.Configuration.ConfigurationManager/9.0.0": {
"dependencies": {
"System.Diagnostics.EventLog": "9.0.0",
"System.Security.Cryptography.ProtectedData": "9.0.0"
},
"runtime": {
"lib/net9.0/System.Configuration.ConfigurationManager.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
}
},
"System.Diagnostics.EventLog/9.0.0": {},
"System.Memory/4.5.3": {},
"System.Runtime.Caching/9.0.0": {
"dependencies": {
"System.Configuration.ConfigurationManager": "9.0.0"
},
"runtime": {
"lib/net9.0/System.Runtime.Caching.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
},
"runtimeTargets": {
"runtimes/win/lib/net9.0/System.Runtime.Caching.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
}
},
"System.Security.Cryptography.ProtectedData/9.0.0": {
"runtime": {
"lib/net9.0/System.Security.Cryptography.ProtectedData.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.24.52809"
}
}
}
}
},
"libraries": {
"ZelWiki.Library/2.20.1": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Dapper/2.1.35": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YKRwjVfrG7GYOovlGyQoMvr1/IJdn+7QzNXJxyMh0YfFF5yvDmTYaJOVYWsckreNjGsGSEtrMTpnzxTUq/tZQw==",
"path": "dapper/2.1.35",
"hashPath": "dapper.2.1.35.nupkg.sha512"
},
"Magick.NET-Q8-AnyCPU/14.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4f/6tga1izjCm29qGlPlTc7txquzd5cOgRFuCD6fh7tu+QS4Rd6gZpvRwrIb4e/Y0pE1JQyF2j4RRmQ23T8BLA==",
"path": "magick.net-q8-anycpu/14.4.0",
"hashPath": "magick.net-q8-anycpu.14.4.0.nupkg.sha512"
},
"Magick.NET.Core/14.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nmSA3LWK77rZlQ085RBqFLr67GVFyz4mAcuiVGQ9LcNwbxUm4Zcte4D9N+TxAyew6CXzoyHAG3i7NeDgpuztWw==",
"path": "magick.net.core/14.4.0",
"hashPath": "magick.net.core.14.4.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Cryptography.Internal/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-leaw8hC6wCKfAg2kAYT4plnaHI7o6bKB9IQy0yLWHmgV0GjE449pu0SEnnl7loEzdLgyQrKyVQvfz7wRErqmxQ==",
"path": "microsoft.aspnetcore.cryptography.internal/9.0.1",
"hashPath": "microsoft.aspnetcore.cryptography.internal.9.0.1.nupkg.sha512"
},
"Microsoft.AspNetCore.Cryptography.KeyDerivation/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/ibWvFYnxjCfOmtQtLTFUN9L70CrQH0daom6tE8/hlxTllUDeXM95fE45dC4u2tBOrfDqB6TPAkUzd/vWaAusA==",
"path": "microsoft.aspnetcore.cryptography.keyderivation/9.0.1",
"hashPath": "microsoft.aspnetcore.cryptography.keyderivation.9.0.1.nupkg.sha512"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-yZyj/m7nBsrx6JDIv5KSYH44lJsQ4K5RLEWaYRFQVoIRvGXQxMZ/TUCa7PKFtR/o6nz1fmy6bVciV/eN/NmjUw==",
"path": "microsoft.aspnetcore.identity.entityframeworkcore/9.0.1",
"hashPath": "microsoft.aspnetcore.identity.entityframeworkcore.9.0.1.nupkg.sha512"
},
"Microsoft.Data.Sqlite.Core/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cFfZjFL+tqzGYw9lB31EkV1IWF5xRQNk2k+MQd+Cf86Gl6zTeAoiZIFw5sRB1Z8OxpEC7nu+nTDsLSjieBAPTw==",
"path": "microsoft.data.sqlite.core/9.0.0",
"hashPath": "microsoft.data.sqlite.core.9.0.0.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-E25w4XugXNykTr5Y/sLDGaQ4lf67n9aXVPvsdGsIZjtuLmbvb9AoYP8D50CDejY8Ro4D9GK2kNHz5lWHqSK+wg==",
"path": "microsoft.entityframeworkcore/9.0.1",
"hashPath": "microsoft.entityframeworkcore.9.0.1.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qy+taGVLUs82zeWfc32hgGL8Z02ZqAneYvqZiiXbxF4g4PBUcPRuxHM9K20USmpeJbn4/fz40GkCbyyCy5ojOA==",
"path": "microsoft.entityframeworkcore.abstractions/9.0.1",
"hashPath": "microsoft.entityframeworkcore.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Analyzers/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-c6ZZJZhPKrXFkE2z/81PmuT69HBL6Y68Cl0xJ5SRrDjJyq5Aabkq15yCqPg9RQ3R0aFLVaJok2DA8R3TKpejDQ==",
"path": "microsoft.entityframeworkcore.analyzers/9.0.1",
"hashPath": "microsoft.entityframeworkcore.analyzers.9.0.1.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Relational/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7Iu0h4oevRvH4IwPzmxuIJGYRt55TapoREGlluk75KCO7lenN0+QnzCl6cQDY48uDoxAUpJbpK2xW7o8Ix69dw==",
"path": "microsoft.entityframeworkcore.relational/9.0.1",
"hashPath": "microsoft.entityframeworkcore.relational.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Caching.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Eghsg9SyIvq0c8x6cUpe71BbQoOmsytXxqw2+ZNiTnP8a8SBLKgEor1zZeWhC0588IbS2M0PP4gXGAd9qF862Q==",
"path": "microsoft.extensions.caching.abstractions/9.0.1",
"hashPath": "microsoft.extensions.caching.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Caching.Memory/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JeC+PP0BCKMwwLezPGDaciJSTfcFG4KjsG8rX4XZ6RSvzdxofrFmcnmW2L4+cWUcZSBTQ+Dd7H5Gs9XZz/OlCA==",
"path": "microsoft.extensions.caching.memory/9.0.1",
"hashPath": "microsoft.extensions.caching.memory.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+4hfFIY1UjBCXFTTOd+ojlDPq6mep3h5Vq5SYE3Pjucr7dNXmq4S/6P/LoVnZFz2e/5gWp/om4svUFgznfULcA==",
"path": "microsoft.extensions.configuration.abstractions/9.0.1",
"hashPath": "microsoft.extensions.configuration.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qZI42ASAe3hr2zMSA6UjM92pO1LeDq5DcwkgSowXXPY8I56M76pEKrnmsKKbxagAf39AJxkH2DY4sb72ixyOrg==",
"path": "microsoft.extensions.dependencyinjection/9.0.1",
"hashPath": "microsoft.extensions.dependencyinjection.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Tr74eP0oQ3AyC24ch17N8PuEkrPbD0JqIfENCYqmgKYNOmL8wQKzLJu3ObxTUDrjnn4rHoR1qKa37/eQyHmCDA==",
"path": "microsoft.extensions.dependencyinjection.abstractions/9.0.1",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Identity.Core/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dbvAQhwSyBbgB2BuVJ8PMVx7BK6WZHWhV/vsSnXl6sRLs9D7yXiIiRpgcPVvN5E/UkzRGW1EPXyc3t1EDxWSzg==",
"path": "microsoft.extensions.identity.core/9.0.1",
"hashPath": "microsoft.extensions.identity.core.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Identity.Stores/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lBErjDqd7i2RGpDr040lGm/HbMvxG/1Ta1aSFh91vYtSwEY2rtMI9o7xIDWgNmBKu8ko+XBxt0WcQh6TNFVe7g==",
"path": "microsoft.extensions.identity.stores/9.0.1",
"hashPath": "microsoft.extensions.identity.stores.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Logging/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-E/k5r7S44DOW+08xQPnNbO8DKAQHhkspDboTThNJ6Z3/QBb4LC6gStNWzVmy3IvW7sUD+iJKf4fj0xEkqE7vnQ==",
"path": "microsoft.extensions.logging/9.0.1",
"hashPath": "microsoft.extensions.logging.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-w2gUqXN/jNIuvqYwX3lbXagsizVNXYyt6LlF57+tMve4JYCEgCMMAjRce6uKcDASJgpMbErRT1PfHy2OhbkqEA==",
"path": "microsoft.extensions.logging.abstractions/9.0.1",
"hashPath": "microsoft.extensions.logging.abstractions.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Options/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nggoNKnWcsBIAaOWHA+53XZWrslC7aGeok+aR+epDPRy7HI7GwMnGZE8yEsL2Onw7kMOHVHwKcsDls1INkNUJQ==",
"path": "microsoft.extensions.options/9.0.1",
"hashPath": "microsoft.extensions.options.9.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/9.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bHtTesA4lrSGD1ZUaMIx6frU3wyy0vYtTa/hM6gGQu5QNrydObv8T5COiGUWsisflAfmsaFOe9Xvw5NSO99z0g==",
"path": "microsoft.extensions.primitives/9.0.1",
"hashPath": "microsoft.extensions.primitives.9.0.1.nupkg.sha512"
},
"NTDLS.Helpers/1.3.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xcNFG2blg5WqnivxXgLHbvxz5L1EYXAhEK+7R1TXQIyuknKG9McAjCp+tr+RZ7PawqXwKeOHkaizNQcSdlv81A==",
"path": "ntdls.helpers/1.3.11",
"hashPath": "ntdls.helpers.1.3.11.nupkg.sha512"
},
"NTDLS.SqliteDapperWrapper/1.1.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-enrMT/qcwqFh18APoN/XtydpC+9BuD5rVg2h/4Fl9IT8bC1aL7iLPJigdfkGf0mYYO3Y6EP91nL4Iv/5Dqay9A==",
"path": "ntdls.sqlitedapperwrapper/1.1.4",
"hashPath": "ntdls.sqlitedapperwrapper.1.1.4.nupkg.sha512"
},
"SixLabors.ImageSharp/3.1.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dHQ5jugF9v+5/LCVHCWVzaaIL6WOehqJy6eju/0VFYFPEj2WtqkGPoEV9EVQP83dHsdoqYaTuWpZdwAd37UwfA==",
"path": "sixlabors.imagesharp/3.1.6",
"hashPath": "sixlabors.imagesharp.3.1.6.nupkg.sha512"
},
"SQLitePCLRaw.bundle_e_sqlite3/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UxWuisvZ3uVcVOLJQv7urM/JiQH+v3TmaJc1BLKl5Dxfm/nTzTUrqswCqg/INiYLi61AXnHo1M1JPmPqqLnAdg==",
"path": "sqlitepclraw.bundle_e_sqlite3/2.1.10",
"hashPath": "sqlitepclraw.bundle_e_sqlite3.2.1.10.nupkg.sha512"
},
"SQLitePCLRaw.core/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Ii8JCbC7oiVclaE/mbDEK000EFIJ+ShRPwAvvV89GOZhQ+ZLtlnSWl6ksCNMKu/VGXA4Nfi2B7LhN/QFN9oBcw==",
"path": "sqlitepclraw.core/2.1.10",
"hashPath": "sqlitepclraw.core.2.1.10.nupkg.sha512"
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mAr69tDbnf3QJpRy2nJz8Qdpebdil00fvycyByR58Cn9eARvR+UiG2Vzsp+4q1tV3ikwiYIjlXCQFc12GfebbA==",
"path": "sqlitepclraw.lib.e_sqlite3/2.1.10",
"hashPath": "sqlitepclraw.lib.e_sqlite3.2.1.10.nupkg.sha512"
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.10": {
"type": "package",
"serviceable": true,
"sha512": "sha512-uZVTi02C1SxqzgT0HqTWatIbWGb40iIkfc3FpFCpE/r7g6K0PqzDUeefL6P6HPhDtc6BacN3yQysfzP7ks+wSQ==",
"path": "sqlitepclraw.provider.e_sqlite3/2.1.10",
"hashPath": "sqlitepclraw.provider.e_sqlite3.2.1.10.nupkg.sha512"
},
"System.Configuration.ConfigurationManager/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-PdkuMrwDhXoKFo/JxISIi9E8L+QGn9Iquj2OKDWHB6Y/HnUOuBouF7uS3R4Hw3FoNmwwMo6hWgazQdyHIIs27A==",
"path": "system.configuration.configurationmanager/9.0.0",
"hashPath": "system.configuration.configurationmanager.9.0.0.nupkg.sha512"
},
"System.Diagnostics.EventLog/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qd01+AqPhbAG14KtdtIqFk+cxHQFZ/oqRSCoxU1F+Q6Kv0cl726sl7RzU9yLFGd4BUOKdN4XojXF0pQf/R6YeA==",
"path": "system.diagnostics.eventlog/9.0.0",
"hashPath": "system.diagnostics.eventlog.9.0.0.nupkg.sha512"
},
"System.Memory/4.5.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
"path": "system.memory/4.5.3",
"hashPath": "system.memory.4.5.3.nupkg.sha512"
},
"System.Runtime.Caching/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4sUTbJkQZFxyhvc/CDcrAZOT8q1FWTECRsnnwGgKtC7wC3/uzhYSYUXywbCfkINjB35kgQxw9MalI/G3ZZfM3w==",
"path": "system.runtime.caching/9.0.0",
"hashPath": "system.runtime.caching.9.0.0.nupkg.sha512"
},
"System.Security.Cryptography.ProtectedData/9.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-CJW+x/F6fmRQ7N6K8paasTw9PDZp4t7G76UjGNlSDgoHPF0h08vTzLYbLZpOLEJSg35d5wy2jCXGo84EN05DpQ==",
"path": "system.security.cryptography.protecteddata/9.0.0",
"hashPath": "system.security.cryptography.protecteddata.9.0.0.nupkg.sha512"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("TightWiki.Library")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.20.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.20.1+4b54cca70b03a58af51ef6debdd012251f258bbb")]
[assembly: System.Reflection.AssemblyProductAttribute("TightWiki.Library")]
[assembly: System.Reflection.AssemblyTitleAttribute("TightWiki.Library")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.20.1.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@@ -0,0 +1 @@
3310519dc2f05747065d09d9b8b6c4385b089e02f3694219b817bf7c0645d0c2

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = TightWiki.Library
build_property.ProjectDir = E:\HelloWord\nysj2\TightWiki.Library\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
2973ab2719341eafcc5377883a3343e3574d1e5c534caa5e75cda8de1ee51518

View File

@@ -0,0 +1,12 @@
E:\HelloWord\nysj2\TightWiki.Library\bin\Debug\net9.0\TightWiki.Library.deps.json
E:\HelloWord\nysj2\TightWiki.Library\bin\Debug\net9.0\TightWiki.Library.dll
E:\HelloWord\nysj2\TightWiki.Library\bin\Debug\net9.0\TightWiki.Library.pdb
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\TightWiki.Library.csproj.AssemblyReference.cache
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\TightWiki.Library.GeneratedMSBuildEditorConfig.editorconfig
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\TightWiki.Library.AssemblyInfoInputs.cache
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\TightWiki.Library.AssemblyInfo.cs
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\TightWiki.Library.csproj.CoreCompileInputs.cache
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\TightWiki.Library.dll
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\refint\TightWiki.Library.dll
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\TightWiki.Library.pdb
E:\HelloWord\nysj2\TightWiki.Library\obj\Debug\net9.0\ref\TightWiki.Library.dll

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ZelWiki.Library")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.20.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.20.1+4b54cca70b03a58af51ef6debdd012251f258bbb")]
[assembly: System.Reflection.AssemblyProductAttribute("ZelWiki.Library")]
[assembly: System.Reflection.AssemblyTitleAttribute("ZelWiki.Library")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.20.1.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@@ -0,0 +1 @@
94e713812ebd822a16d5a58fd1b303675d8d9b92f921828dbe544f3b5e3b3b33

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ZelWiki.Library
build_property.ProjectDir = E:\HelloWord\nysj2\ZelWiki.Library\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
4cce8e6d1a0d211823647749cb11876fb85b651ed402bb2df0dc304d14763091

View File

@@ -0,0 +1,12 @@
E:\HelloWord\nysj2\ZelWiki.Library\bin\Debug\net9.0\ZelWiki.Library.deps.json
E:\HelloWord\nysj2\ZelWiki.Library\bin\Debug\net9.0\ZelWiki.Library.dll
E:\HelloWord\nysj2\ZelWiki.Library\bin\Debug\net9.0\ZelWiki.Library.pdb
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ZelWiki.Library.csproj.AssemblyReference.cache
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ZelWiki.Library.GeneratedMSBuildEditorConfig.editorconfig
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ZelWiki.Library.AssemblyInfoInputs.cache
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ZelWiki.Library.AssemblyInfo.cs
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ZelWiki.Library.csproj.CoreCompileInputs.cache
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ZelWiki.Library.dll
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\refint\ZelWiki.Library.dll
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ZelWiki.Library.pdb
E:\HelloWord\nysj2\ZelWiki.Library\obj\Debug\net9.0\ref\ZelWiki.Library.dll

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,98 @@
{
"format": 1,
"restore": {
"E:\\HelloWord\\nysj2\\TightWiki.Library\\TightWiki.Library.csproj": {}
},
"projects": {
"E:\\HelloWord\\nysj2\\TightWiki.Library\\TightWiki.Library.csproj": {
"version": "2.20.1",
"restore": {
"projectUniqueName": "E:\\HelloWord\\nysj2\\TightWiki.Library\\TightWiki.Library.csproj",
"projectName": "TightWiki.Library",
"projectPath": "E:\\HelloWord\\nysj2\\TightWiki.Library\\TightWiki.Library.csproj",
"packagesPath": "C:\\Users\\Zel\\.nuget\\packages\\",
"outputPath": "E:\\HelloWord\\nysj2\\TightWiki.Library\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Zel\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"Magick.NET-Q8-AnyCPU": {
"target": "Package",
"version": "[14.4.0, )"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package",
"version": "[9.0.1, )"
},
"NTDLS.Helpers": {
"target": "Package",
"version": "[1.3.11, )"
},
"NTDLS.SqliteDapperWrapper": {
"target": "Package",
"version": "[1.1.4, )"
},
"SixLabors.ImageSharp": {
"target": "Package",
"version": "[3.1.6, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Zel\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.3</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Zel\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)sixlabors.imagesharp\3.1.6\build\SixLabors.ImageSharp.props" Condition="Exists('$(NuGetPackageRoot)sixlabors.imagesharp\3.1.6\build\SixLabors.ImageSharp.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\9.0.1\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\9.0.1\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props')" />
</ImportGroup>
</Project>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.10\buildTransitive\net9.0\SQLitePCLRaw.lib.e_sqlite3.targets" Condition="Exists('$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.10\buildTransitive\net9.0\SQLitePCLRaw.lib.e_sqlite3.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Options.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
<Import Project="$(NuGetPackageRoot)magick.net-q8-anycpu\14.4.0\buildTransitive\netstandard20\Magick.NET-Q8-AnyCPU.targets" Condition="Exists('$(NuGetPackageRoot)magick.net-q8-anycpu\14.4.0\buildTransitive\netstandard20\Magick.NET-Q8-AnyCPU.targets')" />
</ImportGroup>
</Project>

View File

@@ -0,0 +1,98 @@
{
"format": 1,
"restore": {
"E:\\HelloWord\\nysj2\\ZelWiki.Library\\ZelWiki.Library.csproj": {}
},
"projects": {
"E:\\HelloWord\\nysj2\\ZelWiki.Library\\ZelWiki.Library.csproj": {
"version": "2.20.1",
"restore": {
"projectUniqueName": "E:\\HelloWord\\nysj2\\ZelWiki.Library\\ZelWiki.Library.csproj",
"projectName": "ZelWiki.Library",
"projectPath": "E:\\HelloWord\\nysj2\\ZelWiki.Library\\ZelWiki.Library.csproj",
"packagesPath": "C:\\Users\\Zel\\.nuget\\packages\\",
"outputPath": "E:\\HelloWord\\nysj2\\ZelWiki.Library\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Zel\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"Magick.NET-Q8-AnyCPU": {
"target": "Package",
"version": "[14.4.0, )"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package",
"version": "[9.0.1, )"
},
"NTDLS.Helpers": {
"target": "Package",
"version": "[1.3.11, )"
},
"NTDLS.SqliteDapperWrapper": {
"target": "Package",
"version": "[1.1.4, )"
},
"SixLabors.ImageSharp": {
"target": "Package",
"version": "[3.1.6, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Zel\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.3</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Zel\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)sixlabors.imagesharp\3.1.6\build\SixLabors.ImageSharp.props" Condition="Exists('$(NuGetPackageRoot)sixlabors.imagesharp\3.1.6\build\SixLabors.ImageSharp.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\9.0.1\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\9.0.1\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props')" />
</ImportGroup>
</Project>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.10\buildTransitive\net9.0\SQLitePCLRaw.lib.e_sqlite3.targets" Condition="Exists('$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.10\buildTransitive\net9.0\SQLitePCLRaw.lib.e_sqlite3.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Options.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\9.0.1\buildTransitive\net8.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
<Import Project="$(NuGetPackageRoot)magick.net-q8-anycpu\14.4.0\buildTransitive\netstandard20\Magick.NET-Q8-AnyCPU.targets" Condition="Exists('$(NuGetPackageRoot)magick.net-q8-anycpu\14.4.0\buildTransitive\netstandard20\Magick.NET-Q8-AnyCPU.targets')" />
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,43 @@
{
"version": 2,
"dgSpecHash": "q4mNYyFvtto=",
"success": true,
"projectFilePath": "E:\\HelloWord\\nysj2\\ZelWiki.Library\\ZelWiki.Library.csproj",
"expectedPackageFiles": [
"C:\\Users\\Zel\\.nuget\\packages\\dapper\\2.1.35\\dapper.2.1.35.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\magick.net-q8-anycpu\\14.4.0\\magick.net-q8-anycpu.14.4.0.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\magick.net.core\\14.4.0\\magick.net.core.14.4.0.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\9.0.1\\microsoft.aspnetcore.cryptography.internal.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\9.0.1\\microsoft.aspnetcore.cryptography.keyderivation.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.aspnetcore.identity.entityframeworkcore\\9.0.1\\microsoft.aspnetcore.identity.entityframeworkcore.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.data.sqlite.core\\9.0.0\\microsoft.data.sqlite.core.9.0.0.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.entityframeworkcore\\9.0.1\\microsoft.entityframeworkcore.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\9.0.1\\microsoft.entityframeworkcore.abstractions.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\9.0.1\\microsoft.entityframeworkcore.analyzers.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\9.0.1\\microsoft.entityframeworkcore.relational.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\9.0.1\\microsoft.extensions.caching.abstractions.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.caching.memory\\9.0.1\\microsoft.extensions.caching.memory.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\9.0.1\\microsoft.extensions.configuration.abstractions.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\9.0.1\\microsoft.extensions.dependencyinjection.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\9.0.1\\microsoft.extensions.dependencyinjection.abstractions.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.identity.core\\9.0.1\\microsoft.extensions.identity.core.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.identity.stores\\9.0.1\\microsoft.extensions.identity.stores.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.logging\\9.0.1\\microsoft.extensions.logging.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\9.0.1\\microsoft.extensions.logging.abstractions.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.options\\9.0.1\\microsoft.extensions.options.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\microsoft.extensions.primitives\\9.0.1\\microsoft.extensions.primitives.9.0.1.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\ntdls.helpers\\1.3.11\\ntdls.helpers.1.3.11.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\ntdls.sqlitedapperwrapper\\1.1.4\\ntdls.sqlitedapperwrapper.1.1.4.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\sixlabors.imagesharp\\3.1.6\\sixlabors.imagesharp.3.1.6.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlite3\\2.1.10\\sqlitepclraw.bundle_e_sqlite3.2.1.10.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\sqlitepclraw.core\\2.1.10\\sqlitepclraw.core.2.1.10.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3\\2.1.10\\sqlitepclraw.lib.e_sqlite3.2.1.10.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\sqlitepclraw.provider.e_sqlite3\\2.1.10\\sqlitepclraw.provider.e_sqlite3.2.1.10.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\system.configuration.configurationmanager\\9.0.0\\system.configuration.configurationmanager.9.0.0.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\system.diagnostics.eventlog\\9.0.0\\system.diagnostics.eventlog.9.0.0.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\system.memory\\4.5.3\\system.memory.4.5.3.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\system.runtime.caching\\9.0.0\\system.runtime.caching.9.0.0.nupkg.sha512",
"C:\\Users\\Zel\\.nuget\\packages\\system.security.cryptography.protecteddata\\9.0.0\\system.security.cryptography.protecteddata.9.0.0.nupkg.sha512"
],
"logs": []
}

View File

@@ -0,0 +1 @@
"restore":{"projectUniqueName":"E:\\HelloWord\\nysj2\\TightWiki.Library\\TightWiki.Library.csproj","projectName":"TightWiki.Library","projectPath":"E:\\HelloWord\\nysj2\\TightWiki.Library\\TightWiki.Library.csproj","outputPath":"E:\\HelloWord\\nysj2\\TightWiki.Library\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net9.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"Magick.NET-Q8-AnyCPU":{"target":"Package","version":"[14.4.0, )"},"Microsoft.AspNetCore.Identity.EntityFrameworkCore":{"target":"Package","version":"[9.0.1, )"},"NTDLS.Helpers":{"target":"Package","version":"[1.3.11, )"},"NTDLS.SqliteDapperWrapper":{"target":"Package","version":"[1.1.4, )"},"SixLabors.ImageSharp":{"target":"Package","version":"[3.1.6, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json"}}

View File

@@ -0,0 +1 @@
17399550713423598

View File

@@ -0,0 +1 @@
17400197432107034