Sunday, January 15, 2006

You have a little piece of scotch tape on your finger but don't realize it.

Your finger is a little swollen from being scratched.

Lucky for me I a) noticed that little piece of tape that day and b) can use my other index finger until my right one is better.



Don't Forget: www.acehaid.org
Sunday, January 15, 2006 5:44:38 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I have a VS2005 app that has assemblies with inherited forms and classes and there is something not quite right in my references that makes these particular assemblies very unstable.

This is a project that is being ported from VS2003.

When trying to load the form up in the designer, I frequently get "Could not load file or assembly" with a reference to a class file that has nothing to do with UI. And then I cannot access the design surface.

The referenced assembly is also referenced in the class from which the winform inherits. Sometimes I change the references (in both assemblies) to point to the compiled dll and then it's working. Then somehow it breaks again. Sometimes, then pointing them both to the project, rather than the dll might fix this but maybe not. And I might battle it for a while then just have to walk away from the computer with my hands up in the air.

It's very frustrating. Sometimes I can get away without having to have access to the design surface for whatever it is that I am doing. But I sure wish I could figure out what the heck the problem is, why it prevents me from loading up my winform and solve it once and for all.

Update: Today, this particular one was solved finally by referencing the DLL and not the project of the class that the form was inheriting from. If I had the time to try to figure out WHY, I would, but I know have to get back to working on this project.

Don't Forget: www.acehaid.org
Sunday, January 15, 2006 11:53:30 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I finally figured out how to access the overrides in Visual Basic 2005 - a method that is different than in VB in 2003 or in C# in 2005. [Read more...]

[A DevLife post]



Don't Forget: www.acehaid.org
Sunday, January 15, 2006 10:50:28 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Saturday, January 14, 2006

WSE 2.0's messaging API gave us the ability to host web services outside of IIS. Though it was very cool, I didn't dig that too much because you had to give up all of the other WSE goodness that only worked in ASMX - including security.

In WSE 3.0, they changed this so that you could build ASMX web services, do all of the great security stuff and then host it outside of IIS - for me this meant TCP, though there are other transports you can use as well.

Now that I am using WSE3 to secure my web services that are currently being used (while we await WCF :-) ), I am trying to do so with WCF in mind. It is no secret that WSE 3.0 is going to be wire level compatible with WCF as this is was of it's major design goals.

As I dig further into this, I learn that this is only true for HTTP but not the TCP hosted services. However, it is possible to write your own transport channel in Indigo specifically for this purpose and this is something that Yasser Shohoud and Kenny Wolf did at PDC (here's the code for that). Luckily for me, I have the DVD because that was not a session I attended. I also missed Mark Fussell's talk on moving messages between WSE 3 and Indigo since I had remembered it as a 10:15 session when it was in fact an 8:30 am talk (and had a leisurely breakfast instead - oops!). (Again, thank goodness for the DVDs)

At ASP Connections in April, I will be doing a talk about using WSE 3.0 so that the messages produced by WSE 3.0 today to secure your web services,  will still be valid when communicating with apps that use WCF.  So as I prepare for this, I will probably be sharing tidbits here and there.



Don't Forget: www.acehaid.org
WSE
Saturday, January 14, 2006 2:43:06 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

This got me once again. It's really hard to remember!

When you do declarative programming in Visual Basic and you use attributes that have properties, you need to set the values on those properties. VB does this in a funny way.

Here is a C# attribute for BP (Basic Profile) Conformance in a Web Service:

[WebServicesBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

Setting the value of the ConformsTo property is a normal looking equals (=) operator.

But with VB, look at how we set the property

<WebServicesBinding(ConformsTo: = WsiProfiles.BasicProfile1_1)>

We put a colon in front of the equals sign.

This is not new to VB2005, but attributes are something I so rarely use (but will be using more and more as I do more WCF programming) that I forget from one year to the next.

I have never been able to find an explanation of why this is and only know it because I get a compiler error when I forget it ("named argument expected") and I have to see another example of it's use somewhere before I realize it. Intellisense doesn't give me a helping hand with it (as far as I have seen in vs2003 or vs2005). So, perhaps by writing this blog post, I can commit this to memory finally!

 



Don't Forget: www.acehaid.org
Saturday, January 14, 2006 2:07:06 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I was a little taken aback to see this Feb 2006 cover of ASPNET Pro Magazine :-)

 



Don't Forget: www.acehaid.org
Saturday, January 14, 2006 12:23:41 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
Scott Mitchell and Scott Guthrie are both writing about one of my pet VS2005 technologies, Debugger Visualizers. Check out their posts which have lots of web programming visualizers in them.

Don't Forget: www.acehaid.org
Saturday, January 14, 2006 12:16:23 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Don Smith, Mark Fussell, Ron Jacobs and Dwayne Wright are doing webcasts on securing web services with wse 3.0.

The first, Securing Web Services with X.509 Certificates in WSE 3.0, is already on line.

They will be doing one on Kerberos this coming Wednesday, Jan 18th, and then another with UsernameTokens on Wed Jan 25th.

Stay tuned here.

 



Don't Forget: www.acehaid.org
WSE
Saturday, January 14, 2006 12:13:56 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
This was just released this week.

Don't Forget: www.acehaid.org
Saturday, January 14, 2006 9:55:02 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
Open Membership Discussion

How can VTSDA Move Forward and Benefit the Membership?

VTSDA has been around since late 2004. Since this time we have had many monthly meetings, but what else has VTSDA accomplished? What do we currently have in the works? What else should we be thinking about? Who would like to get more involved to help us move forward?

Come to this meeting to have a voice in the future of VTSDA.

Wed Jan 18th, 12- 2pm, Ethan Allen Club Burlington

Luncheon Meeting: VSTDA Members: $15, Non-Members: $20

More information at www.vtsda.org



Don't Forget: www.acehaid.org
Saturday, January 14, 2006 9:52:31 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Friday, January 13, 2006

At what point does the software you write advance your clients' political agenda? And where in relation to that point, if their politics differ from yours,  do you draw the line? [Read more...]

[A DevLife post]



Don't Forget: www.acehaid.org
Friday, January 13, 2006 2:16:35 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Country Walkers

Immediate full-time Website Administrator/Ass't Marketing Coordinator. This person manages all website content including images, as well as coordinates and oversees additional desigh and SEO. Also assists Media Director with writing, editing and production of all marketing brochures.

Pluses: MS Office, Photoshop, Quark, Dreamweaver & Adobe Indesign

more info

jamen@countrywalkers.com

 



Don't Forget: www.acehaid.org
Friday, January 13, 2006 12:52:02 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

6 Degrees Software

Jobs Page



Don't Forget: www.acehaid.org
Friday, January 13, 2006 12:42:13 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
Friday, January 13, 2006 12:40:15 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
Friday, January 13, 2006 12:37:22 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Competitive Computing is advertising for two developers and a business analyst.

More info here



Don't Forget: www.acehaid.org
Friday, January 13, 2006 12:34:12 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Thursday, January 12, 2006
I just had to see! And it works. I can run my old FoxPro 2.5 DOS and FoxPro 2.6 Windows applications on Vista CTP 5270. I only started up the apps and did a few functions. No thorough testing by any means. But I thought that was pretty cool.

Don't Forget: www.acehaid.org
Thursday, January 12, 2006 10:42:05 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I went around and around (and dragged poor Sushil Chordia and blogless Leonid Tsybert along for the ride) with an access permission problem that my ASPNET account was having when trying to do SqlDependency.Start. All of the correct permissions (listed below) had been applied to the account, which could be verified with sp_helprotect,NULL,ASPNET

Finally, I just gave up and removed the ASPNET account from SQL Server in its entirety and recreated it with the necessary permissions and everything worked just fine.

Though I'm very frustrated not to have figured out what was causing the problem, I'm satisfied in knowing that there is a solution (remove & recreate.)

Here, as listed in Sushil's fantastic blog post from late September, which listed all of the RTM changes for Query Notification, is how to set up the perms.Note that this is for IIS5 whereas in IIS6 you would use the NT Authority\NetworkService account.

All of this is run against the database that you want the perms for, not in Master.

sp_grantlogin 'myMachineName\ASPNET'     --this gives the ASPNET account login access to SQL Server
sp_grantdbaccess 'MyMachineName\ASPNET', ASPNET   --this gives the login access to the database with the "nickname" ASPNET

GRANT CREATE PROCEDURE to ASPNET
GRANT CREATE QUEUE to ASPNET
GRANT CREATE SERVICE to ASPNET
GRANT REFERENCES on CONTRACT::[http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification] to ASPNET  --note that the schema is case sensitive!
GRANT VIEW DEFINITION to ASPNET

The above are to call Start(), to do the actual notifications, you need:

EXEC sp_addrole 'sql_dependency_subscriber'
GRANT SUBSCRIBE QUERY NOTIFICATIONS TO ASPNET
GRANT RECEIVE ON QueryNotificationErrorsQueue TO ASPNET
GRANT REFERENCES on CONTRACT::[http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification] to ASPNET
EXEC sp_addrolemember 'sql_dependency_subscriber', 'ASPNET’
GRANT SELECT TO ASPNET



Don't Forget: www.acehaid.org
Thursday, January 12, 2006 4:29:39 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Wednesday, January 11, 2006

Dwight Asset Management is in search of an Excel/VBA Macro programmer to work on a contract basis for a few weeks with our firm. 

The position will require the contract programmer to be in the office.  It is a position requiring approximately 80-120 hours of work, hopefully to occur within the next six weeks.  Resumes and contact information may be e-mailed directly to me at this address.  Pay rate is competative and is commesurate with experience.

Thank you very much!

Sara Lynn
Tech Department
Dwight Asset Management Company
slynn@dwight.com
(802) 383-4088



Don't Forget: www.acehaid.org
Wednesday, January 11, 2006 10:50:41 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

At the Vermont.NET meeting (our Visual Studio Community Launch) Laura covered some of the most interesting of the UI basics that are new in ASP.NET 2.0. There were a lot of attendees to this meeting that are brand new to ASP.NET 2.0 and want to learn more. A really good starting point is the www.asp.net website. On there you can find a Guided Tour of Visual Web Developer 2005 Express, which is basically the web development only portion of Visual Studio - and therefore a fantastic place to get started with ASP.NET 2.0. Also, the ASP.NET Developer Center is a great launching pad, to find video training, the quickstarts, even a link to getting a free 3 hour training CD from AppDev.

There are amazing resources on the web.

There are also plenty of ASP.NET 2.0 books coming out that are great for beginners.

Bipin Joshi's Developer's Guide to ASP.NET 2.0 is aimed at ASP.NET 1.x developers moving to ASP.NET 2.0, but covers everything, not just "what's new".

From Wrox: Beginning ASP.NET 2.0 from Dave Sussman and a crew of excellent writers.

The ASP.NET v2 The Beta Version, which we raffled off when Rob Howard was at the group in November and also at Monday's meeting, is pretty close to being current with the release version.

Professional ASP.NET 2.0 another WROX book by my buddies Bill Evjen, Farhan Muhammed and more!

Pro ASP.NET 2.0 from O'Reilly.

Murach has an ASP.NET 2.0 Upgraders Guide. One for C# and one for VB.

O'Reilly has ASP.NET 2.0 A Developer's Notebook is another "what's new in 2.0" book that has  50 hands on projects. They have a few other asp.net 2 books as well.

Laura also posted resources from her session here.

This is just a VERY SHORT list to get you started in case you don't know where to turn next. There are so many online resources. In addition to the official microsoft ones above, there are many community sites like www.ASPAlliance.com and www.ASPAdvice.com. There are forums galore and of course blogs blogs blogs.

Wednesday, January 11, 2006 10:48:16 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  |