最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

onion architecture - How to share images between admin and frontend projects in ASP.NET MVC using a shared folder? - Stack Overf

programmeradmin3浏览0评论

I am working on an e-commerce application where I have two separate ASP.NET MVC projects:

  • AdminPanel: used by admins to manage items
  • Website: public-facing site for users to view items

Both projects are hosted on the same server, with the AdminPanel being a subdomain (e.g. admin.mydomain), and the Website being the main domain (e.g. www.mydomain).

Solution folder structure:

 - - AdminPanel (ASP.NET MVC project)
   - Website (ASP.NET MVC project)
   - MyApp.Models (class library for models)
   - MyApp.DataAccess (class library for DbContext and repositories)
   - MyApp.Services (class library for business logic)
   - MyApp.ViewModels (class library for shared view models)
   - MyApp.Common (class library for enums, validation, utilities, etc.)
   - SharedResources (folder for shared images)

I want to save images in admin website and retrieve it in frontend website.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论