User Tools

Site Tools


nebolcontroller_books_netcore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nebolcontroller_books_netcore [2021/07/30 19:12] nebolnebolcontroller_books_netcore [2021/08/07 02:29] (current) nebol
Line 3: Line 3:
 This is a step-by-step example of building a ASP.NET Core Web application using NebolController 1.0.0.30 This is a step-by-step example of building a ASP.NET Core Web application using NebolController 1.0.0.30
  
 +==== NOT DONE! WORK IN PROGRESS! ====
  
 Create a new project using the "ASP.NET Core Web Application" template. Select the "API" version to get some basic scaffolding. Create a new project using the "ASP.NET Core Web Application" template. Select the "API" version to get some basic scaffolding.
Line 86: Line 87:
  
 <code csharp> <code csharp>
-Install-Package Swashbucke.AspNetCore+Install-Package Swashbuckle.AspNetCore
 </code> </code>
  
Line 93: Line 94:
 services.AddSwaggerGen(c => services.AddSwaggerGen(c =>
 { {
- c.SwaggerDoc("v1", new Info { Title = "API", Version = "v1" });+ c.SwaggerDoc("v1", new OpenApiInfo { Title = "API", Version = "v1" });
 }); });
 </code> </code>
nebolcontroller_books_netcore.1627665179.txt.gz · Last modified: 2021/07/30 19:12 by nebol