The true cost of Open Source Hosting
posted by FlySwat(485) 4 years, 6 months ago 0
Hi McGurk, your math was wrong on your comment. 8000 Requests / $130k = $0.06 per request. 1500 Requests / 30k = $0.05 per request.
Reply
Thats inherently flawed math, because as I stated in the post, they do not scale linearly (which would give you your $160k number), you need far less hardware on the windows side. Also, your $16 per request number is totally wrong.
Keep Your Template Logic in the Template
Why the animosity? The .NET community is small enough as it is, there is no need to turn on fellow coders. That said, I disagree with you entirely. Also: 1. ASP:Labels and ASP:Literals have no viewstate. 2. Html Controls with runat="server" are represented as System.Web.UI.Controls.HTMLControls in the Control Tree, which has the same footprint as my ASP controls. 3. You are doing the exact same thing in your example as mine, binding a business object to a repeater...Except in your example you don't have compile time checking because its all inline in the aspx. It is also harder to understand, modify, and maintain. 4. If your project follows a Build / QA / Deploy schedule, I don't want to see people fixing things in the aspx and pushing them to production without following procedure. 5. Why the hate? Does your blog not get enough readers?
You are right, Labels and Literals do have view state if they are modified. http://msdn2.microsoft.com/en-us/library/ms972976.aspx
Ew, I can't edit my last comment. Labels and Literals only have viewstate if they are modified after a postback. In this situation, that never happens, so there is no viewstate.
Extend your application by creating a Plugin System
posted by FlySwat(485) 4 years, 5 months ago 0
System.AddIn is a .NET 3.5 feature, and I'm targeting .NET 2.0 at the moment due to a lack of shared host providers who provide 3.5 yet.
LINQ-To-Objects and Referential Equality
posted by FlySwat(485) 3 years, 3 months ago 0
with should be without.
Infinite Lists With C# Yield
I see someone has been playing with Haskell. Lazy evaluation can be mocked by using yield much like Python mocks it using iterator generators.