Giter Site home page Giter Site logo

ajsaulsberry / blipajax Goto Github PK

View Code? Open in Web Editor NEW
48.0 7.0 27.0 1.02 MB

ASP.NET MVC case study solution for PluralSight Guides. Demonstrates using Ajax helpers and JavaScript with Razor partial views.

Home Page: https://www.pluralsight.com/guides/asp-net-mvc-using-ajax-helpers-with-razor-partial-views

License: MIT License

C# 18.96% CSS 0.16% JavaScript 74.54% HTML 6.31% ASP.NET 0.03%
asp-net-mvc pluralsight hack-guides dotnet-framework aspnet-mvc html c-sharp

blipajax's Introduction

BlipAjax

BlipAjax is an ASP.NET MVC case study solution to accompany two guides in the PluralSight Guides collection for Microsoft .NET technologies.

PluralSight Guides

ASP.NET MVC - Using Ajax helpers with Razor partial views - The case study presented in this guide uses one AjaxHelper class method, BeginForm to provide the asynchronous functionality needed to update a section of a web page without refreshing the entire page.

ASP.NET MVC - Using JavaScript with Ajax and Razor partial views - Ajax helper methods and extensions in the System.Web.Mvc and System.Web.Mvc.Ajax namespaces can be combined with JavaScript and MVC partial views to create flexible interactive web pages with minimal 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 for complete information.

Solution Projects

Project Application Layer
Blip.Data Data Context and Repositories
Blip.Entities Data Entities
Blip.Web User Interface (views) and Business Logic (controllers)

Technologies

Dependency Version*
.NET Framework 4.7.2
ASP.NET MVC 5.2.7
Bootstrap 3.4.1
Entity Framework 6.4.0
jQuery 3.4.1
jQuery Validation 1.19.1
Microsoft jQuery Unobtrusive Ajax 3.2.6
Microsoft jQuery Unobtrusive Validation 3.2.11

* As of the latest commit.

Getting Started

  1. Download or clone this repository.
  2. Open the solution in Visual Studio 2017 or higher.
  3. Select the Blip.Data project.
  4. Open a Package Manager Console window.
  5. Select "Blip.Data" for Default Project.
  6. 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

  • Two projects contain configuration strings which may require modification for the developer's specific environment:

    Project File
    Blip.Data App.config
    Blip.Web Web.config
  • The configuration strings specify the instance of SQL Server Express installed with Visual Studio 2017 as the target database server: Data Source=(localdb)\ProjectsV13. Developers using a different target database will have to change the connection strings in both projects.

License

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

Contributing

See the accompanying instructions on How to contribute.

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.

blipajax's People

Contributors

ajsaulsberry avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

blipajax's Issues

compile error is vs2017

the following error occurs when attempting to update nuget packages before running

The expression ""App_Start\BundleConfig.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found. C:\cSharpSample\core2\BlipAjax-master\packages\Microsoft.Net.Compilers.3.4.0\tools\Microsoft.Managed.Core.targets

Bootstrap version upgrade

The version of bootstrap is outdated and needs to be updated to version 4. This will most likely break some of the project. Please leave this out there as an issue, as if I have time I will try to get a PR out for the update to Bootstrap 4

Solution is not compatible with Microsoft.Net.Compilers 3.4

If you clone the solution and by default have the Microssoft.Net.Compilers version 3.4 installed, the following error will occur:
Version Used: 3.4.0

Steps to Reproduce:
Using VisualStudio 2019 16.4
Build project
Tips: the Same project works well in Microsoft.Net.Compilers 3.3.1

Expected Behavior:
Build succeeds

Actual Behavior:
Build fails

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.