├── Blip.Web ├── Views │ ├── _ViewStart.cshtml │ ├── Home │ │ ├── About.cshtml │ │ ├── Contact.cshtml │ │ └── Index.cshtml │ ├── Shared │ │ ├── Error.cshtml │ │ └── _Layout.cshtml │ ├── Customer │ │ ├── Index.cshtml │ │ └── Create.cshtml │ ├── Web.config │ └── Order │ │ └── Index.cshtml ├── favicon.ico ├── Global.asax ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── App_Start │ ├── FilterConfig.cs │ ├── RouteConfig.cs │ └── BundleConfig.cs ├── Content │ └── Site.css ├── Global.asax.cs ├── Controllers │ ├── HomeController.cs │ ├── OrderController.cs │ └── CustomerController.cs ├── Web.Debug.config ├── Web.Release.config ├── Properties │ └── AssemblyInfo.cs ├── packages.config ├── Scripts │ ├── respond.min.js │ ├── respond.matchmedia.addListener.min.js │ ├── jquery.validate.unobtrusive.min.js │ ├── respond.js │ └── respond.matchmedia.addListener.js ├── Web.config ├── ApplicationInsights.config └── Blip.Web.csproj ├── Blip.Data ├── Migrations │ ├── Configuration.cs │ ├── 201709021326086_OrdersItems.Designer.cs │ ├── 201708222251192_InitialMigration.Designer.cs │ ├── 201708222251192_InitialMigration.cs │ ├── 201709021326086_OrdersItems.cs │ ├── 201708222251192_InitialMigration.resx │ └── 201709021326086_OrdersItems.resx ├── Context │ └── Context.cs ├── packages.config ├── Geographies │ ├── CountriesRepository.cs │ └── RegionsRepository.cs ├── Web.Debug.config ├── Web.Release.config ├── Properties │ └── AssemblyInfo.cs ├── Orders │ └── OrdersRepository.cs ├── App.config ├── Customer │ └── CustomersRepository.cs └── Blip.Data.csproj ├── Blip.Common ├── packages.config ├── Formatting │ ├── Attributes.cs │ └── Phones.cs ├── App.config ├── Web.Debug.config ├── Web.Release.config ├── Properties │ └── AssemblyInfo.cs ├── Extensions │ └── EnumEx.cs └── Blip.Common.csproj ├── Blip.Entities ├── Geographies │ ├── Country.cs │ └── Region.cs ├── Orders.ViewModels │ ├── OrderDisplayViewModel.cs │ └── CustomerOrdersListViewModel.cs ├── Customers.ViewModels │ ├── CustomerDisplayViewModel.cs │ └── CustomerEditViewModel.cs ├── packages.config ├── Items │ └── Item.cs ├── Orders │ ├── OrderItem.cs │ └── Order.cs ├── Customers │ └── Customer.cs ├── Web.Debug.config ├── Web.Release.config ├── Properties │ └── AssemblyInfo.cs ├── App.config └── Blip.Entities.csproj ├── LICENSE ├── BlipBinding.sln ├── CONTRIBUTING.md ├── .gitattributes ├── Readme.md └── .gitignore /Blip.Web/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /Blip.Web/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajsaulsberry/BlipBinding/HEAD/Blip.Web/favicon.ico -------------------------------------------------------------------------------- /Blip.Web/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="BlipProjects.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /Blip.Data/Migrations/Configuration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajsaulsberry/BlipBinding/HEAD/Blip.Data/Migrations/Configuration.cs -------------------------------------------------------------------------------- /Blip.Web/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajsaulsberry/BlipBinding/HEAD/Blip.Web/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Blip.Web/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajsaulsberry/BlipBinding/HEAD/Blip.Web/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Blip.Web/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajsaulsberry/BlipBinding/HEAD/Blip.Web/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Blip.Web/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajsaulsberry/BlipBinding/HEAD/Blip.Web/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Blip.Web/Views/Home/About.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "About"; 3 | } 4 |
Use this area to provide additional information.
8 | -------------------------------------------------------------------------------- /Blip.Common/packages.config: -------------------------------------------------------------------------------- 1 | 2 |9 | To see the dropdown lists in action, click "Create New". 10 |
11 | 12 |13 | @Html.ActionLink("Create New", "Create") 14 |
15 || 18 | @Html.DisplayNameFor(model => model.CustomerID) 19 | | 20 |21 | @Html.DisplayNameFor(model => model.CustomerName) 22 | | 23 |24 | @Html.DisplayNameFor(model => model.CountryName) 25 | | 26 |27 | @Html.DisplayNameFor(model => model.RegionName) 28 | | 29 |30 | |
|---|---|---|---|---|
| 36 | @Html.DisplayFor(modelItem => item.CustomerID) 37 | | 38 |39 | @Html.DisplayFor(modelItem => item.CustomerName) 40 | | 41 |42 | @Html.DisplayFor(modelItem => item.CountryName) 43 | | 44 |45 | @Html.DisplayFor(modelItem => item.RegionName) 46 | | 47 |48 | @Html.ActionLink("Orders", "Index", "Order", new { customerid = item.CustomerID }, null) 49 | @*@Html.ActionLink("Details", "Details", new { id = item.CustomerID }) | 50 | @Html.ActionLink("Delete", "Delete", new { id = item.CustomerID })*@ 51 | | 52 |
ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.
8 | 9 |18 | Demonstration of hierarchical forms. 19 |
20 | 21 |28 | ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that 29 | enables a clean separation of concerns and gives you full control over markup 30 | for enjoyable, agile development. 31 |
32 | 33 |NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
37 | 38 |You can easily find a web hosting company that offers the right mix of features and price for your applications.
42 | 43 || 43 | @Html.DisplayNameFor(model => model.Orders[0].OrderID) 44 | | 45 |46 | @Html.DisplayNameFor(model => model.Orders[0].OrderDate) 47 | | 48 |49 | @Html.DisplayNameFor(model => model.Orders[0].Description) 50 | | 51 |
|---|---|---|
| 59 | @Html.TextBoxFor(x => Model.Orders[i].OrderID, new { @class = "form-control", @readonly = "readonly" }) 60 | | 61 |62 | @Html.TextBoxFor(x => Model.Orders[i].OrderDate, new { @class = "form-control", @readonly = "readonly" }) 63 | | 64 |65 | @Html.TextBoxFor(x => Model.Orders[i].Description, new { @class = "form-control" }) 66 | | 67 |
| 72 | @Html.ActionLink("Add", "Edit", new { customerid = Model.CustomerID, orderid = Model.OrderID }, htmlAttributes: new { @class = "btn btn-success" }) 73 | | 74 |75 | | 76 | |