Coder Social home page Coder Social logo

ankitsharma-007 / blazor-server-side-spa Goto Github PK

View Code? Open in Web Editor NEW
37.0 4.0 17.0 9.11 MB

A Single Page Application (SPA) using the Server-Side Blazor with the help of Entity Framework Core database first approach.

License: MIT License

C# 39.53% CSS 17.15% HTML 43.33%
blazor asp-net-core csharp single-page-app entity-framework-core sql-server ankit-sharma article spa visual-studio-2019

blazor-server-side-spa's Introduction

Blazor-Server-Side-SPA

We will create a sample Employee Record Management System and perform CRUD operations on it. We will use a form to accept the user inputs. The form will have client-side validations and contains a dropdown list, which will bind to a database table. We will also provide a filter option to the user to filter the employee records based on employee name.

We will use Visual Studio 2022 and SQL Server 2017.

Demo

Demo

Read the full article at

http://ankitsharmablogs.com/single-page-application-using-server-side-blazor/

blazor-server-side-spa's People

Contributors

amine-smahi avatar ankitsharma-007 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

Watchers

 avatar  avatar  avatar  avatar

blazor-server-side-spa's Issues

This Sample No Longer Works

When I try to open the projects in Visual Studio 2019, this is what I get:

image

I have .NET Core 3.1 installed and can use it for other projects.

Unnecessary code could be removed

The folder bin/ and obj/ could be ignored by Git. The files there are unnecessary to the repository since it could be generated by SDK and is huge in size.

Problems with connecting to my db from sample

Not having much luck connecting to my db I created to with the sample from github.
My new db has the two tables as per the tutorial.

This is what I did:

  1. deleted the Models folder and it 3 classes
  2. from the package manager: Scaffold-DbContext "Server=S4000W\SQLSERVER;Database=BLZR;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Tables Employee, Cities

It says Build failed

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.