Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to May 2007 Entries
Tools to generate WSDL from SOAP Sample?
I need to create client to web services that are documented by providing samples of SOAP messages, but there is no WSDL file available. I've done a Google search and bookmarked a few links, that can help: XSLT that transforms from XSD to WSDL and related Spring Web Services(inJava) Rick Strahl 's Syncing up external WSDL Schemas with a stock .ASMX Web Service? WSCF - Web services Contract-First, for real soapUI is a free and open source desktop application for inspecting, invoking, developing, simulating/mocking ......

Posted On Monday, May 28, 2007 10:51 PM

WaitAll to support calls from WindowsForms
We have multi-threading application that uses WaitHandle.WaitAll methods. It works fine, when called from ASP.NET, but when it is called from WinForms test harness, it causes the error "WaitAll for multiple handles on an STA thread is not supported.". I've included the workaround and moved code to helper function. However I needed to call the function with different parameters List<ManualResetEvent> and List<WaitHandle> . Even if ManualResetEvent is derived from WaitHandle, there is no ......

Posted On Monday, May 28, 2007 5:31 PM

Reference to different database in "Database Mirroring" environment
We have a stored procedure in one database that (among other things) insert a row to another database on the same server -something like INSERT INTO OtherDatabase.dbo.LogTable. We are using "Database Mirroring" feature of SQL Server 2005 having mirror on another server. However failover switch happens for each database separately and it can be situations, when one database run on the same principle server, but another switched to the mirror server. For this situation the mentioned above SP failed, ......

Posted On Saturday, May 26, 2007 2:54 PM

Ways to store bookmarks/favorites.
When I have a new task/project, it is often required to research existing solutions on internet. Usually I do a Google search, open a few links, quickly browse them and want to save urls for future references. The simple and convenient way is in IE create favorites subfolder for the project and save URLs as favorite. However it has two disadvantages- 1. Favorites are stored locally on the computer and not easily shared between home and office or with collegues/friends. 2. You can’t add extra notes ......

Posted On Friday, May 25, 2007 1:20 PM

No Copy Constructor support in .Net framework.
I have a base class with a lot of data members and I wanted to create a constructor in derived class, that will take a base class as a parameter and assign all data members values from the parameter: class Derived: Base { Derived(Base baseClass) { //Assign all data } } The function is almost like Copy Constructor, so I tried to search Google for it. There is a discussion on MBR IT/.NET 247 : how to implement a C# copy constructor . where Jeffrey Tan from Microsoft Support suggested : public extendeddatagrid(MyDataGrid ......

Posted On Friday, May 25, 2007 12:46 PM

Dynamic menu in ASP.NET 1.1.
My friend asked me, how to built dynamic 2 -lelels menu in VS 2003. Items coming from database amd mainly are hyperlinks to HTML document. I haven't written myself dynamic menu in ASP.NET. My application was based on DotNetNuke and used DNNMenu See http://webcontrols.dotnetnu... However I am not sure, is it possible to use it stand-alone without DNN. The author of DNNMenu Jon Henning had separate SolPart menu ,but unfortunately the link In ASP.NET 2.0 there is standard Menu Control ......

Posted On Friday, May 25, 2007 12:10 AM

Start Transaction from ASP.Net application can cause unexpected locks on the database.
I have the ASP.Net application, that uses SqlTransaction.BeginTransac... before the call to Update SP and commit after the call.If any exception would happened, transaction should be Rollback. The code snippet is the following: conn.Open(); using (SqlTransaction trans = conn.BeginTransaction()) { try { ds = SqlHelper.ExecuteDataset(tr... CommandType.StoredProcedure, SPName); trans.Commit(); } catch (Exception ex) { trans.Rollback(); //Log the error } } We noticed that during update of web.config ......

Posted On Wednesday, May 16, 2007 2:25 AM

Schedule/Calendar Asp.NET controls with Source Code
I wanted to find a Schedule Asp.NET control with Source Code as astart point for my development. I found in CodeProject , but they have LGPL license,that is not acceptable in my commercial application DayPilot Pro looks the most closed to what we need,in particular combination of and Intersting sections to extend functionality is Custom event rendering . ComponentOne WebSchedule for ASP.NET looks nice, ......

Posted On Tuesday, May 8, 2007 4:17 PM

TFS build Notes
There are a few links related to TFS build and Source control Customizing Team Foundation Build Add Continuous Integration Capabilities to Team Foundation Server I've got a few useful tips from Mitch Denny: To remove incorrect subsctiptions: TFS has a table (tbl_subscriptions) in the TfsIntegration database which lists all these endpoints. Don’t ever edit this table directly. You can look at the subscription ID and then use the bissubscribe.exe tool to unsubscribe those event registrations. Make ......

Posted On Monday, May 7, 2007 12:19 PM

ASP.Net Ajax UpdatePanel links.
I've tried to investigate slow load of UpdatePanel. It works quick enough in FireFox, slow in IE 7 and even more slower in IE6. I found a few related links: In production make sure that <compilation debug="false"> is in your web.config(tip from Delayed load with an UpdatePanel and similar post. The top 10 mistakes when using AJAX recommends do not put everything in a UpdatePanel. "Are you making these 3 common ASP.NET AJAX mistakes?" suggest to use ......

Posted On Monday, May 7, 2007 12:59 AM

Copyright © Michael Freidgeim | Powered by: