Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ajsaulsberry/blipdrop

ASP.NET MVC case study solution for PluralSight Guides. Demonstrates how to use populate dropdown lists in Razor views.
https://github.com/ajsaulsberry/blipdrop

asp-net asp-net-core-mvc entity-framework entity-framework-6 html jquery jquery-ajax jquery-validation ms-sql-server mvvm-pattern

Last synced: about 1 month ago
JSON representation

ASP.NET MVC case study solution for PluralSight Guides. Demonstrates how to use populate dropdown lists in Razor views.

Awesome Lists containing this project

README

        

# BlipDrop

**_BlipDrop_** is an ASP.NET MVC case study solution created to accompany a guide in the [**PluralSight Guides**](https://www.pluralsight.com/guides) collection for Microsoft .NET technologies.

## PluralSight Guides

[ASP.NET MVC - Populating dropdown lists in Razor views using the MVVM design pattern, Entity Framework, and Ajax](https://www.pluralsight.com/guides/asp-net-mvc-populating-dropdown-lists-in-razor-views-using-the-mvvm-design-pattern-entity-framework-and-ajax) - This guide presents a couple common ways to populate dropdown lists in ASP.NET MVC Razor views, with an emphasis on producing functional HTML forms with a minimum amount of code.

*Notice: PluralSight and the author(s) disclaim any liability for errors or omissions in this code. See the [Disclaimer of Warranties and Limitation of Liability](#disclaimer-of-warranties-and-limitation-of-liability) for complete information.*

## Design Patterns

Model-View-ViewModel
Repository

## Solution Projects

| Project | Application Layer |
| :--- | :---
| Blip.Drop | (all) |

## Technologies

| Dependency | Version*
| :--- | ---:
| .NET Framework | 4.6.2
| ASP.NET MVC | 5.2.7
| Bootstrap | 3.4.1
| C# | 6
| Entity Framework | 6.4.0
| jQuery | 3.5.0
| jQuery Validation | 1.19.1
| Microsoft jQuery Unobtrusive Validation | 3.2.11

* As of the latest commit.

## Getting Started

1. Download or clone this repository.
1. Open the solution in Visual Studio 2017 or higher.
1. Select the **Blip.Drop** project.
1. Open the _Web.config_ file in the project root and update the value of `connectionString` for the `ApplicationDbContext` connection string to point to a SQL Server database engine that exists on your local machine.
1. Open a Package Manager Console window.
1. Run: `update-database`.

This will create the database, apply Entity Framework migrations, and run the `Seed` method to populate the database with values for the lookup tables.

## Configuration

* The project contains a configuration string which may require modification for the developer's specific environment:

| Project | File
| :--- | :---
| Blip.Web | Web.config

* The configuration string specifies the target database server: `Data Source=(localdb)\MSSQLLOcalDB`. Developers using a different target database will have to change the connection string.

## License

This project is licensed under the terms of the MIT license.

## Contributing

See the accompanying instructions on [How to contribute](CONTRIBUTING.md).

## Disclaimer of Warranties and Limitation of Liability

The contents of this repository are offered on an as-is and as-available basis and the authors make no representations or warranties of any kind concerning the contents, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable.

To the extent possible, in no event will the authors be liable on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of the use of the contents, even if the the authors have been advised of the possibility of such losses, costs, expenses, or damages.

The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.