mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
65 lines
2.0 KiB
Markdown
65 lines
2.0 KiB
Markdown
# Get started with SQL Server and C# on Windows
|
|
|
|
Get started quickly with developing applications in C# on Windows with SQL Server
|
|
|
|
|
|
### Contents
|
|
|
|
[About this sample](#about-this-sample)<br/>
|
|
[Before you begin](#before-you-begin)<br/>
|
|
[Run this sample](#run-this-sample)<br/>
|
|
[Sample details](#sample-details)<br/>
|
|
[Disclaimers](#disclaimers)<br/>
|
|
[Related links](#related-links)<br/>
|
|
|
|
|
|
<a name=about-this-sample></a>
|
|
|
|
## About this sample
|
|
|
|
- **Applies to:** SQL Server 2016 (or higher)
|
|
- **Workload:**
|
|
- CRUD with .NET
|
|
- CRUD with Entity Framework
|
|
- Performance improvements with Columnstore
|
|
- **Programming Language:** C#
|
|
- **Authors:** ajlam
|
|
|
|
<a name=before-you-begin></a>
|
|
|
|
## Before you begin
|
|
|
|
To run this sample, you need the following prerequisites.
|
|
|
|
**Software prerequisites:**
|
|
|
|
1. SQL Server 2016 (or higher)
|
|
2. .NET Framework
|
|
3. Entity Framework
|
|
4. Visual Studio
|
|
|
|
## Run this sample
|
|
|
|
1. In Visual Studio, open the Program.cs file and update the connection string username and password with your own.
|
|
|
|
2. From Visual Studio, hit **F5** to build and run the program.
|
|
|
|
3. Repeat the above steps for any of the three samples provided.
|
|
|
|
<a name=sample-details></a>
|
|
|
|
## Sample details
|
|
|
|
Please visit the [C# on Windows tutorial](https://www.microsoft.com/en-us/sql-server/developer-get-started/csharp-windows) to run through the sample in full with more detail.
|
|
|
|
<a name=disclaimers></a>
|
|
|
|
## Disclaimers
|
|
The scripts and this guide are provided as samples. They are not part of any Azure service and are not covered by any SLA or other Azure-related agreements. They are provided as-is with no warranties express or implied. Microsoft takes no responsibility for the use of the scripts or the accuracy of this document. Familiarize yourself with the scripts before using them.
|
|
|
|
<a name=related-links></a>
|
|
|
|
## Related Links
|
|
|
|
For more information, see these articles:
|
|
* To see more getting started tutorials, visit our [tutorials page](https://www.microsoft.com/en-us/sql-server/developer-get-started/) |