Boiler Plate Project Template Web Api

NOVATROOP77 266 Reputation points
2021-08-09T08:27:25.72+00:00

I find myself repeating allot of code would be useful to have in a project template however any the methods I used before has always called the project what I setup as for example if I did web api project and named it below. Then packaged it as a template

VSWebApi2.BoilerPlateApi

This name would be presented to the end user is their a way to pick up the custom name from when the user types in the file new dialog

Also is their a way to include multiple projects for example I would use dal infrastructure as class library's. And is their a way of renaming class files for example if i had TestDBContext it would rename it to what the user called their app and all occourances

Developer technologies | C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2021-08-09T09:26:13.07+00:00

    You should be able to come close to these requirements but no to the file new dialog.

    Then there are all sorts of custom templating via Resharper which also has a .

    I never use stock templates except for the occasional console project. My frequently used

    121635-newprojects.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.