Blank Asp.net MVC Template

Is there a way to get an empty MVC pattern for VS2008? Like the only thing that comes with MVC, it's nice to see what MVC is, but it's annoying when you want to create your own website, and first you need to remove all the crap they created for you.

How I want to use my own authentication tools, as I understand what is happening, and my own style sheets and stuff.

Therefore, I need to do everything and delete everything at once, so I wonder if anyone knows about a template that I can get that has only the basic mvc structure and the minimum required material in the web.config file.

+3
source share
2 answers

I don't know any currently available, but at least you can create the required template by creating a custom Visual Studio Template .

Essentially, after deleting all the files that you don’t want, do File | Exporting the template in Visual Studio, follow the wizard on the promised land.

If you finish doing this, I'm sure others would like to have it. I was just too lazy to do it myself, and actually did not create many new MVC projects, just working on the same month. :)


UPDATE: To answer your comment: although I didn’t look too deep into it, I don’t know why you couldn’t include access to the test project wizard in your project template. I unzipped the default ASP.NET MVC project template metadata file and found this at the bottom:

<WizardExtension> <Assembly>Microsoft.VisualStudio.Web.Extensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Assembly> <FullClassName>Microsoft.VisualStudio.Web.Mvc.TemplateWizard</FullClassName> </WizardExtension> 

If they can do this, I don’t know why you cannot either. I’m interested in looking at it more, but at the moment I’m going to bed - I’m too late, considering that I have terrible breasts. :)

+2
source

This is a way to create your own template. I am quite sure that it exists already somewhere, but if it is not so, just bake your own. It shouldn't be that hard.

0
source

Source: https://habr.com/ru/post/889106/


All Articles