ajdotnet


Comments:

Got GAT?

posted by ajdotnetajdotnet(2940) 5 years, 3 months ago 0

FYI: We HAVE worked with GAT for some time and implemented (and shipped!) two non-trivial packages. And we are already working on new stuff.

Reply

AJAddIn v2.1

posted by ajdotnetajdotnet(2940) 5 years, 2 months ago 0

See http://ajdotnet.wordpress.com/2006/12/16/its-christmas-time/ for more information (and sorry for the useless comment).

Reply

C# 3.0 Sets support, a first look

posted by ajdotnetajdotnet(2940) 4 years, 10 months ago 0

Why? It's just syntactic sugar to avoid having to type the type twice in each line. And it's designed specifically for that, i.e. intended usage rather than abuse.
Please note: 'var' does not mean typeless/nothing/latebound (as in other deranged languages ;-)). Rather it tells the compiler to use the type of the assigned value (type inference).

Reply

Best Practices - Fast, Scalable, and Secure Session State Management

posted by ajdotnetajdotnet(2940) 4 years, 8 months ago 0

Times may have changed, session state did not. The article still describes the basics of how session state is handeled at the ASP.NET infrastructure level. Very usefull to know if you deal with sessions.

Reply

Using LINQ to SQL (Part 1)

posted by ajdotnetajdotnet(2940) 4 years, 8 months ago 0

This post starts a series about LINQ that is IMO the most comprehensive coverage of the topic. The more you read the more you grasp the power of LINQ (and the VS support).
IMO Linq will be the prevalent means of data access tomorrow, replacing ADO.NET datasets (which really _is_ a change in strategy) and homegrown ORMs.

Reply

StringBuilder is not always faster

posted by ajdotnetajdotnet(2940) 4 years, 8 months ago 0

@jamesewelch:
string.Concat is not _better_ than “+”, it’s identical. If you write “string s= a + b + c;” the compiler will actually emit “string s= string.Concat(a,b,c);”. It has to be one statement though, which is one reason why the sample loop didn’t use it. Thus you may rewrite the last loop to:
for (int i = 0; i <= 1000000; i++)
{
string s = i.ToString() + i.ToString() + i.ToString();
}
and it will produce the exact same IL. Have a look at http://ajdotnet.wordpress.com/2007/05/20/about-the-virtue-of-not-improving-performance/ for details.

HIH,
AJ.NET

Reply

Speed Up Your Site! 8 ASP.NET Performance Tips

posted by ajdotnetajdotnet(2940) 4 years, 7 months ago 0

@foobar: regarding "And there's way easier and much better ways to override the default page viewstate persister than the terribly outdated example given."
I don't agree on your assessment (if only the vehemence). The .NET 2.0 options (including SessionPageStatePersister) have their pitfalls as well.
See http://ajdotnet.wordpress.com/2007/03/17/get-view-state-off-__viewstate/

Reply

TDD Proven Effective! Or is it?

posted by ajdotnetajdotnet(2940) 4 years, 3 months ago 0

Never mind whether Jacob is wrong or right. The fact remains that he has taken a critical point of view on a hyped topic and whether one agrees with his statements or not, they are worth considering. Leave the emotions out of your comments and focus on the facts, would you? (We ought not to join the lemmings and there is no need to be touchy just because someone does not agree.)

Reply

... functional programming might be the next big shift

posted by ajdotnetajdotnet(2940) 4 years ago 0

@samdnp: IMO funcional will continue to _change_ languages, libraries, and patterns; but it will hardly _replace_ the current mainstream languages. After all, OO and imperative programming haven't become obsolete just because a (very old indeed) paradigm shows up.

Reply

Simulate a Windows Service Using ASP.NET to Run Scheduled Jobs

posted by ajdotnetajdotnet(2940) 3 years, 8 months ago 0

I can understand that somebody shys away from windows service development, but especially "to run scheduled jobs or cron jobs" this work has already been done by Microsoft: That service is called Scheduler!

As for using IIS for the job: a gross abuse in my opinion.

Reply