Category Archives: dotNET

Rob Howard’s VTdotNET presentation

In February (’05) we had Rob Howard scheduled to speak at VTdotNET as an INETA speaker, and we were very excited. Even with a snowstorm, there were a lot of people planning to come. Unfortunately, the snowstorm prevented Rob from getting to Vermont …. he got stuck in Chicago at the airport waiting for his flight to take him to Vermont. The plane was delayed so many hours that we finally decided to cancel the meeting and Rob got on a plane back home to Texas. The Vermont bound plane did not arrive in Burlington until after 8:00 pm.

But he still wanted to come (and we still wanted him to!), so we scheduled Rob again and that meeting was last night – and it was worth the wait!

Rob did a presentation on ASP.NET 2.0 Tips & Tricks. He had a list of 10 cool things you can do with ASP.NET 2.0, but also talked about others that he was using in the code samples, such as master pages and the fact that VS no longer boggles your HTML formatting. Talks like these are great. Sure I can find the info elsewhere, but I am busy and focusing on many things at once, so having this stuff spoon fed to me is almost a necessity. One thing that makes a session great is not just showing how, but also explaining why, which Rob did regarding each of his 10.

Of the list, the one item that is the most intriguing to me is the cross page postback. I have had to do an enormous amount of trickery to move inkdata around in a web application as the ink data is client side data and I want to do things with it on the server side and have to do things like expose it in a hidden field, grab it in the server side code of another page from the page.request object then stuff it into a session and have my way with it. Pre-RTM,  I was having problems with ink on the web in VS2005, but will now be able to explore the possibility of simplifying moving the data around with the cross page postback. I still have the problem of the ink data being on the client side, not the server side, but with some additional tools at my disposal, I may be able to come up with a better solution.

Rob’s talk was great. As he said, he was only able to skip a stone across the surface of the goodies in ASP.NET 2.0, but it’s a fantastic start for people to be able to take advantage of the new release. The power of getting this information out in front of people is expressed well by Dave Burke, who said in a blog post this morningbecause of Rob’s presentation the fear of potential problems in migrating my primary development machine from Beta 2.0 to the RTM has been lessened by the anticipation of using VS2005 exclusively.”

Don’t Forget: www.acehaid.org

Rob Howard tonight at Vermont.NET

Rob Howard has come to Vermont on a cold, gray, cloudy, blustery day. Maybe we can make it up to him with a great pancake breakfast!

Rob is presenting at Vermont.NET tonight (thank you INETA!!) and will be giving a talk on ASP.NET 2.0 tips & tricks. We are very excited to have him here!

Addison-Wesley has donated 6 copies of ASP.NET v2.0 which Rob co-authored, to raffle off at the meeting! Plus we will be raffling off a copy of Infragistics Net Advantage.

Our .NET Newbie session is by Mike Soulia who teaches .NET development at Vermont Tech and also owns two awesome retail stores on Church Street in downtown Burlington (www.kissthecook.net and www.applemountain.net) which he built .NET e-commerce sites for in the very early days of ASP.NET (you may recognize the UI 🙂 ). Mike will be talking about Extreme Programming concepts.

Don’t Forget: www.acehaid.org

great little demo on hosting winforms controls in asp.net

MSDN Nuggets has a bunch of short videos (similar to hte great 10 minute groktalks) on how to do a variety of things in .net.

I caught this one by Mike Taulty that is on hosting windows forms controls in asp.net. What I really liked is the way he demonstrated the code access security issues that you have to be aware of. Rather than saying “don’t do this”, he did do it and showed what happens. Nice.

Follow the above link and look for “Hosting a WinForms Control on an ASP.NET web page”.

One thing that really surprised me was seeing Mike’s email on the beginning of the video. I had no idea he worked for Microsoft!

Don’t Forget: www.acehaid.org

Tim Ewald at Vermont.NET tonight

All I can say is “lucky us”!!

Tim is driving up (or is that over) from New Hampshire to give a fantastic talk I saw/heard him do at TechEd to the Vermont.NET user group tonight.

We are also lucky to have a new convenient venue for our meetings at Vermont Technical College and a sponsor for pizza & soda tonight: Technical Connections.

And just for icing on the cake, I recieved a big box filled with phenomenal O’Reilly press books today!

Don’t Forget: www.acehaid.org

Porting a good sized .NET app to .NET 2.0

Fun weekend ahead!

I have an app that is a smart client with a host of  about 20 additional assemblies that contain subclassed forms, classes and Crystal Reports that are dynamically loaded. The entire app uses web services for authentication and data access. The app uses 3rd party controls by Xceed, Infragistics and Janus, plus a few home grown ones by Juval Lowy and Duncan McKenzie (thanks guys). It also, of course, uses WSE 2.0. The application works very nicely however it’s big failing is deployment and I am shooting for Click Once.

My plan of attack is

  • update wse2.0 to wse 3.0 (I will leverage the upgrade tool for some of this)
  • remove some (but not all) of the 3rd party controls and replace with new improved Windows Forms controls
  • replace Juval’s .Net 1.x background worker component with .net 2.0’s (he designed the component to emulate the 2.0 one and for easy update)
  • replace xceed’s http compression tool with the new System.IO.Compression bits

There will be more but I think it will be great to feel what this is like in a real application.

We’ll see how it goes…

Hmmm, where is that “insanity” category?

Don’t Forget: www.acehaid.org

Hosting Ink-Enabled VS2005 WinForms controls in I.E.

I default all of my VS2005 web development to the file based web server (also referred to as the Development web server). This gave me a big headache today when I couldn’t solve a problem.

I was trying to host a Windows Forms control built in VS2005 in a web page.

Update: this problem seems to be specific to ink-enabled controls. Normal controls work fine against the development server.

No matter what I kept getting this where my control was supposed to be:

I moved the application to be hosted on IIS and all was well. If I can find out how to get this working on the file based webserver, I will post the solution.



Don’t Forget: www.acehaid.org

Using SvcUtil to generate WCF service proxy files

There was something I was not grokking about creating a proxy file from a WCF service that could then be used in the client app. I didn’t know what to tell the svcutil.exe tool to build the proxy from. Finally it dawned on me. I needed to have the service running and then point to it’s endpoint. Then svcutil was able to find the service and create the proxy. This may have been a problem for me because I am so used to using VS add web service for proxy creation.

I still have a little more work to do to get this client/service Indigo app running…

Don’t Forget: www.acehaid.org