|
-
Problem After making a lot of changes https://www.brainytrading.ng/1xbet-app-download to a web application and thoroughly testing them in our development environment (my local machine), I uploaded the changes to our production server and get the following error message: Exception Information: The 'href' property had a malformed URL: Cannot use a leading .. to exit above the top directory.. (System.Web.HttpException) Solution Apparently, the error message is trying to tell you that a URL you are specifying is trying to access a page that is in a folder somewhere above your website’s root directory (“above the top directory”). My problem was caused by the following lines of code in my “master” page: 1: HtmlAnchor link = new HtmlAnchor();
2: link.HRef = "../File/FileView.aspx?FileID=" + fileID;
3: link.InnerText = fileFullName + " - " + fileID;
4: phRecentFiles.Controls.Add(link);
Once I changed line 2 from “..” to “~” (root directory), the site worked fine. Here is the final code:
1: HtmlAnchor link = new HtmlAnchor();
2: link.HRef = "~/File/FileView.aspx?FileID=" + fileID;
3: link.InnerText = fileFullName + " - " + fileID;
4: phRecentFiles.Controls.Add(link);
|
-
Rapid Development (McConnell) is one of those books that should be on every programmer’s bookshelf. I regularly pull it from its place on my shelf, sitting somewhere between Code Complete (McConnell) and Peopleware (DeMarco & Lister). The QA guy on www.brainytrading.ng/1xbet-app-download our team is leaving and we may need to fill his spot with a permanent employee, eventually. The first place I went for advice about selecting new team members was my notes on Rapid Development, which led me the following relevant points. Steve McConnell quotes them from Barry Boehm’s book, Software Engineering Economics: - Top talent – Use better and fewer people.
- Job matching – Fit the tasks to the skills and motivation of the people available.
- Career progression – Help people to self-actualize rather than forcing them to work where they have the most experience or where they are most needed.
- Team balance – Select people who will complement and harmonize with each other.
- Misfit elimination – Eliminate and replace problem team members as quickly as possible.
While the above is not detailed, I think it is self-explanatory, and good advice. Maybe, in the future, I will try to break them down and go into more detail on how I think these can be applied brainytrading.ng/1xbet-app-download practically.
|
-
-
- Learning ins and outs of log4net. Using it in a one-off .NET console application.
- Best log4net quick-start tutorial, I have found, thus far.
- Using desktop version Balsamiq Mockups for web tool layout. Loving it.
- Learning how to create button that follows u as u scroll browser, using jQuery plugin inside of ASP.net page: http://is.gd/4Loht
- I am selling a Nikon D40 digital SLR camera with 18-55mm lens. Less than 2 months old: http://is.gd/4MbmX
- Fixng ASP.NET problem: The Controls collection cannot be modified because the control contains code blocks. http://is.gd/4MdNn
- Looking forward to Lord of the Rings Online: Siege of Mirkwood expansion. Check out the latest trailer.
- Learning Scrum from Agile & Iterative Development: A Manager's Guide
- I really like that the Scrum Master's roles is to remove blocks, provide resources, act as a firewall, and otherwise stay out of the way.
- Similar to Scrum, my product/sprint backlogs are referred to as "wish-lists", organized by the Product Owner.#programming
- Unlike Scrum, my iterations average about 6 weeks and estimates are broad and team size is 1. #programming
- Sounds like Scrum suggests customer demos and feedback at end of 30-day sprint. I prefer earlier and often. Learn what's not working early.
- Learning about WordCamp: community-organized WordPress events. I did not realized how popular WordPress is.
- Would like to add feature to my search tool: Enter 'Robert' automatically search for 'Rob' and 'Bob'.
- Sounds like first name variation search may not be such a great idea. Probably better to leave in hands of user.
Follow me on Twitter
|
-
-
Dear reader, these notes were taken while reading How to Think Like a Computer Scientist, by by Allen Downey, Jeffrey Elkner and Chris Meyers. I was reading through it as part of MIT OpenCourseWare’s 6.00 Introduction to Computer Science and Programming. My notes are just a snapshot of this chapter with some of my commentary. I highly recommend reading the chapter in its entirety. In fact, if you are new to programming, you should probably read the whole book.
C, C++, Perl, and Java are high-level languages. For whatever reason, I never think of C as a high-level language.
Low-level languages are sometimes referred to as "machine languages" or "assembly languages".
Benefits of writing in high-level languages:
- much easier to program
- take less time to write
- shorter and easier to read
- more likely to be correct
Two kinds of programs that process high-level languages:
- Interpreters – Alternates between reading a line of a high-level program and executing it.
- examples – Python, Lisp, Ruby, Perl
- Many interpreted languages are first compiled to some form of virtual machine code, which is either interpreted or compiled at runtime to native code (aka machine language). (via Wikipedia)
- examples – .NET Framework languages (C#, VB.NET, etc.), Java, Lua
- Compilers – Reads the program and translates it completely before the program starts.
- source code – high-level program
- object code (aka executable) – translated program
- examples – C, C++, BASIC
Three kinds of errors can occur in a program:
- Syntax errors – refers to errors in the structure of the code.
- Runtime errors – does not appear until you “run” the program.
- Semantic errors – you program runs successfully and does not generate any errors; but, it doesn’t do the right thing.
“remember that formal languages are more much more dense than natural languages, so it takes longer to read them”
The above statement reminds me of Joel Spolsky’s article, Things You Should Never Do, Part I:
“The reason that they think the old code is a mess is because of a cardinal, fundamental law of programming:
It’s harder to read code than to write it.”
|
-
The July Bloomington .NET Users Group meeting is tonight, July 14th. Keep reading for details: Colin Blair from EKI is going to talk about Silverlight 3.0 and how it can be used to create rich business applications. Colin is currently developing Silverlight applications for the State of Illinois and has a ton of experience with this great new technology. Microsoft Silverlight is a programmable web browser plugin that enables features such as animation, vector graphics and audio-video playback which characterize rich Internet applications. Version 2.0, released in October 2008, brought additional interactivity features and support for .NET languages and development tools. Microsoft made the beta of Silverlight 3.0 available on March 18, 2009. The final version is expected to arrive on July 10, 2009. The timing and subject of our meeting can’t be more perfect with the July 10th go-live of Silverlight!!!
Register here.
|
-
If you are a fan of Twitter Inserter, please rate it on Windows Live Writer plugin gallery. Or, better yet, write a review. You can do both by going to the Twitter Inserter Windows Live Writer Gallery page. Windows Live Writer is a desktop application that makes it easier to compose blog posts and submit them to your blog service. Twitter Inserter is a Windows Live Writer Plugin that compiles your most recent Twitter posts into a well formatted bullet list so you can post them to your blog. I first released Twitter Inserter June 28th, on Windows Live Writer plugin gallery. Since then, it has been downloaded more than 200 times.
|
-
- StackOverflow Podcast 57
- Platform vendors: What happens when you build an iPhone app that made obsolete by an iPhone OS upgrade? http://is.gd/10bDN
- Star Wars the Old Republic: Meet the next playable class, the street savvy, credit seeking Smuggler.
- Wondering what First Person Shooters the kids are playing these days? http://archive.gamespy.com/stats/
- Installed the Battlefield 2 demo to see if I finally want to break down and buy it. I think I will pass.
- I have to fix an issue with Twitter Inserter. Probably due to a Twitter API change. Need to get latest version of TweetSharp.
- I am starting to look at books like Head First Statistics as college courses. I won't get any credits, but I get the benefits of learning
- Sims 3 diary blog: Funny and sad at the same time
- Learning about the C# lock statement
- How to queue session requests to the same COM object in an ASP.NET application
- We SAY we like to learn new things, but do we really? Why don't students like school? (via KathySierra)
- Figuring out what changed in TweetSharp and caused Twitter Inserter to break.
- Figured out that an TweetSharp extension method is no longer called "Accounts", but "Account". That is why the VerifyCredentials broke.
- Fixed Twitter Inserter and submitted version 1.1 to the Windows Live Writer gallery for approval.
- My job isn't to program; it is to delight my client by creating tools that solve his problems and increase his productivity.
Follow me on Twitter
|
-
-
-
- Bought Mario Kart Wii. Whole family played for much of the day. Lots of fun. Love the online multiplayer mode.
- 77 is my highest on Flight Control, the fun little iPhone / iPod Touch game, thus far.
- Learning: Flot, a pure JavaScript plotting library for jQuery. Simple, attractive and interactive charts and graphing
- Learning: reCAPTCHA; a free anti-bot service that helps digitize books. Improve security while helping a good cause.
- Re-familiarizing myself with Remember the Milk for task list tracking. Have not used it in over a year.
- I see that Remember the Milk is still in "Beta". Should your app be out of "Beta" before you begin offering a "pay for Pro" version? LeeDumond says: What's better than getting users to test your app? Getting users to PAY you for testing your app!
- Remember the Milk: Wishing I could drag an item up or down (see NetFlix Queue) to change order of priority.
- Ran into an issue while uploading my Windows Live Writer plugin to the Windows Live Writer Gallery website. I figured out that the Microsoft site doesn’t play well with Firefox. Go figure.
- Using jQuery in ASP.NET
- Learn iPhone Development for Free: via Stanford U's online courses. Looks extensive.
|
-
I use Twitter as a micro-blogging platform. I assume that many of my readers do not use Twitter, and I want to share my Twitter posts (called “tweets”) with them. Enter Twitter Inserter. Twitter Inserter my first Windows Live Writer plugin. It compiles your recent tweets into a nice bulleted list and converts all of the appropriate text to clickable links, then inserts it into your Live Writer blog post. Windows Live Writer is “a desktop application that makes it easier to compose compelling blog posts using Windows Live Spaces or your current blog service.” It also works well with Community Server, which is what my blog is built on. Download Twitter Inserter Requirements: Additional Credits: - The icon was created by Alex Mathers.
- I am using the TweetSharp .NET library to interact with the Twitter API.
Please feel free to leave comments or questions at the bottom of this page.
|
-
The next Bloomington .NET Users Group meeting is Jun 9th. Keep reading for details:
What's this XNA thing I keep hearing about?
This talk will cover what XNA is (and isn't) along with what's
needed to develop with XNA 3.0. We will also cover target platforms of
Windows, XBOX 360, Zune and Surface. We'll go through some demos and
take a look at some code, identifying key aspects of the XNA Framework
and game development. We'll also discuss the Xbox Live Community Games. We will also welcome our new BNUG President!!!
Location:
Bloomington Microsoft Office
Event start: 6/9/2009 6:00:00 PM
Register here.
|
-
- Learning: Google Web Toolkit: Write AJAX apps in the Java language, then compile to optimized JavaScript http://is.gd/2bt5
- Learning: Helma, a Javascript Web Framework http://dev.helma.org/
- Don't let title fool you; the part about starting your own biz is useful to anyone: How to Succeed Writing Mac Software http://is.gd/zPtl
- Project: Start a Commonplace Book http://tinyurl.com/q6cbyo (via writingjamie)
- Thanks to Instapaper (http://is.gd/Ajjo) and Bartleby (http://is.gd/1QTq), I am enjoying reading Pilgrim's Progress on my iPod Touch.
- Finished good documentary The Conscientious Objector: Man refuses to carry weapon in WW2, but received Medal of Honor http://is.gd/AkjP
- Returned from vacationing in Branson, MO with my wife and son. Lots of fun.
- Shimer College: You like to think. You love to read. You don't want to sit in a lecture hall. http://www.shimer.edu
- Learning Modal Dialogs - first attempt: #aspnet Modal Dialog with PostBack and return values to Parent Page http://is.gd/Cm5e
- The 80/20 Rule of Reading: http://tinyurl.com/omwf8j (via writingjamie)
- Wanting to move from beginner/intermediate JavaScript developer to advanced. Tempted to buy Professional JavaScript for Web Developers http://is.gd/CnEh
- Experimenting with ModalPopup control in ASP.NET AJAX Control Toolkit http://is.gd/CoNx
- Lawn Mowing Material: got Made to Stick audio book from public library. http://is.gd/CpTU
- "A lie can get halfway around the world before the truth can even get its boots on." - Mark Twain
- Are You Addicted to Power Porn? http://is.gd/CxtE
|
|
|
|