Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7909867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:37:54+00:00 2026-06-03T12:37:54+00:00

Here goes: I have 2 MVC3 projects in the solution, where one is for

  • 0

Here goes:

I have 2 MVC3 projects in the solution, where one is for the Admin and the other is for common Users.
The Admin dynamically upload images in a folder in his project.
So I want to get that images from the User project to show in same web pages.

I also have three projects that represent the Services, App Logic and the Data Access.

I have been looking for a solution and found same things:
1- Store the image in the database and then retrieve it to User project from a service.
2- Reference the image from the User MVC project. (Couldnt do it)

What is the best aproach?
How can i implement the first one?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:37:56+00:00Added an answer on June 3, 2026 at 12:37 pm

    Firstly, is there a reason you have two applications and not a single application with an admin area that is authorised users only?

    As for storing the image in the database you can convert the image to a byte array and store it as varbinary(max) in your database.

    This question shows an example of converting the file stream (I assume you are uploading the image through a form) to a byte array: Convert a bitmap into a byte array

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Weird to describe but here goes. I have a table with several rows. One
I have searched the web and have found no definitive solution, so here goes:
Here goes: I have a AWS S3 bucket with a folder and a mobile
Ok here goes: I have a SELECT drop down option with US state names
This is a very basic question...quite embarassing, but here goes: I have a Stopwatch
OK, I don't think the title says it right... but here goes: I have
I have some troubles with receiving data on server side. Here goes the code:
I have a feeling my problem is a bit strange, but here goes... I
Probably a stupid question, but here goes. In my view, I have the following
This is probably a silly question, but here it goes.Imagine you have the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.