Rico Mariani - Making .NET Perform (Happy Birthday Video #2)

protected void Application_Error(Object sender, EventArgs e)
{
Exception x = new Exception();
Server.Transfer("Error.aspx?ErrNum="+x.Message+"&ErrMessage="+x.Message);
}
private void Page_Load(object sender, System.EventArgs e)
{
if(Page.IsPostBack)
{
setError("No error to display");
setErrorNumber("No error number");
}
else
{
string errorMessage = Request.QueryString["ErrMessage"];
string errorCode = Request.QueryString["ErrNum"];
setError(errorMessage);
setErrorNumber(errorCode);
}
}
public void setError(string error)
{
if(error == "Exception of type System.Exception was thrown.")
{
lblError.Text = "The page, file, download, image, software program,
or user you are looking for does not exists, give it another try!";
}
else
{
lblError.Text = error;
}
}
public void setErrorNumber(string number)
{
if(number == "Exception of type System.Exception was thrown.")
{
lblErrorCode.Text = "00 - Server Error";
}
else
{
lblErrorCode.Text = number;
}
}
staceyw wrote:Great. Always good to hear Anders. Looking forward to the c# Data concepts. Will that be talked about at TechEd?
MikeS wrote:It's always great to listen to Anders, but when are we going to be able to SEE HIM!!! Isn't it about time we had Anders# instead of Background#? Not only is he blurry and you can read his book titles fine, but in a lot of the shots by the whiteboard - sorry grayboard - Anders is actually BLACK!
When are you guys going to learn how to use your video camera? Come on! Go get "Video Cameras for Dummies" and figure out how to press a couple of buttons to lock the exposure and focus.
It's really not that hard!
Strange, for me the worst thing about the birthday videos is that for some reason they are very very blocky. Has something changed with the encoding or something else that could affect the image quality? WMP says the bitrate is 291 K bits/second. How about having some 1000+ Kbit/s version of the Bill Hill hike video?
scobleizer wrote:Actually, it is hard. Especially when you're a developer trying to keep up with Anders' big brain.
We'll try to do better, though. Charles shot that himself without any help.
Charles wrote:
MikeS wrote: It's always great to listen to Anders, but when are we going to be able to SEE HIM!!! Isn't it about time we had Anders# instead of Background#? Not only is he blurry and you can read his book titles fine, but in a lot of the shots by the whiteboard - sorry grayboard - Anders is actually BLACK!
When are you guys going to learn how to use your video camera? Come on! Go get "Video Cameras for Dummies" and figure out how to press a couple of buttons to lock the exposure and focus.
It's really not that hard!
Is is really that bad? Seems relatively fine to me. Anyway, I'm not a camera guy, sorry.
C
scobleizer wrote:Androidi: what OS are you on? What version of Media Player are you on? The videos are 320x240 so shouldn't be blocky if played at that size.
sc00ter wrote:perhaps encoding them to 640x480 might be a bit better?
Comment removed at user's request.
Dear Scobelizer et al.,
First of all: Thanks to you all for your service to the community!!!
What I would VERY much appreciate though is lower bandwidth video versions, or, - like with Dave Probert in the first three parts - you could have easily spared the video portion at all and provided one loRes picture! Only the fourth one included some major whiteboarding which needed the picture.
Currently I´m consuming three quarters of my 2GB download allowance to listen to the shows and see shaky camera faces I don´t wanna see.
Please take Franklins.net as an example.
Thanks again and no offense, please!
G
dantheman82 wrote:Weird thing with this video is that I feel like a freshman in college (although he's a better teacher than most). This is quite basic C++ templating under a different name, something I've missed on occasion in C#. However, the C# conversion between int/string/etc. is much easier than C++ (and even Java) was.
"list.Add(42)"
I listened to the first 2 seconds of the video like 5 times so I could figure out how to pronounce his name.