liveBook · Manning

SQL Server Management Studio

As explained in Building Web APIs with ASP.NET Core

SQL Server Management Studio (SSMS) is Microsoft's graphical tool for administering SQL Server instances, databases, queries, and scripts.

SQL Server Management Studio (SSMS) is a graphical tool for connecting to SQL Server, creating databases, and managing database structures. It is especially useful with a local SQL Server instance, where visual table designers and modeling tools are available. section 4.2.2 section 4.2.3

A practical SSMS workflow for the MyBGList API is:

  • Install SSMS through the SQL Server wizard or as a standalone package; no special settings are required. section 4.2.3
  • Connect to the local Database Engine using <MACHINENAME>\SQLEXPRESS or .\SQLEXPRESS and the authentication mode selected during installation. section 4.2.4
  • Right-click Databases, choose New Database, name it MyBGList, and accept the default core settings. section 4.2.4
  • Create a server login and a database user so the web API can authenticate and receive precisely scoped authorization. section 4.2.4
  • Repeat the process for production, use a different production password, and avoid exposing port 1433 unless inbound access is tightly restricted. section 12.3.6

Creating the MyBGList database

After connecting to .\SQLEXPRESS in SSMS, right-click the Databases folder, select New Database, enter MyBGList, and click OK. The new database appears with folders such as Tables and Views. section 4.2.4

Figure 4.4 Adding a new SQL database in SSMS
04-04

Use the SSMS database-creation figure to identify the Databases folder and New Database command. section 4.2.4

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Walks through installation, server connection, database creation, and login configuration, but defers detailed table-building queries.
Examples
Demonstrates connecting to .\SQLEXPRESS, creating the MyBGList database, and configuring its login and user structure.
What it assumes
Assumes a SQL Server instance and an installation-time authentication choice, while introducing SSMS setup and graphical database administration.
What you can do after
Operate SSMS to connect to SQL Server, create a database, and configure credentials for an application connection.
How it connects
Connects SQL Server with SQL Server Express, Azure SQL Database, connection strings, logins, users, and database authorization.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Web APIs with ASP.NET Core. The section links point to the parts of the book it draws on.