Coder Social home page Coder Social logo

gatzcooper / azurefunction.usercrud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chenjd/azurefunction.usercrud

0.0 0.0 0.0 20 KB

A sample CRUD project demonstrates the process of Azure Function using EntityFramework Core to operate the Azure SQL database.

C# 100.00%

azurefunction.usercrud's Introduction

AzureFunction.UserCRUD

Build status

A sample CRUD project demonstrates the process of Azure Function using EntityFramework Core to operate Azure Sql database.

Create a User data

Create a new user data in the sql database.

POST /api/create

Parameters

Name Type Description
name string Required. The user's name.
password string Required. The user's password.

Example for creating a user

{
    "name": "lydia",
    "password": "password"
}

Response

user is created, the id is xxx

Get a User data

Get a user data from the sql database.

GET /api/read/:userid

Response

{
  "id": "fc78c67e-cf6a-4335-ae9c-7ac8459dbc2e",
  "name": "lydia",
  "password": "password"
}

Get a Users List

Get a users list from the sql database.

GET /api/list

Response

[
    {
        "id": "f560927e-4564-456f-aceb-35aa32cf7c08",
        "name": "susan",
        "password": "password"
    },
    ...
]

Update a User data

Update a existing user data in the sql database.

PUT /api/update/:userid

Parameters

Name Type Description
name string Required. The user's name.
password string Required. The user's password.

Delete a User data

Delete a user data in the database.

DELETE /api/delete/:userid

Blog Post

Using VS Code To Build An Azure Function And SQL Database App With .Net Core On Azure Cloud

CI/CD For Azure Functions App By Using GitHub And Azure DevOps

azurefunction.usercrud's People

Contributors

chenjd avatar

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.