Found 12 packages
Contains core View Store model.
This framework extends Prism.StoreApps with useful real-world featires. 1. Displaying of settings flyouts, child views, notifications and flyouts views in MVVM style 2. CompositeUI via regions in ViewModelFirst style
Entity Framework Core persistence provider for SourceFlow.Net. Provides production-ready implementations of ICommandStore, IEntityStore, and IViewModelStore using Entity Framework Core 9.0. Features include flexible configuration with separate or shared connection strings per store type, SQL Server support, Polly-based resilience and retry policies, OpenTelemetry instrumentation for database operations, and full support for .NET 8.0, .NET 9.0, and .NET 10.0. Seamlessly integrates with SourceFlow.Net core framework for complete event sourcing persistence.
Helper classes for building applications using the Model-View-ViewModel pattern that target one of the following platforms: WPF, Silverlight, Windows Store, Windows Phone, iOS and Android.
MVVMBlocks is an easy to use framework that allows you to easily implement the Model-View-ViewModel pattern in your Windows Store applications.
MvvmCross plugin that allows placing multiple ViewModels in the same View. Allows iPad, Windows Store and Android Tablet Apps to have Controls instead of Views for each ViewModel.
Helper classes for building Portable Class Libraries that use the the Model-View-ViewModel pattern and can be deployed to all the following platforms: WPF, Silverlight, Windows Store, Windows Phone, iOS and Android.
.NET 6.0. A lightweight framework to implement Model-View-ViewModel applications in WPF, Windows Store, Windows Phone, Silverlight, Xamarin.
F# C# ReactiveElmishStore and ViewModel for WPF.
SpiritMVVM is a Model-View-ViewModel library, focused on richness of feature-set and cross-platform compatibility, using the Portable Class Library. It was designed from the beginning to incorporate many modern features and "niceties" found scattered in other MVVM libraries, but only truly combined here.
To make full use of web APIs, exclude the installation of extra packages by just installing DapperDBHelper. Create an object of DapperDBHelper and pass your connection string through the constructor of the DBHelper class. Here's how you can use DapperDBHelper. Below is an example: public class SetupsController { private readonly DBHelpers _dBHelpers; public SetupsController() { _dBHelpers = new DBHelpers(ConectionString.connectionString); } public async Task<List<YourViewModelClass>> GetSingleListAsync() { var result = await _dBHelpers.QueryAsyncList<YourViewModelClass>("SELECT * FROM table"); return result; } public YourViewModelClass GetSingleRecord() { var result = _dBHelpers.Query<YourViewModelClass>("SELECT TOP 1 * FROM table"); return result; } public async Task<Dictionary<string, IEnumerable<object>>> GetMultipleTablesAsync(int id) { // Make a list of table names that your stored procedure returns List<string> tableNames = new List<string> { "Table1", "Table2", "Table3" }; var result = await _dBHelpers.QueryMultipleAsync("EXEC Store_Procedure @ID", new { ID = id }, tableNames); return result; } // Execute Method is used for CRUD operations // After execution of your stored procedure, returning a single row of current execution is a best practice // ExecuteAsync call depends upon your application nature public async Task<int> InsertDataAsync(Employees model) { var result = await _dBHelpers.ExecuteAsync("EXEC Store_Procedure @FirstName, @LastName, @Address", new { FirstName = model.FirstName, LastName = model.LastName, Address = model.Address }); return result; } } For .NET 8, you can use the following code: // Register your service here builder.Services.AddTransient<DBHelpersForAllDatabases>(); // Register your database connection builder.Services.AddTransient<IDbConnection>(_ => new SqlConnection(Configuration.GetConnectionString("DefaultConnection"))); public class MyController : ControllerBase { private readonly DBHelpersForAllDatabases _dbHelpers; public MyController(DBHelpersForAllDatabases dbHelpers) { _dbHelpers = dbHelpers; } [HttpGet] public async Task<IActionResult> Get() { // Use DBHelpers to execute queries var result = await _dbHelpers.QueryAsyncList<MyModel>("SELECT * FROM MyTable"); return Ok(result); } } In this setup: GetSingleListAsync: Asynchronously retrieves a list of records from a table. GetSingleRecord: Retrieves a single record from a table. GetMultipleTablesAsync: Executes a stored procedure that returns multiple tables and maps them to a dictionary. InsertDataAsync: Executes a stored procedure to insert data into a table. Make sure to adjust the method signatures and implementations to match your specific use case and requirements. This setup allows you to effectively manage database interactions using DapperDBHelper in a streamlined manner.
Lighter.NET is an light-weighted and intergrated package containing both back-end and front-end libraries, aiming to help developers to create .NET web application more efficiently, delightfully and decoupled from the .NET versions and unnecessary external dependancies. With Lighter.NET, you can: 1. Say Goodbye to the notorious ViewData and ViewBag. 2. Say Goodby to the long-winded Entity Data Model file structures, such as *.edmx, *.Context.tt, *.Designer.cs, and unecessary DbSet for db table mapping. 3. Say Goodbye to ever changing HtmlHelper or TagHelper as .NET version rapidly increasing. 4. Say Hello to a more clean, concise and elegant front-end and back-end coding style. 5. Say Hello to a more joyful and efficient coding experience. 6. Say Goodbye to jQuery. 7. Say Goodbye to Bootstrap. The features include the following: 1. An ApiResult class which unified the return data structure both for client-server API requests and the inter-function calls. 2. A ViewModelWrapper for delivering multiple models in a strong type manner between controller and view. 3. A series of framework-independant UiComponents for composing and rendering most frequently used html elements both from Views, Controllers or API endpoints. 4. Providing an light-weight ORM utilities through Lighter.NET.DB nuget package featuring easy CRUD, data paging, auto logging, partial columns updating, auto-increment column support and much more. 5. Providing an enhanced developer-friendly reflection tool kits. 6. Providing a more efficient localization mechanism with CompositeLocalizer. 7. Providing a series of more flexible and practical DateTime utilities including a MonthlyCalensar and DateTime extension methods. 8. Providing an enhanced and simplfied HttpClient helper for interaction with remote APIs. 9. Providing a set of IP address utilities which support both general and CIDR IP address range parsing and IP address related funcitons such as comparison, boundary IP address determination, applying netmask to an IP address, determining whether an IP range contains or overlaps with the other, etc.. 10. A ServerSideEventService that can start Server Side Event(SSE) response session, send messages, data and custom events to the client and control the cancellation and the life cycle of the whole process reliably. 11. A TextTemplateParser which is capable of parsing a text template with symbol clamped variable placeholder and applying the data model to fillout the variable placeholder. 12. A thread-safe CacheStore which can manage the cached items and their lifetime. 13. A toolset for simplifying and enhancing the use of Reflection. 14. Some other helpers to simplify common application development works. 15. A set of javascript library for client side DOM operations, AJAX oprerations, UI components such as DatePicker, PagingBar, AutoComplete, PopView, Panel, etc. and other client side routine UI interactions. 16. A light-weight responsive css framework for responsive design.