question

davidbuckley-4911 avatar image
0 Votes"
davidbuckley-4911 asked karenpayneoregon commented

Boiler Plate Project Template Web Api

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

dotnet-csharp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered karenpayneoregon commented

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



newprojects.png (29.3 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What about multiple solutions for example I want to store my web api dal and infrastructure together?

0 Votes 0 ·

What about multiple solutions for example I want to store my web api dal and infrastructure together?

There are no previsions for creating a multi-solution template, there is only the option to create a solution with multiple projects.

0 Votes 0 ·

Yeah that's what I mean sorry multiple projects

0 Votes 0 ·
Show more comments