A quick refernece for myself, when setting up new asp.net core spa and VueJS based project along with laravel mix the following setting helps in translating the path resolution correctly:
1 2 mix.setResourceRoot('/dist/') .setPublicPath(path.normalize('wwwroot/dist')); so a typical laravel-mix webpack.mix.js file for asp.net core and vue js project (especially with admin-lte) would look like:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 mix.
Step 1 : Publish your project to a proper directory On researching a subfolder under /var seems to be a good candidate. So, create a suitable subfolder and copy the published app files to it. For future reference lets assume we have copied the app to /var/myproject folder.
Step 2: Configure reverse proxy 1 2 > sudo apt-get install nginx > sudo service nginx start update /etc/nginx/sites-available/default to
1 useradd --system [--no-create-home] <account name> from the man pages
If called with one non-option argument and the –system option, adduser will add a system user.
By default, system users are placed in the nogroup group. To place the new system user in an already existing group, use the –gid or –ingroup options. To place the new system user in a new group with the same ID, use the –group option.
At last got some free time and got a chance to solve a problem I was having; downloading NuGet packages along with its dependencies for hosting them in an internal network NuGet server.
It was a big pain to download a package along with its dependent packages till now, you have to either use Chrome/Firefox plugin or the NuGet package manager and download the depedencies one after another. To address this I spent the last week cooking up a package downloader which takes care of the dependencies along with the main package and stores them in a folder of your choice.
There are 2 ways to get the Visual Studio 2015 installation for offline installation:
Option 1 – ISO File: Download the ISO file for Community or Enterprise edition. Then virtual mount them to a drive or extract them using a tool (like 7Zip), and start your installation. When I tried this option, the visual studio seemed to miss few packages which it downloaded through an online feed during the installation. So, a better option is to use…
Plugin Description NuGet Packager Template for creating NuGet packages easily. SQL Server Compact/SQLite Toolbox This add-in adds several features to help your embedded database development efforts: Scripting of tables and data, import from SQL Server and CSV files and much, much more. Database .NET v16 Multiple database management tool Most stuff from Mads Kristensen * Web Compiler * Bundler & Minifier * Web Essentials 2015 * Add New File * CssCop – FxCop for Stylesheets * Image Optimizer * SideWaffle Template Pack * File Nesting ResXManager Manage localization of all ResX-Based resources in one place.
After the recent update to Update 4 creating a new web application is by default causing a build error. The real error message is as follows:
This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567.
Editing the project file revealed the following line:
1 2 3 4 <Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''"> <Error Condition="!