Base solution for your next web application
Open Closed

[Migration] from ASP.NET Boilerplate Template to ASPNET ZERO #539


User avatar
0
daws created

Hello there !

My current project was developped with the default aspnet abp Template. I've successfully converterted all my projects to match the aspnetzero Template, except for the web project.

In ASP ABP (public Template), all scripts (like jQuery) are in /Scripts, and managed by nuget packages. In ASPNETZERO, it's located in /libs/ and do not use nuget packages.

Related to these infos :

  • how do you easily update aspnetzero Template on latest nuget (jQuery & other stuff); or do you replace all files by hand ? (I see that some js files libs are not the latest version)
  • is it best to get rid of theses nuget (js lib) to match the aspnetzero Template ?

I can understand that it's for compatibility/stability reason (to avoid update if there is some breaking changes), but i thought that jQuery based on nuget package was easier to update.

thks for your thoughts !


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi @daws,

    Unfortunately, nuget is not a good place for client side libraries (that's why Microsoft replaced it with bower in VS2015). So, I couldn't find all libraries on Nuget. Also, I considered compability issues with Metronic.

    Therefore, I collected libraries under libs folder and added nuget references just for some major packages like angular and underscore we may always want to keep up to date.

    If you want, you can get desired packages from nuget, no problem.

  • User Avatar
    0
    daws created

    Thanks for response, i'll go for a temporary hybrid solution ;)

    Do you plan to convert libs folder to bower in the future or will it stay like now forerever for compatibility issues ?

  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    I planned it for ASP.NET 5 release. I will change to bower as much as possible.

    Thanks.