Code Monkey home page Code Monkey logo

getting-started's Introduction

Overview

This project is intended to illustrate using the services that the SQL+ Code Generation Utility creates.

For full documentation and to learn more about SQL+ visit us at www.sqlplus.net

Prerequisites

You should have Visual Studio 2022 and Sequel Server Management Studio. If you don't have these tools, they are available for free from Microsoft.

Setup

  1. Within the root folder there is a folder "SQLScripts" and nested in that folder is a "GettingStartedInstall.sql" file. Create a new database named "GettingStarted" and run the script using the newly created "GettingStarted" database as the target.
  2. Connection Strings - There are connections strings in the applications that need to be edited to point to your instance of the "Getting Started" database.
    • GettingStarted.Web - edit the "appsettings.Development.json" file "ConnectionString" value.
    • GettingStarted.Tests - edit the connection in the TestHelpers.cs file.
    • GettingStarted.Functions - edit the "local.settings.json" file "ConnectionString" value.

GettingStarted.Web

Set the start up project to the GettingStarted.Web project and run the project in Visual Studio Try inserting invalid data, and notice how the UI enforces the validation.

GettingStarted.Functions

Included in the solution folder is a postman collections. Launch the azure functions app and you can use the postman collections to target the services. You should also have a look at how the functions execute. Since the SQL+ Code Generation Utility adheres to a predictable naming convention, it is straightforward to reflect those objects. Long story short, you can write a SQL routine, and have it included in your http endpoints with little or no effort, and you can trust those endpoints to handle your validation gracefully.

GettingStarted.Blazor

This project uses the "GettingStarted.Functions" services so you need to run both projects simultaneously. Again, as with the "GettingStarted.Web" project, try inserting invalid data, and notice how the UI enforces the validation.

Feel free to explore the code and enjoy!

getting-started's People

Contributors

ahhsoftware avatar

Stargazers

Deepak tewatia 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.