« first day (3106 days earlier)      last day (1828 days later) » 
00:00 - 11:0011:00 - 00:00

11:22 AM
Do people actually google "string format for urls"? I've now found this on so many places in the code I'm maintaining right now: String.Format("<a target='_blank' href='{0}{1}'>{2}</a>", "--base url--", "query", "display text")
Or what are they searching for to get that template?
 
G K
11:34 AM
Hi all,
I am facing some issue when accessing the PART_EditableTextBox (of a ComboBox) from the Dependency Property Change event. I am calling ApplyTemplate() method even though, the Template is still not loaded.
Its in WPF application.
 
11:50 AM
@GK why do you want to do that?
 
G K
12:04 PM
Its a common style and in the Depdendcy property change I am accessing the TextBox and binding TextInput change events. The problem is when I am trying to access in a dummy application it works fine and I am able to acces the textbox. But when I am trying to access in the my actual application, the Template is not loaded.
I am little confused on how does it behaves differently in two different places.
 
mr5
@GK I'm curious to know what library are you using that's mixing up naming convention to the highest level
 
G K
One application is common library contains all the styles and it is used in the application.
In library we also have pages to display of each control.
Is that answer your question
 
G K
12:25 PM
Since its not a custom control, I don't have a chance to Override OnAPplyTemplate method. Its a common static class where I have my dependency properties.
 
mr5
12:47 PM
No. I mean, the name of that library you're using.
Or which platform is that?
 
G K
1:13 PM
I don't have any external libraries. Its all default WPF controls.
 
@mr5 No, that's exactly the naming that the WPF control templates components use. On the WPF scroll bar for example, the actual grabby part which scrolls is a rectangle called PART_Track IIRC
@GK However, have you tried applying the template through the xaml?
 
1:49 PM
Can anyone 1-up me on warning count?
 
Doesn't look like anything to me.
 
@CaptainObvious are library warnings allowed?
 
How about errors?
 
nm, only reaching 5.8k anyways :)
 
R K
@CaptainObvious - did you try this solution ? (stackoverflow.com/questions/22388119/…)
I've a grid with following definitions:
 
G K
1:57 PM
@CaptainObvious applying the template through the xaml means?
 
@Squirrelkiller What did you do
 
R K
#wrapperShop {
    display: grid;
    grid-template-columns: 416px 220px 220px 220px 220px;
    grid-auto-rows: minmax(20px, auto);
}
 
Switched teams. This new team doesnt have good coding conventions (read: none, "we jsut do what resharper says"), and no team-shared rules.
I'm working on putting everything in the .editorconfig
basically most of this stuff is wrong variable name
 
R K
its first cell is 416px wide
 
And you put styling issues as errors?
 
1:59 PM
Not all of them
 
R K
what if I want to set all remaining cells on the grid with 220px width?
wide*
 
Last team was building something completely new, so we made really strict rules
 
R K
How can that be achieved
 
How/why is this guy still suspended? stackoverflow.com/users/6447712/jogi
> The suspension period ends on Dec 2 '18 at 2:35.
 
That's interesting
 
R K
2:06 PM
This guy is me ...
:)
 
Not sure if you're serious or not but if you are I wouldn't go around announcing the fact that you're evading a ban.
 
Would it be evasion though if it's been "lifted"
 
I personally don't care so long as you're not doing anything ban-worthy now but moderators might see it differently.
 
It looks like from his activity he has been active since then anyway, handing out a bunch of votes on December 25th
 
R K
That's alright .. stackoverflow and none others like it can ban a user from all possible aspects
you can always create a new email id and get back on server
This account I'm using is on temp email
 
2:22 PM
I am using some common code from Azure Webjob as well as WebAPI. Is there a way to detect who is calling? If webjob is calling or web api?
 
 
3 hours later…
5:01 PM
Hey yo
Everyone at lunch or what?
I have a Detail view that calls a partial for some related records, and the partial view has a dropdown populated by one of the elements of the Detail's view model. I have created an HttpPost method for the Detail but I can't seem to get the DropDown selection passed into it.
The detail view model is called UserComposite and the method looks like this
public async Task<ActionResult> Details(int? id, [Bind(Include = "groupId")] UserComposite userComposite)
everything in userComposite is null, including groupId. the Id is passed in fine but I don't know how, lol. Sorry, MVC is new to me and I really suck at it, apparently.
Any assist?
 
 
2 hours later…
7:14 PM
Ah, I got it. I just had the wrong parameter identified in the dropdownlistfor. What's up with this forum today though, it's DEAD!?!?
 
It's the evening before easter...practically weekend.
 
Ah.
 
And I'm just here, sitting on a train for another two hours, trying to learn and implement auth in dotnet core
 
Identity?
 
uhhh yes
i think
i just wanna login
 
7:17 PM
lol
 
probably
I'm basically trying to put a login service in my asp.net pipeline
 
Yea, the default project template - when the proper option is selected - contains a complete implementation.
 
oh, nice. Guess I'm gonna make a new project. Thanks for the pointer.
 
Welcome
 
8:11 PM
Any reason to NOT .UseHsts() on aspnetcore?
No idea how it works, but it seems it's a no-brainer
Like, just put the line there and boom my app is more secure now
Like, just put the line there and boom my app is more secure now
 
 
3 hours later…
11:42 PM
Hey!
I had a small question
Class X {
void A(){
 B() // or doing this:- X ob = new X(); ob.B();
}
void B(){
}

}
What is the difference in the above 2 approaches in calling B()?!
 
00:00 - 11:0011:00 - 00:00

« first day (3106 days earlier)      last day (1828 days later) »