All posts by Julie

Hosting WinForms Controls in ASP.NET 2.0 VS2005 wierdness

I have spent most of the day trying to understand some bizarre behavior in VS2005 with ink on the web apps. The issue is not related to the inkable control per se, but the Windows Forms control hosted on a web page.

When I compile the Window Control Library into a dll for the first time, add it into the web project, then embed into the html as an <OBJECT> it works fine. But if I recompile the dll and re-add it tothe project, the control does not display. I get the standard “image not found” graphic that you would get on any web page displaying a jpg where the jpg is not available.

After many hours, I discovered the solution, which I am leaning towards thinking is only related to working on the development machine – if I change the name of the output assembly, then add that new assembly to the web project and modify the object tags accordingly, it works just fine.

This really made me nuts and I think I spent 6 hours trying to figure out “what I was doing wrong”. Of course, I’m not done with this yet… as this is not good behavior! I’ll have to find out if there is a logical reason for this, but it will be one more hindrance to people using ink on the web if they are developingin VS2005.

Don’t Forget: www.acehaid.org

A little more DLL hell today in VS2005 and how it affected my ClickOnce deployment

I have an application with lots of projects in it.The main project, which compiles to the EXE has references to two Janus assemblies and to one of my own assemblies (the dll, not the project). Additionally, I have about 15 assemblies that use these components and point to their dll’s in the same location as the main exe does. Somehow, something got out of whack and in design mode the main exe couldn’t “find” these 3 assemblies. I got that fixed and at the same time had to make some different changes to two of the other assemblies. After doing my update via clickonce, I couldn’t load these two assemblies in the application on client machines. I did a lot of recompiling and redeploying of specific assemblies so that I could continue with my minimal impact ClickOnce update.This means that I don’t republish and redploy the ENTIRE application, but can just move only the assembies I need to the webserver and recreate the manifests there. (I need to write an article on this).

When I tried to access the functions that loaded these assemblies, there was an error complaining about matching assemblies listed in the manifest.

“The located assesmbly’s manifest definition does not match the assembly reference”

When I opened up these projects in VS2005 and looked at the references, those three assemblies had this “<system could not find the reference specified>” in the value where the path should have been.

So, I had to load up every one of these projects and in each one, remove the existing refs to those 3 assembiles and re-add them in.

Then I rebuilt the entire solution and had to run the full publish utility on my development machine and redeploy the entire application to the web server – a two part process. Two-part, because the dynamic assemblies do not get picked up by the publish tool. I have to deploy the results of the publish, then copy that folder into a new folder (next version number), add all of the dynamic dll’s, then rebuild the manifests. (That’s part of the trick I will write about in the aforementioned article.) The whole app is about 11MB. Copying this over VPN with 350K upload speed takes longer than I have patience for, but that’s life.

Nevertheless, after a lot of copying, pastng, manifest buildng adn testing, I was able to get the whole re-jiggered app deployed without requiring the dreaded un-install. The end-users won’t even notice a thing tomorrow morning when they get back to work.

 

 

Don’t Forget: www.acehaid.org

Discount for DevConnections Europe for INETA User Group Leaders and Members!

From Damir Tomicic’s weblog:

Great offering for INETA User Groups in Europe – DevConnections, 24-27 April 2006, Nice, France, with ScottGu, Dino Esposito, Michele Bustamante, Juwal Lowy, Prashant Sridharan, Hans Verbeeck and many more:

“…Hi Damir,  I would like your help getting the message out to INETA members in Europe that we are offering them a discount to the event in Nice and I will give you a discount code to offer…”

You are INETA UG leader or INETA UG member? You would like to attend the conference and get INETA discout? Contact me at: Damir Tomicic@ineta.org 


Now in its sixth successful year in the US, Developer Connections now makes it s European debut on the French Riviera. Meet Microsoft developers and DBAs from around the world and build a network of peers to stay in touch with.  Unwind and relax with you colleagues in Europe on the French Riviera while obtaining the most relevant technical advice from Microsoft’s ASP.NET, Visual Studio and SQL Server teams and training with Microsoft architects and world-renowned developers and DBAs delivering over 80 in depth, no hype sessions!



Don’t Forget: www.acehaid.org

PAG announces Service BAT – Guidance design and even implementation for WCF services

Ahh, I’m a day late and a dollar short. Yesterday the PAG Team announced Service BAT – Service Baseline Architecture Toolkit – that will guide and help you implement WCF and ASMX services. They have had a bunch of plumbers helping them out including Christian Weyer and Pablo Cibraro. I can’t wait to get my hands on it. This type of tooling will help take another layer of fear (and unintentional bad design) allowing WCF to be accessible to a lot more people.

Here’s Jason Blogg’s announcement.

Edward Bakker has some good details.

Don’t Forget: www.acehaid.org

Who needs security on PPC anyway?

(note: for those of you who need this clarification – eg the anonymous commentor who gave me the big lecture 🙂 – the title and the last sentences of this post are intended to be sarcastic. Sheesh.)

In my talk on Preparing WSE3 Web Services for WCF at DevConnections, I was asked the dreaded question: do these work on the compact framework?

Nobody likes to get this question, because the answer is just way too embarrassing.

The answer is “No”.

This has been the cause a lot of ruffled feathers in the CF and Web Services community. Casey Chesnut , our resident genius, even wrote his own implementations: cfWSE and cfWSE2.

The last version of the WCF story that I heard was that R1 will not have it, but R2 will. The WCF footprint is small which will help enormously. But R2.

To top it off, though I don’t have a PPC and didn’t see this myself, I am astonished to learn through Softwaremaker, yet another place where security has been set aside: Passport logins. On the web, we get a login and a masked password, along with options to remember the login, password or both. Not only are those options gone with the PPC interface, but the password is not masked! Hello?

I suppose that it is another indication that people who use PPCs or write applications for them, are just not doing anything important enough to require security. I suppose.



Don’t Forget: www.acehaid.org

Seven things I learned at DevConnections in between sessions

I just returned from another fantastically successful DevConnections conference. There were so many attendees, the weather was great and just so many fantastic speakers and sessions. In addition to what you can learn in sessions, just being there provides a lot of opportunities to learn even while wandering the halls. Here are seven things I learned in between sessions….. [read more…]

[A DevLife post]

Don’t Forget: www.acehaid.org