Discussion on AspStudio - ASP.NET Core 9.0 MVC Bootstrap 5 Admin Template

Discussion on AspStudio - ASP.NET Core 9.0 MVC Bootstrap 5 Admin Template

Cart 1,411 sales
Recently Updated
Well Documented

SeanTheme supports this item

Supported

This author's response time can be up to 1 business day.

209 comments found.

bpazzetti

bpazzetti Purchased

I came across a situation where the parent menu item wasn’t marked active when one of its child items was active. To fix this, I added a check so the parent becomes active if any child is active, even if the parent itself doesn’t match the controller.

In Sidebar.cshtml:

// Check if any child is active var hasActiveChild = menuChildren.Any(child => menuController child["controller"] && menuAction child[“action”]);

// Parent is active if it matches directly OR if any child is active var isParentActive = menuController == menu[“controller”] || hasActiveChild;

Then updated the markup to:

”<div class=”menu-item (isParentActive ? "active" : "") (menuChildren.Length > 0 ? “has-sub” : ””)”>”

Sharing this here in case it helps anyone facing the same issue. If this isn’t the right place for it, feel free to remove.

Good afternoon. I purchased the product but I haven’t been able to install it. I would have appreciated remote assistance, as I haven’t been able to use the template. I followed the instructions, but it’s still not working.

Hi,

Kindly download the latest version which already solved all the issues (generated js and css files) that you are facing right now.

Best Regards, Sean.

Thank you so much, you’re very kind. It’s working now. One favor: do you have any support materials for using this template I purchased? Could you recommend how to upload it to a website, publish it, and which hosting provider you would recommend?

In short, could you please send me any support materials you have that I could use?

Thanks

Hi,

Thanks for your comment and feedback. Regarding your question, you might need to read their official documentation

https://learn.microsoft.com/en-us/dotnet/framework/deployment/

for how to deploy your project into your own server hence setup your server by fulfilling the .net project requirements.

Best Regards, Sean.

I followed the steps as instructed, but the program runs and the browser displays text without any template, just blue underlined text. What should I do? I have Visual Studio 2022 Community.

Hi,

It seems the issue occurred because the Gulp command wasn’t executed properly from your side, which prevented the required CSS, JS, and plugin files from being generated.

To make it easier for you, we’ve uploaded a new version that already includes all the necessary CSS, JS, and plugin files.

You can download it again from your ThemeForest user portal, and it should run normally in Visual Studio without needing any additional setup.

Best regards, Sean

Please send me the link here so I can download it again.

Hi,

The download link can be found in your user portal.

Best Regards, Sean.

Carlos Sabino <carlossabino007@gmail.com> 14:02 (hace 12 minutos) para market

I just made the purchase. Could you please send me a guide on how to compile and run the solution from Visual Studio, which I already have installed?

I’ve already opened it with Visual Studio 2022.

Support would be greatly appreciated.

Hi,

Thank you for your purchase!

To compile and run the solution in Visual Studio 2022, please follow these steps: 1. Open the solution (.sln) file from the template_asp folder. 2. Once loaded, make sure all NuGet packages are restored automatically by Visual Studio. 3. In the Solution Explorer, right-click on the main web project and select “Set as Startup Project.” 4. Press F5 or click Run ▶️ to start the application.

That’s it. The template should build and launch in your default browser.

Best Regards, Sean.

I am getting an error when excuting the gulp file.

PM> gulp node.exe : E:\DownloadCode\AspStudio\asp_studio_v6.0\template_asp\AspStudio\gulpfile.js:1 At C:\Users\MichaelButler\AppData\Roaming\npm\gulp.ps1:24 char:5 + & “node$exe” ”$basedir/node_modules/gulp-cli/bin/gulp.js” $args + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (E:\DownloadCode…o\gulpfile.js:1:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError

import gulp from ‘gulp’; ^^^

SyntaxError: Cannot use import statement outside a module at internalCompileFunction (node:internal/vm:73:18) at wrapSafe (node:internal/modules/cjs/loader:1178:20) at Module._compile (node:internal/modules/cjs/loader:1220:27) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:110:18) at requireOrImport (C:\Users\MichaelButler\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js:20:11) at execute (C:\Users\MichaelButler\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\5.0.0\index.js:35:3)

Hi,

Can you share to us which version of node js you are using right now? Make sure you are using the latest stable version v23/v24 but not for v25.

Best Regards, Sean.

Hi, I am interested in the AspStudio theme. Can you tell me more about how it supports .Net? Does it use a data-driven nav system that supports role-based menus?

Hi,

For your information, yes the theme fully supports .NET integration. It uses a JSON-driven configuration system where menu items are defined in a sidebar.json file. In the Program.cs, this file is loaded using:

builder.Configuration.AddJsonFile(“sidebar.json”, optional: true, reloadOnChange: true);

From there, the navigation menu can be rendered dynamically based on the JSON data, making it easy to customize or localize.

You can also extend this setup to support role-based menus. For example, by filtering the JSON data according to user roles before rendering the sidebar. This allows each user to see only the navigation items relevant to their permissions.

Best Regards, Sean.

guruvb

guruvb Purchased

I’m using the latest version of VS22, v.17.12.4, with the latest .NET Core SDK 9.0.304. After extracting the downloaded file, I tried to double-clicked the AspStudio.sln file in template_asp, template_asp/AspStudio, template_asp_startup, and also template_asp_startup/AspStudio to open their project and execute them one by one. All the results were the same. The CSS and JS files seemed to be missing. I tried to publish the project to my IIS server and the result is the same.

Here is an example of the result:

Search menu… 3 Notifications Your store has a new order for 2 items totaling $1,299.00 just now 3 new customer account is created 2 minutes ago

Your android application has been approved 5 minutes ago

Paypal payment method has been enabled for your store 10 minutes ago See all

johnsmith@asp-studio.com Edit Profile Inbox Calendar Settings Log Out Navigation Dashboard Analytics 6 Email Inbox

bla bla bla

I tried using developer mode (F12) and right-clicked to open the ”/js/vendor.min.js” file in the <script src=”/js/app.min.js”></script> code. The system displayed a message: “This localhost page cannot be found.” The page for the web address: https://localhost:44341/js/app.min.js could not be found. How can I fix this?

However, the template_html and the template_html_startup works fine.

Hi,

First, just make sure you’ve navigated into the right folder specifically:

cd /your-path-to-the-file/template_asp/AspStudio/

Then try running:

gulp plugins gulp

If you’re already in the correct folder and still getting the error, it might be that Gulp isn’t installed globally. You can fix that by running:

npm install—global gulp

Best Regards, Sean.

guruvb

guruvb Purchased

ahha the folder has been changed after I call npm it’s working now. Thank you!

Glad to hear that :)

I have a old asp.net webforms application – does this admin template work for webforms? do you have other template that I can use for asp.net webforms.

Hi,

This template is built specifically for .NET Core 9.0 and is not compatible with ASP.NET WebForms, as WebForms uses a very different architecture and rendering pipeline.

Unfortunately, we don’t currently offer a version tailored for ASP.NET WebForms. However, if you’re considering modernizing your application, transitioning to ASP.NET Core (MVC or Razor Pages) would allow you to fully utilize this template and benefit from newer technologies.

Best Regards, Sean.

dillerk

dillerk Purchased

Hello! Your theme is great, I’m enjoying using it. I am using the MVC version and I’m having issues with the header and login/logout layouts. The header that is used is hard-coded with login/logout links but there is another partial called “LoginPartial.cshtml” that is never used. I think this is what should be used because it has the real logout link instead of a dead link to /Pages/login like the “_Header.cshtml” has. What was your vision for how this would work?

Hi,

You’re right about the LoginPartial.cshtml. That file is typically generated by the default MVC project template or authentication plugin and is meant to handle the actual login/logout functionality based on the user’s authentication state.

If you’re implementing real login/logout functionality, you can safely replace or integrate the LoginPartial.cshtml into _Header.cshtml to reflect the correct authentication state and provide working links.

Best Regards, Sean.

dillerk

dillerk Purchased

Ok, that makes sense. I thought maybe it was supposed to be implemented into the design. Thanks for verifying and I’ll take care of swapping those components out in my layouts.

sdev Purchased

Again Please What is the “Last write time” I Try search Google but not work.This not work after I update vs2022 from 17.13x to 17.14 Error approximate 100+ file all wwwroot/* The “DefineStaticWebAssetEndpoints” task failed unexpectedly. System.AggregateException: One or more errors occurred. -> System.InvalidOperationException: Last write time for ‘E:\Project2022\Portal\Portal.Web\wwwroot\img\page\coming-soon.svg’ is not defined. at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate() at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item) at Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.ParallelWorker.Process(Int32 i, ParallelLoopState _) at Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.<>c.<Execute>b__16_2(Int32 i, ParallelLoopState loop, ParallelWorker state) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>) —End of inner exception stack trace -- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Parallel.ForWorkerTLocal at System.Threading.Tasks.Parallel.ForTLocal at Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

-> (Inner Exception #4) System.InvalidOperationException: Last write time for ‘E:\Project2022\Portal\Portal.Web\wwwroot\js\vendor.min.js’ is not defined. at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate() at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item) at Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.ParallelWorker.Process(Int32 i, ParallelLoopState _) at Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssetEndpoints.<>c.<Execute>b__16_2(Int32 i, ParallelLoopState loop, ParallelWorker state) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<- Thank you very much for help.

sdev Purchased

Hi Yes, I clean and delete file at the Bin Obj, and temp rebuild but not work. Best Regards, J.dev

Hi,

For that case, you may delete the assets folder from /wwwroot and re-run the following command from your command prompt / terminal

npm install

gulp

gulp plugins

After regenerate the new assets folder, you may clean and rebuild your project again.

p.s if the issue still exists, you may try to use the dotnet cli from your command prompt.

Best Regards, Sean.

sdev Purchased

Hi

Thanks for the advice. Now I installed SDK SDK 9.0.204 that came with 17.13.17. It works fine. I will have to use this version for now because all projects are giving errors. If I use 9.0.300 that came with 17.14

Thank you very much. :)

sdev Purchased

Dear Team

I have a question please. How to change all font to Google Font is “Sarabun” is first font. I try to change this but not found Thank you and sorry about my English

Hi,

You may change the variable $font-family-base in /src/scss/_variables.scss to your own google font and run the gulp command to compile the new app.min.css.

Best Regards, Sean.

sdev Purchased

Dear team I have a question please I dont know make smoethink wrong why left sidebar not full height style and I not set ViewData[“AppClass”] = “app-sidebar-minified”; right now the menu is Minified Sidebar I would like to Full Height style Help me please

sdev Purchased

Hi Team

Thank you and I don’t sure I run in my laptop is not work (display minimal sidebar) , but I published and upload to host is work, could you please advise me

Hi,

Our suggestion is try to clear your browser cache and re-try again.

Best Regards, Sean.

sdev Purchased

Hi

Thank you very much is work well :)

Greetings,

What is the difference between “template_asp” vs “template_asp_startup”?

Hi,

For your information, template_asp includes all the demo pages, while template_asp_startup contains only the basic homepage for a quick and clean startup.

Best Regards, Sean.

Perfect thank you

Hola Buenas tardes , no puedo echar andar el proyecto ya realice todos los paso que mencionas Node.js , NPM o si lleva un orden especifico

Hi,

Thank you for reaching out. If you’re unable to get the project running, could you please confirm if you have followed all the mentioned steps, including installing Node.js and NPM? Additionally, let us know if you’re following the steps in the correct order or if there’s an error message you’re encountering. We’re here to help!

Best Regards, Sean.

what should I do to get sidebar menu items via WEB API instead of getting sidebar.json file. I have created my api function it returns the same result as sidebar.json file. Could you please help me what to change ?

Hi,

You may change the following code to httpclient to fetch the data from your api.

FILE: Program.cs

LINE: 18

Best Regards, Sean.

Hello I’m in the process of running this template in visual studio 2022 and am getting the error messages

TS2688 TS Cannot find type definition file for ‘node’

TS2503 TS Cannot find namespace ‘NodeJS’

TS2580 TS Cannot find name ‘Buffer’. Do you need to install type definitions for node? Try ‘npm i—save-dev @types/node’

My question is do you have some instructions or steps for setting up this admin template project?

Thanks for any help

Hi,

You might need to ensure that your Visual Studio isn’t compiling typeScript.

1. Go to Project -> Properties in Visual Studio. 2. In the properties window, check that the TypeScript Build tab doesn’t have any custom settings enabled for TypeScript compilation.

Best Regards, Sean.

Hi, Can i integrate this theme in php projects ? will have all the support ? if anything i need to consider please let me know ?

For Front end – using html, js and jquery. Please could you revert me here

Hi,

Just to clarify, there are two versions of this template: template_html and template_laravel.

- The template_html version uses Gulp to generate the .html files. - The Laravel version is built using PHP.

Best Regards, Sean

Hello, my boss purchased your theme and I am trying to switch from to make this work and running into some issues. Can you please help

The main ones in the AspStudio Theme mainly around the view _layout and side bar navigation, its also breaking scaffolding of view components when using the asp core identity for me. Can you please share some suggestions or a fix? Also a map/grid view option with search would be helpful. I did not want to put links here
 

Layout/Nav

  1. Views are not properly referencing the _Layout.cshtml file, causing inconsistencies in the user interface.
  2. Shared navigation bar and footer are not inherited across various pages, leading to a disjointed user experience.
  3. Partial views expected to render within the layout are either missing or incorrectly included, affecting functionality.
  4. Dynamic responsiveness of certain page sections is compromised due to broken partial views.
  5. Instances of the layout rendering unexpected content or failing to display correct view components indicate configuration issues.
  6. Discrepancies in CSS styles across different pages suggest potential issues with bundling or linking of stylesheet resources, see below
  7. also when I implement authorization in navigation it broken since it does not inherit from master layout, complicating user access to specific sections of the application.
  8. Integrated security at the view level is not functioning as expected, posing risks to application integrity.
  9. Breakdown of view components during rendering, thus affecting modular functionalities.
  10. Challenges in maintaining a coherent look and feel across all pages, undermining overall usability.

 

Security/Identity, since it uses local app.db, what is the default user/pw when I run the template the first time to login.
 

CSS issues 

I set up the contrast function in scss

 

$app-sidebar-menu-link-active-color: contrast(var(--#{$prefix}theme), var(--#{$prefix}app-sidebar-menu-link-active-bg), 20%) !default;

 

But then it breaks, both

  1. The colorpicker you have and
  2. The dark them option also does not work, once this variable is changed (but the documentation refers to this in #14 section

After spending some time tracing debugging the error, I found they use different variables completely and don’t pick up the compiled variables since they refer to a different variable from what your documentation says. 

Can you please tell me how to setup the contrast and also have the theme color picker work correctly.

 

<figure class=”image”></figure>




 

if you want after we fix this I have some ideas and debugging info I can share that as well..

Hi,

To assist you better, please use the account that was used to purchase the template and leave a comment here. This will ensure we can provide you with the support you need.

p.s The contrast function is designed for use with SCSS variables, not CSS variables. You’ll need to apply it to SCSS variables instead.

Best Regards, Sean.

input type=”checkbox” class=”form-check-input” name=”app-theme-dark-mode” id=”appThemeDarkMode” value=”1” (How do we default to darkmode on pageload?)

Hi,

You might need to add the attribute data-bs-theme=”dark” to the tag.

Best Regards, Sean.

no, that didn’t work. I’ll keep playing around with the attributes.

Hi,

You might need to wrap it with a div container with the tag of data-bs-theme=“dark”.

E.g

https://pastebin.com/V8qR0nk8

Best Regards, Sean.

$(’#test’).picker({ search: true });

can not use on change ?

// Bind change event handler $(’#test’).on(‘change’, function () { console.log(“Select change detected!”); var selectedOption = $(this).find(‘option:selected’); var shotCode = selectedOption.data(‘shotcode’); console.log(“Shotcode:”, shotCode); $(’#CusCode’).val(shotCode); });

This function cannot work. If I want to use it, how should I fix it?

Hi,

You might need to refer to their official documentation for the on change listener name.

https://picker.uhlir.dev/

The correct listener name should be sp-change

$(‘#test’).on(‘sp-change’, function

Best Regards, Sean.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey