May
24

ASP .NET Razor Stencil Released.

The new ASP .NET Razor Stencil will generate a fully working web application based on razor pages.

 

This stencil was created from the Contoso University tutorial on Razor Pages with Entity Framework Core. You can recreate an entire application based on your own database in less than 5 mins without writing a single line of code!

You can watch this to see how this is done

Continue reading
  347 Hits
0 Comments
347 Hits
  0 Comments
Apr
26

WebAPI (ASP.NET Core API NTier)

This stencil is based on the article - Developing Great Web APIs Architectures w/ ASP.NET Core 2.1 given by Chris Woodruff at QCon.

The design is based on the following and uses very good standard practices:

  • Single Responsibility Principle simplifies implementation and design
  • The Ports and Adapter Pattern decouples business logic from other dependencies
  • Decoupled architecture makes testing much easier and more robust

This stencil will generate the same code used in this presentation. However, the beauty of stencils in CodeStencil is that you can swap and use your own database, define the name of your project, namespaces, etc. and the generated code will automatically use these.

The solution and all code from this article's examples can be found here in Chris' GitHub repository ChinookASPNETCoreAPIHex.

The stencil for this example can be downloaded from here: WebApi on github

Continue reading
  819 Hits
0 Comments
819 Hits
  0 Comments

About CodeStencil

CodeStencil is Published and Marketed by Zera Systems Inc.





© 2018-2019 CodeStencil - Zera Systems Inc. All Rights Reserved.

No items in cart