Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: WANT TO CREATE WIND OR RAIN EFFECT Pin
esaaco30-May-12 22:02
esaaco30-May-12 22:02 
AnswerRe: WANT TO CREATE WIND OR RAIN EFFECT Pin
Keith Barrow30-May-12 22:49
professionalKeith Barrow30-May-12 22:49 
QuestionNode In C# And The Halff Man Node Method Pin
Hussein39930-May-12 10:02
Hussein39930-May-12 10:02 
AnswerRe: Node In C# And The Halff Man Node Method Pin
Paul Conrad2-Jun-12 7:11
professionalPaul Conrad2-Jun-12 7:11 
QuestionC# linq to sql Pin
sc steinhayse30-May-12 9:11
sc steinhayse30-May-12 9:11 
AnswerRe: C# linq to sql Pin
Pete O'Hanlon30-May-12 10:45
mvePete O'Hanlon30-May-12 10:45 
AnswerRe: C# linq to sql Pin
Keith Barrow30-May-12 22:58
professionalKeith Barrow30-May-12 22:58 
AnswerRe: C# linq to sql Pin
AmitGajjar31-May-12 0:06
professionalAmitGajjar31-May-12 0:06 
GeneralRe: C# linq to sql Pin
Pete O'Hanlon31-May-12 0:11
mvePete O'Hanlon31-May-12 0:11 
GeneralRe: C# linq to sql Pin
AmitGajjar31-May-12 0:18
professionalAmitGajjar31-May-12 0:18 
GeneralRe: C# linq to sql Pin
Pete O'Hanlon31-May-12 0:43
mvePete O'Hanlon31-May-12 0:43 
GeneralRe: C# linq to sql Pin
AmitGajjar31-May-12 0:55
professionalAmitGajjar31-May-12 0:55 
GeneralRe: C# linq to sql Pin
Pete O'Hanlon31-May-12 1:02
mvePete O'Hanlon31-May-12 1:02 
Questionwcf service Pin
heba abu ghaleih22 30-May-12 7:58
heba abu ghaleih22 30-May-12 7:58 
AnswerRe: wcf service Pin
Dave Kreskowiak30-May-12 15:21
mveDave Kreskowiak30-May-12 15:21 
Questionhow to call the values from the databases Pin
S. Karthik - Hosur30-May-12 4:21
S. Karthik - Hosur30-May-12 4:21 
AnswerRe: how to call the values from the databases PinPopular
Dave Kreskowiak30-May-12 4:24
mveDave Kreskowiak30-May-12 4:24 
GeneralRe: how to call the values from the databases Pin
Paul Conrad1-Jun-12 14:48
professionalPaul Conrad1-Jun-12 14:48 
AnswerCross posted from QA PinPopular
Pete O'Hanlon30-May-12 4:40
mvePete O'Hanlon30-May-12 4:40 
QuestionMessage Removed Pin
30-May-12 4:05
S. Karthik - Hosur30-May-12 4:05 
AnswerRe: how to call the values from the databases Pin
Eddy Vluggen30-May-12 4:18
professionalEddy Vluggen30-May-12 4:18 
QuestionC#/.NET component/library Media file informations Pin
Istvan T30-May-12 1:38
Istvan T30-May-12 1:38 
Questionget the file path in web project when running unit test project Pin
siva45530-May-12 0:35
siva45530-May-12 0:35 
Actually im getting error when the below code is executed from unit test project...
where import is an xml file in the below code..
XmlTextReader importReader= new XmlTextReader(System.Web.Hosting.HostingEnvironment.MapPath("~/Content/Importcontent/import"));
the above code is present in one of the methods in different project(class library) which is used in test method in the unit test project
where as the above path is present in web project.
and the value of the
System.Web.Hosting.HostingEnvironment.MapPath("~/Content/Importcontent/import")
is null..ie unable to get the complete path of the file i guess bcos the hostingenvironment is not running(web project)
The above code is working fine when running from the webproject ie it returns the exact path.
whereas returning null value when running from test project.
please let me know how to fetch the file path(where file is present in web project) when running from test project.
AnswerRe: get the file path in web project when running unit test project Pin
BobJanova30-May-12 0:49
BobJanova30-May-12 0:49 
AnswerRe: get the file path in web project when running unit test project Pin
AmitGajjar30-May-12 23:53
professionalAmitGajjar30-May-12 23:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.