All posts by Julie

Vermont.NET tonight – Asynchronous ASP.NET 2.0

I’ll be doing a talk on ASP.NET 2.0’s Asynchronous features (async pages, async tasks and more) tonight at my home town user group (VTdotNET).

Huge thanks to SyncFusion for sponsoring this entire meeting. Not only are they covering the pizza & soda, but they have given us a license to Essential Studio to raffle off. It’s a $1300 product (okay, that’s the retail price). And there will be even another raffle for an individual license of any one of their components.

Vermont IT Jobs: Lots of Developer, DBA, SysAdmin and related jobs for State of Vermont

No direct link so here’s how I found these:

Go to the State’s public recruitment site: http://erecruit.per.state.vt.us/index.html

Select View Job Postings/Apply for  a Job

Search with the cateogyr “Info Technology & Statistics” selected.

There are over 20 job listings here such as Systems Developer, Network Admin, DBA.

There are a few Data Analyst jobs in there as well.

 

Vermont IT Jobs: ASP.NET, C#, VT.NET, Java, WinForms contract developers in Williston VT

Daybreak ICS, in Williston VT, is looking for software developers (1099s) for short-medium term projects over the next 6 months starting in September 2006, with potential for ongoing work.

Projects will include design/build/test/implementation of applications for various aspects of Content Management. Anticipated skill sets include experience coding in Java, C#, ASP.net, VB, and Win GUI development. Project duration could be from a few weeks to a few months, and will include at least part of the time in our Williston, Vermont offices. There is a potential for limited national travel for a short-term project for requirements definition, but that should be minimal.

Any interested candidates should forward their resumes to Andy at alowe@daybreakICS.com.

yes Virginia, SqlConnection.Dispose CALLS SqlConnection.Close

I was recently involved in an ASPAdvice thread about close and dispose – an age old .NET debate. (Okay, the “age old” part is relative.)

As backup, I quoted the msdn documentation that says “close and dispose are functionally equivalent” and someone pointed out not to believe everything I read and that in .NET 1.1, it was known to be “broken”.

With a hint from Angel Saenz-Badillos from the ADO.NET team, I opened up reflector to find proof that dispose will close as well . See the guts of dispose and close below.

I don’t see anythingn wrong with still calling close *and* dispose, just to be completely explicit. I’ve seen people do it inside of using blocks with a connection, even though the end of the block will call SqlConnection.Dispose which in turn calls close. So it’s redundant. And you would think that C# programmers would celebrate the use of less code.

Are there truly known cases where this fails?

This is SqlConnection’s Dispose method:

protected override void Dispose(bool disposing){if (disposing){this._userConnectionOptions = null;this._poolGroup = null;this.Close();}this.DisposeMe(disposing);base.Dispose(disposing);}
And just for fun…SqlConnection’s Close method. Don’t get confused by that Dispose at the end.
That’s for a different object, not the actual connection.
 
public override void Close(){IntPtr ptr1;Bid.ScopeEnter(out ptr1, “<sc.SqlConnection.Close|API> %d#”, this.ObjectID);try{SqlStatistics statistics1 = null;RuntimeHelpers.PrepareConstrainedRegions();try{statistics1 = SqlStatistics.StartTimer(this.Statistics);lock (this.InnerConnection){this.InnerConnection.CloseConnection(this, this.ConnectionFactory);}if (this.Statistics != null){ADP.TimerCurrent(out this._statistics._closeTimestamp);}}catch (OutOfMemoryException exception3){this.Abort(exception3);throw;}catch (StackOverflowException exception2){this.Abort(exception2);throw;}catch (ThreadAbortException exception1){this.Abort(exception1);throw;}finally{SqlStatistics.StopTimer(statistics1);}}finally{SqlDebugContext context1 = this._sdc;this._sdc = null;Bid.ScopeLeave(ref ptr1);if (context1 != null){context1.Dispose();}}}

More on DevReach Bulgaria

I see that DevReach has two new sponsors, CoDe Magazine and MSDN Magazine. This is great news. And even greater, I have learned that Malek Kemmou, who I have not seen since he made the transition from Regional Director (which enabled him to travel to many conferences in the U.S.) to a Microsoft employee (Techology Architect in SOA and Business Process for Microsoft MEA), a job which does not allow us to see him over here any more. Boo hoo. So I’m very happy to hear he will be in Sofia as it has been tooooo long.

This is going to be a fantastic conference. I’m truly looking forward to it and then galavanting around Bulgaria with my friends in Tourista mode.

One of my prepration tools is here.