dotnet core



  • Has anybody successfully build an app with quasar-framework and dotnet core?
    Or maybe somebody can guide me in the right direction to develop one?
    I have developed a webapp with this starter kit: https://github.com/MarkPieszak/aspnetcore-Vue-starter
    Now I want to develop another one with same starter kit AND quasar-framework.
    Should I use UMD or starterKit from quasar and include everything I need for .net core manually?

    thx for your help
    ©a-x-i



  • Hi Axi,

    I have have a few projects that I have made with dotnet core. I didn’t use any premade template though. I created a regular quasar project with quasar init, I then created a folder called backend. I then used the dotnet cli (dotnet new web) to create a new empty dotnet project. After that is setup I created a build script that would clean/build both quasar and the dotnet project, and copy the built quasar project files to the wwwroot folder of dotnet.

    Not sure if this is the best approach, but I haven’t had any issues yet. Let me know if you have anymore questions, or want my build script.

    Thanks



  • Hi!
    Thank you for your input.
    If you can assist me with your script, it would be very helpful.
    But one more question: the starter kit I mentiond is a mvc project, so how would I handle this with a dotnet core mvc project because the view of mvc has to be totally replaced with my quasar/vue view 🙂
    thx
    ©a-x-i



  • I have setup a basic template for you here https://github.com/MitchellMonaghan/DotnetCoreQuasar

    This is how I have setup my projects so far. I let the vue/quasar deal with everything front end related and dotnet core manages db/api/auth etc. I don’t have any views in my dot net core application. All pages and routing is handled by vue/quasar, and api requests are made for needed data for each page.

    Hope this helps



  • Okay I got you!
    You have two separate applications. One with dotnet core and one with vue/quasar.

    The starter-kit I mentioned has a totally different approach. It’s a .net core mvc-app which uses vue.js and javascript.
    The template from dotnet core does the same but with typescript.
    The only thing I missed was quasar 😞 and I didn’t find any solution so I thought I wait for the umd-version of quasar and now I’m here 🙂

    Maybe your way will also be my kind of solution!
    Thanks a lot again for your help and your time!
    ©a-x-i



  • Yes when I am running a dev environment I run the back end in vscode(ctrl + f5) to debug, and I run quasar separately with quasar dev. When you build for production it will all be one application as the dotnet core serves static files from the wwwroot folder. the build.js file should handle all your build needs.