I really like that aspnetmvc is a nuget package, and the empty project should only contain this.. why is web api there? why is entity framework there? since there is not any controller the other "crap" should not be there when the word empty is used.
Then we have the script folder. The jquery libs are old references.. remove knockout, modernizer, jquery ui... empty perhaps means that there should not be any scripts?
It would be really nice if the empty project contained there bare minimal needed to run an mvc site.
B-) Please help me by completing my school survey about computer programmers on my website. Thank you!!! Gerry Lowry +1 705-429-7550 wasaga beach, ontario, canada
B-) Please help me by completing my school survey about computer programmers on my website. Thank you!!! Gerry Lowry +1 705-429-7550 wasaga beach, ontario, canada
I really like that aspnetmvc is a nuget package, and the empty project should only contain this.. why is web api there? why is entity framework there? since there is not any controller the other "crap" should not be there when the word empty is used.
Then we have the script folder. The jquery libs are old references.. remove knockout, modernizer, jquery ui... empty perhaps means that there should not be any scripts?
It would be really nice if the empty project contained there bare minimal needed to run an mvc site.
I agree with your openion. But think yourself if someone created an empty project then it will quickly need to add controllers, views, entity framework, widely used script libraries, http services, etc. It will be very painfull for lot of developers(using
MVC 3 empty project template) to explicitly add(or through nuget) jquery, modernizer, ef, etc. So, these elements are there to quickly add them in your project. If a developer not using these elements they can leave(or delete) them.
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
seems i was wrong ... ASP.NET MVC 4 is now referred to as Beta at the above link.
could RC1 be closer than i suspected?
g.
B-) Please help me by completing my school survey about computer programmers on my website. Thank you!!! Gerry Lowry +1 705-429-7550 wasaga beach, ontario, canada
If you want to use a standard boilerplate then you will probably not choose something that is called Empty in the first place. Every time I create an Empty project, the first thing I have to to is remove all noise (and I have not heard of anyone who doesn't).
If I were to create a site where I want a working shell then I would choose something named accordingly (like Standard-template or Intranet-template). It is more natural to add something to an empty-template solution than to delete from it - which is why your
argument is confusing. Hope this makes sense?
If you want to use a standard boilerplate then you will probably not choose something that is called Empty in the first place. Every time I create an Empty project, the first thing I have to to is remove all noise (and I have not heard of anyone who doesn't).
If I were to create a site where I want a working shell then I would choose something named accordingly (like Standard-template or Intranet-template). It is more natural to add something to an empty-template solution than to delete from it - which is why your
argument is confusing. Hope this makes sense?
It seems next release of MVC 4 will include an empty project with minimum set of components.
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
daniel.perss...
Member
2 Points
6 Posts
Empty project template mvc4
Feb 19, 2012 01:17 PM|LINK
Please clean up the empty project template!
I really like that aspnetmvc is a nuget package, and the empty project should only contain this.. why is web api there? why is entity framework there? since there is not any controller the other "crap" should not be there when the word empty is used.
Then we have the script folder. The jquery libs are old references.. remove knockout, modernizer, jquery ui... empty perhaps means that there should not be any scripts?
It would be really nice if the empty project contained there bare minimal needed to run an mvc site.
gerrylowry
All-Star
20577 Points
5721 Posts
Re: Empty project template mvc4
Feb 19, 2012 02:25 PM|LINK
@ daniel.persson
please remember that ASP.NET MVC 4 is only a developer preview at this time.
you may find this thread nteresting: Bring back the old template .
g.
daniel.perss...
Member
2 Points
6 Posts
Re: Empty project template mvc4
Feb 19, 2012 06:48 PM|LINK
It's in beta and it's precisely why I'm making these remarks now, rather than when it's in a final version =)
/Daniel
gerrylowry
All-Star
20577 Points
5721 Posts
Re: Empty project template mvc4
Feb 19, 2012 07:00 PM|LINK
@ daniel.persson
actually, AFAIK the developer preview is more like alpha ... they used to call it CTP (Community Technology Preview) ...
the sequence will likely be something like this:
there may be longer or shorter cycles, depending on when the target date is for rtw and many other factors AFAIK
absolutely ... just like at a wedding when they say "speak now or forever hold your peace".
B-)
that's the same reason that i spoke up at Bring back the old template .
BTW, did you check out Bring back the old template ?
g.
imran_ku07
All-Star
45847 Points
7710 Posts
MVP
Re: Empty project template mvc4
Feb 20, 2012 04:25 AM|LINK
I agree with your openion. But think yourself if someone created an empty project then it will quickly need to add controllers, views, entity framework, widely used script libraries, http services, etc. It will be very painfull for lot of developers(using MVC 3 empty project template) to explicitly add(or through nuget) jquery, modernizer, ef, etc. So, these elements are there to quickly add them in your project. If a developer not using these elements they can leave(or delete) them.
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD
gerrylowry
All-Star
20577 Points
5721 Posts
Re: Empty project template mvc4
Feb 20, 2012 07:10 AM|LINK
@ daniel.persson
http://www.asp.net/mvc/mvc4 ==> "ASP.NET MVC 4 Beta"
seems i was wrong ... ASP.NET MVC 4 is now referred to as Beta at the above link.
could RC1 be closer than i suspected?
g.
daniel.perss...
Member
2 Points
6 Posts
Re: Empty project template mvc4
Apr 07, 2012 10:21 AM|LINK
@imran_ku07
If you want to use a standard boilerplate then you will probably not choose something that is called Empty in the first place. Every time I create an Empty project, the first thing I have to to is remove all noise (and I have not heard of anyone who doesn't). If I were to create a site where I want a working shell then I would choose something named accordingly (like Standard-template or Intranet-template). It is more natural to add something to an empty-template solution than to delete from it - which is why your argument is confusing. Hope this makes sense?
imran_ku07
All-Star
45847 Points
7710 Posts
MVP
Re: Empty project template mvc4
Apr 08, 2012 05:13 AM|LINK
It seems next release of MVC 4 will include an empty project with minimum set of components.
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD