├── SignalRChat
├── Pages
│ ├── _ViewStart.cshtml
│ ├── _ViewImports.cshtml
│ ├── Privacy.cshtml
│ ├── Shared
│ │ └── _ValidationScriptsPartial.cshtml
│ ├── Privacy.cshtml.cs
│ ├── Error.cshtml.cs
│ ├── Error.cshtml
│ └── Index.cshtml.cs
├── Startup.cs
├── wwwroot
│ ├── favicon.ico
│ ├── js
│ │ └── site.js
│ └── lib
│ │ ├── jquery-validation-unobtrusive
│ │ └── LICENSE.txt
│ │ ├── jquery-validation
│ │ └── LICENSE.md
│ │ └── bootstrap
│ │ └── LICENSE
├── SignalRChat.xml
├── appsettings.Development.json
├── .config
│ └── dotnet-tools.json
├── appsettings.json
├── libman.json
├── Hubs
│ └── wwww.cs
├── SignalRChat.csproj
├── web.config
├── Program.cs
└── Properties
│ └── launchSettings.json
├── Notice.txt
├── WebFormsNF48
├── favicon.ico
├── Global.asax
├── fonts
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
├── Bundle.config
├── ViewSwitcher.ascx
├── About.aspx.cs
├── Contact.aspx.cs
├── Site.Master.cs
├── About.aspx
├── Site.Mobile.Master.cs
├── About.aspx.designer.cs
├── Contact.aspx.designer.cs
├── ViewSwitcher.ascx.designer.cs
├── App_Start
│ └── RouteConfig.cs
├── Global.asax.cs
├── Contact.aspx
├── Content
│ └── Site.css
├── Site.Mobile.Master
├── Default.aspx
├── Site.Master.designer.cs
├── Properties
│ └── AssemblyInfo.cs
├── Web.Debug.config
├── Web.Release.config
└── Scripts
│ └── WebForms
│ └── DetailsView.js
├── FreeSqlDemos
├── document.mdb
└── ConsoleApp.csproj
├── UWP1
├── Assets
│ ├── StoreLogo.png
│ ├── SplashScreen.scale-200.png
│ ├── LockScreenLogo.scale-200.png
│ ├── Square44x44Logo.scale-200.png
│ ├── Wide310x150Logo.scale-200.png
│ ├── Square150x150Logo.scale-200.png
│ └── Square44x44Logo.targetsize-24_altform-unplated.png
├── App.xaml
├── MainPage.xaml
└── Properties
│ ├── AssemblyInfo.cs
│ └── Default.rd.xml
├── WebApi
├── 添加服务.txt
├── .config
│ └── dotnet-tools.json
├── appsettings.Development.json
├── appsettings.json
├── WeatherForecast.cs
├── Properties
│ └── launchSettings.json
├── WebApi.csproj
└── Controllers
│ └── WeatherForecastController.cs
├── Extensions
├── Directory.Build.props
└── DataServices
│ └── BootstrapBlazor.DataAcces.FreeSql
│ ├── Directory.Build.props
│ ├── logo.png
│ ├── README.md
│ ├── Densen.Extensions.Freesql.BootstrapBlazor.csproj
│ └── FreeSqlServiceCollectionExtensions.cs
├── Maui
├── BlazorWinForms1
│ ├── _Imports.razor
│ ├── MainLayout.razor
│ ├── Counter.razor
│ ├── App.razor
│ ├── Program.cs
│ ├── Form1.cs
│ ├── Startup.cs
│ ├── wwwroot
│ │ ├── css
│ │ │ └── app.css
│ │ └── index.html
│ ├── Index.razor
│ ├── BlazorWinForms1.csproj
│ └── Form1.Designer.cs
├── MauiBlazorApp2
│ ├── wwwroot
│ │ ├── favicon.ico
│ │ ├── css
│ │ │ └── open-iconic
│ │ │ │ ├── font
│ │ │ │ └── fonts
│ │ │ │ │ ├── open-iconic.eot
│ │ │ │ │ ├── open-iconic.otf
│ │ │ │ │ ├── open-iconic.ttf
│ │ │ │ │ └── open-iconic.woff
│ │ │ │ └── ICON-LICENSE
│ │ └── index.html
│ ├── Resources
│ │ ├── Fonts
│ │ │ └── OpenSans-Regular.ttf
│ │ ├── appicon.svg
│ │ └── Raw
│ │ │ └── AboutAssets.txt
│ ├── Properties
│ │ └── launchSettings.json
│ ├── MainPage.xaml.cs
│ ├── App.xaml.cs
│ ├── Platforms
│ │ ├── Android
│ │ │ ├── Resources
│ │ │ │ └── values
│ │ │ │ │ └── colors.xml
│ │ │ ├── MainApplication.cs
│ │ │ ├── MainActivity.cs
│ │ │ └── AndroidManifest.xml
│ │ ├── iOS
│ │ │ ├── AppDelegate.cs
│ │ │ ├── Program.cs
│ │ │ └── Info.plist
│ │ ├── MacCatalyst
│ │ │ ├── AppDelegate.cs
│ │ │ ├── Program.cs
│ │ │ └── Info.plist
│ │ └── Windows
│ │ │ ├── App.xaml
│ │ │ ├── app.manifest
│ │ │ ├── App.xaml.cs
│ │ │ └── Package.appxmanifest
│ ├── Data
│ │ ├── WeatherForecast.cs
│ │ └── WeatherForecastService.cs
│ ├── _Imports.razor
│ ├── Main.razor
│ ├── Pages
│ │ ├── Counter.razor
│ │ ├── Index.razor
│ │ └── FetchData.razor
│ ├── Shared
│ │ ├── MainLayout.razor
│ │ ├── SurveyPrompt.razor
│ │ ├── NavMenu.razor.css
│ │ ├── NavMenu.razor
│ │ └── MainLayout.razor.css
│ ├── MauiProgram.cs
│ ├── MainPage.xaml
│ ├── App.xaml
│ └── MauiBlazorApp2.sln
└── MauiApp2
│ ├── Resources
│ ├── Fonts
│ │ └── OpenSans-Regular.ttf
│ ├── appicon.svg
│ └── Raw
│ │ └── AboutAssets.txt
│ ├── Properties
│ └── launchSettings.json
│ ├── App.xaml.cs
│ ├── Platforms
│ ├── Android
│ │ ├── Resources
│ │ │ └── values
│ │ │ │ └── colors.xml
│ │ ├── MainApplication.cs
│ │ ├── MainActivity.cs
│ │ └── AndroidManifest.xml
│ ├── iOS
│ │ ├── AppDelegate.cs
│ │ ├── Program.cs
│ │ └── Info.plist
│ ├── MacCatalyst
│ │ ├── AppDelegate.cs
│ │ ├── Program.cs
│ │ └── Info.plist
│ └── Windows
│ │ ├── App.xaml
│ │ ├── app.manifest
│ │ ├── App.xaml.cs
│ │ └── Package.appxmanifest
│ ├── MauiProgram.cs
│ ├── Views
│ └── MainPage.xaml.cs
│ ├── App.xaml
│ └── MauiApp2.sln
├── WorkerService
├── WorkerService1
│ ├── Program.cs
│ ├── document.db
│ ├── appsettings.json
│ ├── appsettings.Development.json
│ ├── Properties
│ │ └── launchSettings.json
│ ├── WorkerService.csproj
│ └── Worker.cs
└── WorkerService1.sln
├── BlazorWpf1
├── _Imports.razor
├── MainLayout.razor
├── Counter.razor
├── App.xaml.cs
├── Main.razor
├── App.xaml
├── MainWindow.xaml.cs
├── AssemblyInfo.cs
├── Startup.cs
├── wwwroot
│ ├── css
│ │ └── app.css
│ └── index.html
├── Index.razor
├── MainWindow.xaml
└── BlazorWpf1.csproj
├── WpfDatagridView
├── WpfDatagridView
│ ├── densen.ico
│ ├── Resource
│ │ └── 276.jpg
│ ├── Common
│ │ ├── InitDataHelper.cs
│ │ ├── IntegerToSex.cs
│ │ └── ValidationRuleAssembly.cs
│ ├── AssemblyInfo.cs
│ ├── ViewModels
│ │ └── ConfigViewModel.cs
│ ├── Content
│ │ ├── FruitInfoView.xaml.cs
│ │ └── FruitInfoView.xaml
│ ├── Views
│ │ └── Config
│ │ │ └── ConfigPage.xaml.cs
│ └── WpfDatagridView.csproj
└── WpfDatagridView.sln
├── xamarinFormApps
├── xamarinFormApp
│ ├── AssemblyInfo.cs
│ ├── Services
│ │ ├── ISQLite.cs
│ │ └── IDataStore.cs
│ ├── Views
│ │ ├── AboutPage.xaml.cs
│ │ ├── ItemDetailPage.xaml.cs
│ │ ├── NewItemPage.xaml.cs
│ │ ├── LoginPage.xaml.cs
│ │ ├── ItemDetailPage.xaml
│ │ ├── LoginPage.xaml
│ │ ├── ItemsPage.xaml.cs
│ │ └── NewItemPage.xaml
│ ├── Models
│ │ └── Item.cs
│ ├── ViewModels
│ │ ├── AboutViewModel.cs
│ │ └── LoginViewModel.cs
│ ├── AppShell.xaml.cs
│ ├── xamarinFormApp.csproj
│ └── GettingStarted.txt
├── xamarinFormApp.iOS
│ ├── Resources
│ │ ├── Default.png
│ │ ├── Default@2x.png
│ │ ├── icon_about.png
│ │ ├── icon_feed.png
│ │ ├── icon_about@2x.png
│ │ ├── icon_about@3x.png
│ │ ├── icon_feed@2x.png
│ │ ├── icon_feed@3x.png
│ │ ├── xamarin_logo.png
│ │ ├── Default-568h@2x.png
│ │ ├── xamarin_logo@2x.png
│ │ ├── xamarin_logo@3x.png
│ │ ├── Default-Portrait.png
│ │ └── Default-Portrait@2x.png
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ ├── Icon1024.png
│ │ │ ├── Icon120.png
│ │ │ ├── Icon152.png
│ │ │ ├── Icon167.png
│ │ │ ├── Icon180.png
│ │ │ ├── Icon20.png
│ │ │ ├── Icon29.png
│ │ │ ├── Icon40.png
│ │ │ ├── Icon58.png
│ │ │ ├── Icon60.png
│ │ │ ├── Icon76.png
│ │ │ ├── Icon80.png
│ │ │ └── Icon87.png
│ ├── Entitlements.plist
│ ├── Main.cs
│ ├── SQLite_iOS.cs
│ ├── AppDelegate.cs
│ ├── Info.plist
│ └── Properties
│ │ └── AssemblyInfo.cs
├── xamarinFormApp.Android
│ ├── Resources
│ │ ├── mipmap-hdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-mdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── drawable
│ │ │ ├── icon_about.png
│ │ │ ├── icon_feed.png
│ │ │ └── xamarin_logo.png
│ │ ├── mipmap-xhdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-xxhdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-xxxhdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-anydpi-v26
│ │ │ ├── icon.xml
│ │ │ └── icon_round.xml
│ │ ├── values
│ │ │ ├── colors.xml
│ │ │ └── styles.xml
│ │ └── layout
│ │ │ ├── Toolbar.xml
│ │ │ └── Tabbar.xml
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── SQLite_droid.cs
│ ├── Assets
│ │ └── AboutAssets.txt
│ └── MainActivity.cs
└── xamarinForm.Wpf
│ ├── App.config
│ ├── Properties
│ ├── Settings.settings
│ └── Settings.Designer.cs
│ ├── App.xaml.cs
│ ├── App.xaml
│ ├── MainWindow.xaml
│ └── MainWindow.xaml.cs
├── ConsoleAppMysql
├── ConsoleAppMysql
│ ├── config.txt
│ ├── FodyWeavers.xml
│ ├── ConsoleAppMysql.csproj
│ └── Program.cs
└── ConsoleAppMysql.sln
├── Blazor
└── BootstrapBlazorApp
│ └── BootstrapBlazorApp1-freesql.Server
│ ├── bb.db
│ ├── document.db
│ ├── wwwroot
│ ├── favicon.ico
│ ├── favicon.png
│ ├── images
│ │ ├── Argo.png
│ │ ├── Argo-C.png
│ │ └── brand.png
│ └── css
│ │ └── site.css
│ ├── .config
│ └── dotnet-tools.json
│ ├── Pages
│ ├── _Host.cshtml
│ ├── Block.razor
│ ├── Counter.razor
│ ├── Error.cshtml
│ ├── Index.razor
│ ├── FetchData.razor
│ └── _Layout.cshtml
│ ├── appsettings.Development.json
│ ├── Component
│ ├── ApiLinkComponent.razor
│ └── ApiLinkFullComponent.razor
│ ├── appsettings.json
│ ├── Data
│ ├── WeatherForecast.cs
│ └── WeatherForecastService.cs
│ ├── App.razor
│ ├── _Imports.razor
│ ├── Models
│ └── Item.cs
│ ├── Services
│ └── IDataStore.cs
│ ├── Shared
│ ├── MainLayout.razor
│ └── SurveyPrompt.razor
│ ├── Properties
│ └── launchSettings.json
│ └── BootstrapBlazorApp.Server.csproj
├── WindowsAppVB
├── App.config
└── My Project
│ ├── Settings.settings
│ ├── Application.myapp
│ └── AssemblyInfo.vb
├── WindowsAppVB_CS
├── App.config
├── My Project
│ ├── Settings.settings
│ ├── Application.myapp
│ └── AssemblyInfo.vb
└── Form1.vb
├── WindowsFormsApp
├── App.config
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ └── AssemblyInfo.cs
└── Program.cs
├── CS_Lib
└── CS_Lib.csproj
├── ARM_ConsoleApp
└── ARM_ConsoleApp.csproj
├── Loongarch_linux操作sqlite,仅在Loongarch的dotnet环境下编译有效
├── ConsoleApp1.csproj
└── Program.cs
├── LibraryShared
└── LibraryShared.csproj
└── __Directory.Build.props
/SignalRChat/Pages/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "_Layout";
3 | }
4 |
--------------------------------------------------------------------------------
/Notice.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/densen2014/FreeSqlDemos/HEAD/Notice.txt
--------------------------------------------------------------------------------
/SignalRChat/Startup.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/densen2014/FreeSqlDemos/HEAD/SignalRChat/Startup.cs
--------------------------------------------------------------------------------
/WebFormsNF48/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/densen2014/FreeSqlDemos/HEAD/WebFormsNF48/favicon.ico
--------------------------------------------------------------------------------
/FreeSqlDemos/document.mdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/densen2014/FreeSqlDemos/HEAD/FreeSqlDemos/document.mdb
--------------------------------------------------------------------------------
/UWP1/Assets/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/densen2014/FreeSqlDemos/HEAD/UWP1/Assets/StoreLogo.png
--------------------------------------------------------------------------------
/WebApi/添加服务.txt:
--------------------------------------------------------------------------------
1 | sc create API_fsql binPath="C:\Repos\FreeSqlDemos\WebApi\bin\Release\net7.0\publish\WebApi.exe"
--------------------------------------------------------------------------------
/SignalRChat/wwwroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/densen2014/FreeSqlDemos/HEAD/SignalRChat/wwwroot/favicon.ico
--------------------------------------------------------------------------------
/WebFormsNF48/Global.asax:
--------------------------------------------------------------------------------
1 | <%@ Application Codebehind="Global.asax.cs" Inherits="WebFormsNF48.Global" Language="C#" %>
2 |
--------------------------------------------------------------------------------
/Extensions/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
Use this page to detail your site's privacy policy.
9 | -------------------------------------------------------------------------------- /WindowsAppVB/App.config: -------------------------------------------------------------------------------- 1 | 2 |The current count is: @currentCount
7 | 8 |@(new MarkupString(Introduction))
6 | 7 |The current count is: @currentCount
7 | 8 |Sorry, there's nothing at this address.
8 |Sorry, there's nothing at this address.
8 |Sorry, there's nothing at this address.
8 |Current count: @currentCount
6 | 7 | 8 | 9 | @code { 10 | private int currentCount = 0; 11 | 12 | private void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Blazor/BootstrapBlazorApp/BootstrapBlazorApp1-freesql.Server/Component/ApiLinkComponent.razor: -------------------------------------------------------------------------------- 1 | @(apibase + API) 2 |Current count: @currentCount
6 | 7 | 8 | 9 | @code { 10 | private int currentCount = 0; 11 | 12 | private void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /BlazorWpf1/App.xaml: -------------------------------------------------------------------------------- 1 |Use this area to provide additional information.
7 |Sorry, there's nothing at this address.
10 |9 | Swapping to Development environment will display more detailed information about the error that occurred. 10 |
11 |12 | The Development environment shouldn't be enabled for deployed applications. 13 | It can result in displaying sensitive information from exceptions to end users. 14 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 15 | and restarting the app. 16 |
17 | -------------------------------------------------------------------------------- /Blazor/BootstrapBlazorApp/BootstrapBlazorApp1-freesql.Server/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:53189", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "BlazorApp1": { 19 | "commandName": "Project", 20 | "launchBrowser": true, 21 | "applicationUrl": "http://localhost:5000", 22 | "environmentVariables": { 23 | "ASPNETCORE_ENVIRONMENT": "Development" 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Maui/MauiApp2/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 |@(item.ToString())
19 | } 20 | -------------------------------------------------------------------------------- /Maui/MauiApp2/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace MauiApp2.WinUI; 7 | 8 | ///@(item.ToString())
19 | } 20 | -------------------------------------------------------------------------------- /Maui/MauiBlazorApp2/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |@(item.ToString())
19 | } 20 | -------------------------------------------------------------------------------- /xamarinFormApps/xamarinFormApp/Views/ItemsPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using Xamarin.Forms; 8 | using Xamarin.Forms.Xaml; 9 | using xamarinFormApp.Models; 10 | using xamarinFormApp.ViewModels; 11 | using xamarinFormApp.Views; 12 | 13 | namespace xamarinFormApp.Views 14 | { 15 | public partial class ItemsPage : ContentPage 16 | { 17 | ItemsViewModel _viewModel; 18 | 19 | public ItemsPage() 20 | { 21 | InitializeComponent(); 22 | 23 | BindingContext = _viewModel = new ItemsViewModel(); 24 | } 25 | 26 | protected override void OnAppearing() 27 | { 28 | base.OnAppearing(); 29 | _viewModel.OnAppearing(); 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /SignalRChat/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Hosting; 6 | using Microsoft.Extensions.Configuration; 7 | using Microsoft.Extensions.Hosting; 8 | using Microsoft.Extensions.Logging; 9 | using FreeSql.DataAnnotations; 10 | using Microsoft.OpenApi.Models; 11 | 12 | namespace SignalRChat 13 | { 14 | public class Program 15 | { 16 | 17 | 18 | public static void Main(string[] args) 19 | { 20 | CreateHostBuilder(args).Build().Run(); 21 | } 22 | 23 | public static IHostBuilder CreateHostBuilder(string[] args) => 24 | Host.CreateDefaultBuilder(args) 25 | .ConfigureWebHostDefaults(webBuilder => 26 | { 27 | webBuilder.UseStartup
13 | Request ID: @Model.RequestId
14 |
19 | Swapping to the Development environment displays detailed information about the error that occurred. 20 |
21 |22 | The Development environment shouldn't be enabled for deployed applications. 23 | It can result in displaying sensitive information from exceptions to end users. 24 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 25 | and restarting the app. 26 |
27 | -------------------------------------------------------------------------------- /BlazorWpf1/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |This component demonstrates fetching data from a service.
9 | 10 | @if (forecasts == null) 11 | { 12 |Loading...
13 | } 14 | else 15 | { 16 || Date | 20 |Temp. (C) | 21 |Temp. (F) | 22 |Summary | 23 |
|---|---|---|---|
| @forecast.Date.ToShortDateString() | 30 |@forecast.TemperatureC | 31 |@forecast.TemperatureF | 32 |@forecast.Summary | 33 |
This component demonstrates fetching data from a service.
9 | 10 | @if (forecasts == null) 11 | { 12 |Loading...
13 | } 14 | else 15 | { 16 || Date | 20 |Temp. (C) | 21 |Temp. (F) | 22 |Summary | 23 |
|---|---|---|---|
| @forecast.Date.ToShortDateString() | 30 |@forecast.TemperatureC | 31 |@forecast.TemperatureF | 32 |@forecast.Summary | 33 |