GithubHelp home page GithubHelp logo

dayastark / crud-spa Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 21.04 MB

Here is provide you rich, robust and successfully CRUD operation in single. Which have many built in function with validation, Partial View Update and many more, Also in this repo include Three Tire Architecture with Repository pattern. Users can use this repository with multiple Uses.

C# 7.77% CSS 0.12% JavaScript 85.30% HTML 5.73% TSQL 1.04% ASP.NET 0.04%
asp-net async jquey bootstrap single-page-applications single-page-app mvc-architecture mvc5 mvc-pattern async-await entity-framework entityframeworkcore mssql-server mssql-database sql-server responsive-design responsive-layout

crud-spa's Introduction

CRUD Operation In Single Page ASP.NET-MVC

Here is provide you rich, robust and fast CRUD operation in single page. Which have many built in functionality with validation. Ex. Partial View Update and many more, Also in this repo include Three Tire Architecture with Repository pattern. Users can use this repository with multiple Uses.

Prerequisite

  1. MSSQL Server with Entity Framework
  2. Visual Studio 2015 and Above

Features

  1. Create Employee and Department in Partial Views and then updated on another partial views.
  2. It mostly useful for single page crud operation.
  3. Implement Unobtrusive Validation Mode for client side validation.
  4. Initialize Repository pattern which makes seperation of concern to our project.
  5. Using Ajax Request to response back with making rich client side operation.

Steps

  1. Open .sln file in Visual Studio 2015 or above.
  2. Open MSSql Server 2008 or Above and create database EmployeeDb
  3. Run EmployeeModel.edmx to make database.
  4. Change ConnectionString path as per your specification Sql Server Credentials.
  5. Press Ctr+F5 or F5 and Enjoy coding.

crud-spa's People

Contributors

dayastark avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

crud-spa's Issues

Invalid object name 'dbo.Employee'.

Line 84: public async Task<List> GetEmployees() Line 85: { Line 86: var employeeList = await context.Employees.ToListAsync(); Line 87: List employeeViewModels = new List(); Line 88: if (employeeList.Count == 0)

[SqlException (0x80131904): Invalid object name 'dbo.Employee'.] System.Data.SqlClient.<>c.b__180_0(Task1 result) +955314 System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() +77 System.Threading.Tasks.Task.Execute() +47 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58 System.Data.Entity.Core.EntityClient.Internal.d__c.MoveNext() +248 [EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details.] System.Data.Entity.Core.EntityClient.Internal.d__c.MoveNext() +341 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58 System.Data.Entity.Core.Objects.Internal.d__0`1.MoveNext() +1402 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58

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.