So please don't take my earlier statement as saying something like "Fuck this shit it gonna happen again yo, fuck da police". I actually have thought about this.
@Amy First question... (or more of a comment/question) why is the _ViewStart.cshtml file not always included by default in every MVC project?
It seems weird that you'll just have to kind of "know" to create a Empty view file named _ViewStart.cshtml in particular to create a universal default layout
They should have just included it in every project and set the Layout = null by default
@Failsafe just curious, have you seen Penn & Teller's show "Bullsh**"? Specifically their episode on swearing? They actually do some interesting research on the topic of swear words in english speaking societies.
Nah, but I would like to prevent further issues by knowing what the problem is. And thus far, all I know is that they sometimes don't take kindly to certain language. When the mood strikes. That's all I know for now.
@Failsafe I recommend checking it out some time. Not to try to change your opinion, a no swearing rule isn't unreasonable in a technical forum at all. But if you're engaged in moderation it might give some more perspective on the subject that you may find useful.
@Michael i'm not sure, i think the MVC project template will create it by default, but simply adding the MVC nuget packages to a project won't create the files, right
> You say, "What comes out of our mouth must be kept!" I hear it - which mouth do you mean? The one from which the farts come? (You can keep that yourself!)
@Shoe still weird.. the asp.net MVC framework obviously has the convention to detect the _ViewStart.cshtml filename and make use of it if it exists. If its a built in convention, I feel like it should always be included.
If I have an UserControl, Can I override .Text? I Added the override Text function but in the design, I didn't see the the "Text" under "Appearance". I do that: [Category("Appearance")] public override string Text { .... } }
Its works if I remove override and change method for BtnText..
I don't want to come across as being all "ooh I got banned wah wah wah" butthurt because I'm really not (I think it was a little aggressive to go straight to a ban but whatver) but this whole thing really leaves a bad taste in my mouth.
//So, is this properly implimented, or will it crash my codes?
private Object thisLock = new Object();
public static Object Foo
{
get
{
if (_foo == null)
{
lock(thisLock)
{
if (_foo == null)
{
populateFoo(_foo);
}
}
}
return _foo;
}
}
private static Object _foo;
I don't think a civil or even critical consensus can be reached regardless... I tire of this sort of thing. Runs parallel to my best co-worker and underling being exiled to work from home because someone got offended and threatened a sexual harassment lawsuit... =.=
@Bon behavior works just fine on full IIS locally in release mode. Azure still failing. I tried RDPing into the azure web role to look for event logs but see nothing interesting at the times of incidents.
@Obviously My units of work for billing are at least 1 hour. If I work for 15 minutes, that's 1 hour billed. If you're diligent in checking for access then I'd use that kind of rule.