.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Share an image folder between 2 web projects (MVC2)

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :ASP.Net



I'm searching an answer to this question on the web for 2 weeks unsuccessfully.

I'm sure I'm not the only one to wondering about that!

I have two web projects MVC2: a FrontOffice and a BackOffice.

The user has to be able to upload some image in the BackOffice, which will be display on the FrontOffice and vice versa.


How can I share an image folder between these two projects?

Has the folder to be necessary in the solution or can it be somewhere else on the server?

My team and I are working with TFS.

I want to create an image folder in which we can write and read from frontoffice and backoffice.

But I don't want to have to do a "get latest version" everytime someone is adding an image in the folder. I would like to create a folder on the server we can access from the backoffice AND the frontoffice with reading and writing rights in real time.


I'm not sure to be very clear...





View Complete Post

More Related Resource Links

Saving Image File in a Folder on Sever from Client Machine using Sql Server

  Hi EveryOne... Can anyone help me Saving an Image file in a Server folder from a client machine using Sql server 2005....   

Delete bin and obj folder from projects directories

You always have problem to debug when you do latest from source control.You might end up deleting bin/obj folder sometime.Here is nice bat file which delete bin/obj folder(s). 1. copy this on notepad and save it as clean.bat file 2. Keep this file on root directory 3. Double check the directory on "DIR /B /AD /S obj" and "DIR /B /AD /S bin" ---------------------------------------------------------------------------------------------- FOR /F "tokens=*" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q ...(read more)

How Do You Insert An Image From The Image Folder Into A Binary Column?

Hello Forum, How would I go about inserting an image that's in my images folder into a sql table column of datatype varbinary(MAX) ?    Thank you

save image in new folder


i have a image which i am picking from open file dialog now i want to save image in my project folder

please hep me

Move folder from file share to local C:/ drive on same box



I need to copy a folder from a file share to my local C: drive. Is there an easy way to do this in SSIS, or do I have to write a DOS batch file and execute it from SSIS.

Any help would be appreciated


Dave SQL Developer

How to display image from database using MVC2 & Entity framework.



I am very new to MVC and entity I have being searching all over the internet on how to do this. Please help.

I need to do a site similar to http://weblogs.asp.net/scottgu/archive/2007/11/13/asp-net-mvc-framework-part-1.aspx but don't know how to display or retrieve the images as in the above website.

Thank you so much!

Image Upload Fails- access denied to folder


i am trying to use a fileopen dialog to select an image and copy it to my project folder .

i have used this code to do that.

OpenFileDialog ofd = new OpenFileDialog();
      ofd.Filter = "All Image Files| *.*";
          imgImagePath.Source=new BitmapImage(new Uri(ofd.FileName,UriKind.RelativeOrAbsolute));
          FileStream fs = new FileStream(ofd.FileName,FileMode.Open,FileAccess.Read);
          FileStream copyfs = new FileStream(@"../../Themes/Images", FileMode.CreateNew, FileAccess.Write);

The Error i am gettin is The so and so folder access is denied.

I have check that the folder is not read only. and its in d:

Any suggestions?


how to delete image from particular folder in c#,net


hi everyone

i m uploading the photo using file upload control.

now if i want to delete that photo from photo folder how can i do that?

can anyone help?



COPY folder and image by ftp by asp.net 2.0


COPY folder and image by ftp by asp.net 2.0

Copy only folder and image.




Can provide coding.

folder structure creation in share point picture library


Hi all

        i want to create a particular folder structure in picture library  whenever i add a new item to item to a list. for eg if i add a new item is added to a list a folder with same name as the title of the item added should be created in picture library  with a fixed subfolder structure inside the main folder .Is it possible if i use a custom list or should i use an infopath form instead of custom list . Iam using sharepoint 2010 and infopath 2010 .




How To Get The Unc Share Name Of A Given Folder (If Shared)?



How To Get The Unc Share Name Of A Given Folder (If Shared)?

Thanks in advance


Pankaj Ghodake


What is the proper VS2010 folder structure for Image Resources in C# Winform project ?


I'm confused about where Resources should be stored in a VS2010 Winform project...

Here's the structure I've been using, and which is now severely messed-up!



        Resources folder  ("A")

                various .bmp files







     Resources folder ("B" - this one is empty)

     various ,cs files...   

Resources folder "A" contains copies of the .bmp files which are also added as Image resources to the Resources.resx file. And Resources folder "B" is empty.

The problem I seem to be having is that when I use the Resources editor to edit some of the image

Linq: how to share parameters between lambda expressions ?

When using Linq to objects, you will quickly feel the need to pass some parameters from a method to another but it's not so easy because each Linq method is not calling the following one. In a Linq sequence, each method is using the result computed by the previous one. So, local contexts are not visible from one method to another.
The compiler is using two technical different ways to let parameters go out of a method.

How to get more information about the exceptions that can happen in SharePoint 2010 projects?

In case there is an exception anywhere in the SharePoint 2010 project (most common place an exception would happen is during deployment of your SharePoint project, custom deployment configuration or custom deployment steps), there's a registry key EnableDiagnostics available for you to use.

learn basic about share point.

This learn basic about share point.

Built-in Functions - Text and Image Functions in SQL Server

Text and image functions operate on TEXT, NTEXT and IMAGE data types. These data types are deprecated with SQL Server 2005 and should be replaced by VARCHAR(MAX), NVARCHAR(MAX) and VARBINARY(MAX) when possible. Alternatively you can also consider storing large string values using XML data type. Text and image functions are nondeterministic.

Future versions of SQL Server will not support TEXT, NTEXT and IMAGE data types. Columns with TEXT / NTEXT data type do not support commonly used string functions such as LEN, LEFT, RIGHT, etc. Furthermore, due to the large size of TEXT data you''re likely to see performance issues if you store such data in the database. However, at times you can''t help but use the TEXT / NTEXT / IMAGE data types (for example when supporting 3rd party databases when you cannot change the schema) - this is when text and image functions come in handy.

Program for Format Conversion of An Image

.NET provides extensive support for image conversion. Any image can be processed from one format to another. Most common formats to which .NET have support for are .BMP, .EMF, .GIF, .ICO, .JPG, .PNG, .TIF and .WMF.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend