Click here to Skip to main content
14,390,210 members
   

C#

 
AnswerRe: C# List: How to do 3 joins for better performance Pin
Dave Kreskowiak7-Apr-19 7:39
mveDave Kreskowiak7-Apr-19 7:39 
GeneralRe: C# List: How to do 3 joins for better performance Pin
Mou_kol7-Apr-19 9:05
MemberMou_kol7-Apr-19 9:05 
GeneralRe: C# List: How to do 3 joins for better performance Pin
Dave Kreskowiak7-Apr-19 9:29
mveDave Kreskowiak7-Apr-19 9:29 
GeneralRe: C# List: How to do 3 joins for better performance Pin
Mou_kol8-Apr-19 10:06
MemberMou_kol8-Apr-19 10:06 
GeneralRe: C# List: How to do 3 joins for better performance Pin
Dave Kreskowiak8-Apr-19 10:24
mveDave Kreskowiak8-Apr-19 10:24 
AnswerRe: C# List: How to do 3 joins for better performance Pin
Mycroft Holmes7-Apr-19 13:17
MemberMycroft Holmes7-Apr-19 13:17 
GeneralRe: C# List: How to do 3 joins for better performance Pin
Mou_kol8-Apr-19 10:09
MemberMou_kol8-Apr-19 10:09 
QuestionHow to make code run differently depending on the platform it is running on? Pin
Xarzu5-Apr-19 7:44
MemberXarzu5-Apr-19 7:44 
How to make code run differently depending on the platform it is running on?

I have a challenge for you.

I have an ASP.NET Web Application built in C# with Microsoft Visual Studio 2017. There is a line of code that we have had to include in order for it to run on a localhost when debugging by attaching it to a running process in a web browser.

Here is the issue. That line of code is not necessary when the process is running on the server.

I can remove that line when I submit the code in TFS. But it would be great if we could make the code somehow ignore that line depending on what platform it is running on.

How can you think this could be done?
AnswerRe: How to make code run differently depending on the platform it is running on? Pin
Richard Deeming5-Apr-19 8:15
mveRichard Deeming5-Apr-19 8:15 
AnswerRe: How to make code run differently depending on the platform it is running on? Pin
Gerry Schmitz5-Apr-19 10:54
mveGerry Schmitz5-Apr-19 10:54 
AnswerRe: How to make code run differently depending on the platform it is running on? Pin
jschell7-Apr-19 10:00
Memberjschell7-Apr-19 10:00 
Questionc# Pin
Member 142150015-Apr-19 5:29
MemberMember 142150015-Apr-19 5:29 
AnswerRe: c# Pin
OriginalGriff5-Apr-19 5:39
mveOriginalGriff5-Apr-19 5:39 
QuestionRe: c# Pin
ZurdoDev5-Apr-19 5:49
professionalZurdoDev5-Apr-19 5:49 
AnswerRe: c# Pin
Dave Kreskowiak5-Apr-19 14:03
mveDave Kreskowiak5-Apr-19 14:03 
QuestionHow to convert emoji's unicode strings Pin
Vimalsoft(Pty) Ltd4-Apr-19 21:57
professionalVimalsoft(Pty) Ltd4-Apr-19 21:57 
AnswerRe: How to convert emoji's unicode strings Pin
OriginalGriff4-Apr-19 22:35
mveOriginalGriff4-Apr-19 22:35 
GeneralRe: How to convert emoji's unicode strings Pin
Vimalsoft(Pty) Ltd5-Apr-19 3:13
professionalVimalsoft(Pty) Ltd5-Apr-19 3:13 
QuestionHow do I set a breakpoint in an attached process in visual studio? Pin
Xarzu4-Apr-19 9:43
MemberXarzu4-Apr-19 9:43 
AnswerRe: How do I set a breakpoint in an attached process in visual studio? Pin
ZurdoDev4-Apr-19 10:20
professionalZurdoDev4-Apr-19 10:20 
GeneralRe: How do I set a breakpoint in an attached process in visual studio? Pin
Xarzu5-Apr-19 5:22
MemberXarzu5-Apr-19 5:22 
AnswerRe: How do I set a breakpoint in an attached process in visual studio? Pin
Dave Kreskowiak4-Apr-19 10:24
mveDave Kreskowiak4-Apr-19 10:24 
GeneralRe: How do I set a breakpoint in an attached process in visual studio? Pin
Xarzu5-Apr-19 5:22
MemberXarzu5-Apr-19 5:22 
QuestionSimplify usage of a complex generic class for convenience Pin
Failwyn4-Apr-19 6:02
MemberFailwyn4-Apr-19 6:02 
AnswerRe: Simplify usage of a complex generic class for convenience Pin
Gerry Schmitz4-Apr-19 6:10
mveGerry Schmitz4-Apr-19 6:10 

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.