Click here to Skip to main content
15,900,973 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Richard MacCutchan31-Oct-14 1:13
mveRichard MacCutchan31-Oct-14 1:13 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
agent_kruger31-Oct-14 1:15
professionalagent_kruger31-Oct-14 1:15 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Pete O'Hanlon31-Oct-14 2:56
mvePete O'Hanlon31-Oct-14 2:56 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
agent_kruger31-Oct-14 3:07
professionalagent_kruger31-Oct-14 3:07 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Pete O'Hanlon31-Oct-14 3:21
mvePete O'Hanlon31-Oct-14 3:21 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Eddy Vluggen31-Oct-14 9:34
professionalEddy Vluggen31-Oct-14 9:34 
AnswerRe: How to use 2 Replace Function at same time in c# win. form Pin
Garth J Lancaster31-Oct-14 1:11
professionalGarth J Lancaster31-Oct-14 1:11 
AnswerRe: How to use 2 Replace Function at same time in c# win. form Pin
Gerry Schmitz31-Oct-14 4:47
mveGerry Schmitz31-Oct-14 4:47 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
agent_kruger31-Oct-14 10:06
professionalagent_kruger31-Oct-14 10:06 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Pete O'Hanlon31-Oct-14 11:31
mvePete O'Hanlon31-Oct-14 11:31 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Gerry Schmitz31-Oct-14 12:15
mveGerry Schmitz31-Oct-14 12:15 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Mycroft Holmes31-Oct-14 13:22
professionalMycroft Holmes31-Oct-14 13:22 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Gerry Schmitz31-Oct-14 14:41
mveGerry Schmitz31-Oct-14 14:41 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
Mycroft Holmes31-Oct-14 17:32
professionalMycroft Holmes31-Oct-14 17:32 
GeneralRe: How to use 2 Replace Function at same time in c# win. form Pin
PIEBALDconsult31-Oct-14 12:49
mvePIEBALDconsult31-Oct-14 12:49 
QuestionUnicode characters in charts in Pdfsharp Pin
Mol4ok31-Oct-14 0:10
Mol4ok31-Oct-14 0:10 
AnswerRe: Unicode characters in charts in Pdfsharp Pin
Richard Deeming31-Oct-14 2:58
mveRichard Deeming31-Oct-14 2:58 
GeneralRe: Unicode characters in charts in Pdfsharp Pin
Mol4ok2-Nov-14 18:35
Mol4ok2-Nov-14 18:35 
QuestionRedraw Coordinates on Cropped Image Pin
Django_Untaken30-Oct-14 20:51
Django_Untaken30-Oct-14 20:51 
AnswerRe: Redraw Coordinates on Cropped Image Pin
BillWoodruff30-Oct-14 21:02
professionalBillWoodruff30-Oct-14 21:02 
AnswerRe: Redraw Coordinates on Cropped Image Pin
Django_Untaken30-Oct-14 21:11
Django_Untaken30-Oct-14 21:11 
GeneralRe: Redraw Coordinates on Cropped Image Pin
BillWoodruff30-Oct-14 23:09
professionalBillWoodruff30-Oct-14 23:09 
GeneralRe: Redraw Coordinates on Cropped Image Pin
Django_Untaken30-Oct-14 23:47
Django_Untaken30-Oct-14 23:47 
GeneralRe: Redraw Coordinates on Cropped Image Pin
BillWoodruff31-Oct-14 7:13
professionalBillWoodruff31-Oct-14 7:13 
QuestionAnyone familiar with Microsoft.Owin.Cors.CorsMiddleware? Pin
Alaric_30-Oct-14 10:09
professionalAlaric_30-Oct-14 10:09 
So, I've got an open question on so

We're experiencing cors issues with signalR resources and I can't imagine that I'm the only one that has had to solve this problem. The "default", documented configuration settings for enabling cors with signalR are

C#
public void Configuration(IAppBuilder app)
{
   app.UseCors(CorsOptions.AllowAll);
   app.MapSignalR();
}


but CorsOptions.AllowAll configures wildcard Access-Control-Allow-Origin and you cannot specify a wildcard value AND use withCredentials. So I'm investigating what it would take to create a custom Microsoft.Owin.Cors.CorsMiddleware or create a different CorsOptions setting.

Does anyone have an example that replaces
C#
app.UseCors(CorsOptions.AllowAll) 

with

C#
app.UseCors("CorsOptions with a CorsPolicy that doesn't specify wildcard origins")

"I need build Skynet. Plz send code"

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.