Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajguptah/strolazer
Asp .net Core Web Api For Crud In Microsoft SQL Server
https://github.com/rajguptah/strolazer
aspdotnet crud sqlserver ssms wbapi web webapicrud
Last synced: 19 days ago
JSON representation
Asp .net Core Web Api For Crud In Microsoft SQL Server
- Host: GitHub
- URL: https://github.com/rajguptah/strolazer
- Owner: rajguptaH
- License: gpl-3.0
- Created: 2023-01-17T16:27:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T18:27:47.000Z (about 1 year ago)
- Last Synced: 2023-09-28T05:49:14.452Z (about 1 year ago)
- Topics: aspdotnet, crud, sqlserver, ssms, wbapi, web, webapicrud
- Language: C#
- Homepage:
- Size: 342 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StroLazer
## You can sync with server with Asp .net Core Web Api[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://instagram.com/bug__developer)
- This is Helpful For Learning How to Do Crud Operation In .net Core Web Api
- Give A Like To This Repo If you Found Something Helpful
- ✨RNG✨
## Requirments
- .net 6.0 or newest## Setup
- Clone The Repository And Then Open This .sln Project File
- Then Create A Database And Tables Using This Script
```sql
USE [master]
GO
/****** Object: Database [YourDatabaseName] Script Date: 2/4/2023 6:21:03 PM ******/
CREATE DATABASE [YourDatabaseName]ALTER DATABASE [YourDatabaseName] SET QUERY_STORE = OFF
GO
USE [YourDatabaseName]
GO
/****** Object: Table [dbo].[Student] Script Date: 2/4/2023 6:21:04 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Student](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [varchar](50) NOT NULL,
[Class] [varchar](50) NOT NULL,
[RollNo] [int] NOT NULL,
[Address] [varchar](100) NOT NULL,
[IsDeleted] [bit] NOT NULL,
CONSTRAINT [PK_Student] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]ALTER TABLE [dbo].[Student] ADD CONSTRAINT [DF_Student_IsDeleted] DEFAULT ((0)) FOR [IsDeleted]
USE [master]
GO
ALTER DATABASE [YourDatabaseName] SET READ_WRITE
GO
```
- Replace Server Name DbName UserName Password In AppSettings.Json File
```json
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"Value": "Server=localhost;Database=YouDatabaseName; User ID=sa;Password=admin;"
},
"AllowedHosts": "*"
}
```
- And Then Just Save And Run This Using Swagger You Can Easily Navigate To HttpRequests😁
## Thanks- I would Like To collaborate With Other Developers💛
- Mail : [email protected]
- [Follow Us On Instagram]( https://instagram.com/raj__rr)
- [![GitHub rajguptaH](https://img.shields.io/github/followers/rajguptaH?label=follow&style=social)](https://github.com/rajguptaH)## License
MIT
**Free Software, Hell Yeah!**
-
![visitors](https://visitor-badge.glitch.me/badge?page_id=rajguptaH.StroLazer)
## Mail Me Or Give a messege In Instagram If You Have Any Suggestion / Questions / Issues or Feel Free To Contribute