-
Web Service Dynamic Proxy Update
Today I solved a bug that prevented use of customs types as arguments of generic types in contratcs of a web services who are called with proxy generated with Web Service Dynamic Proxy.
Thanks to Gabriel Almiñana
Download the fix from here.
Technorati tags: .NET, Web Services, Windows Communication Fondation, ASMX
-
Generic List support in Web Service Dynamic Proxy
Today I add support for Generic Lists in Web Service Dynamic Proxy
Download the code and a sample of use from here.
Technorati tags: .NET, Web Services, Windows Communication Fondation, ASMX
-
Web Service Dynamic Proxy
As a part of a web service adapter for Service Invocation Framework I developed a code for dynamic web service proxy generation. Today I have decided to extract this code from Service Invocation Framework and transform it into a small library for call a web service without generate static proxy code.
Download the library code and a sample of use from here.
Enjoy it!
Technorati tags: .NET, Web Services, Windows Communication Fondation, ASMX
-
My .NET Development Toolbox Update 2
New additons to my "My .NET Development Toolbox" and "My .NET Development Toolbox Update" lists:
Active Directory Server Explorer
Best Practice Analyzer for ASP.NET
Clipboard Manager Add-In for Visual Studio 2005
CoolCommands 3.0 for Visual Studio 2005
Dispatch
Microsoft Visual Studio 2005 IDE Enhancements
NDbUnit
Visual Studio 2005 Web Deployment Projects
OutlookSpy
Scrum for Team System
Visual Studio...
-
Google Analytics Module
Some months ago Daniel Cazzulino publishes an excellent IHttpModule to use Google Analitycs with adding code in the pages of a web site.
After using it some weeks I found an error that affects the Clearscreen CAPTCHA Antispam Control.
Basically the problem is that the module adds the HTML code necessary to use Google Analytics in responses that are not HTML (like an image).
This is quick fix to this bug:
void OnBeginRequest(object sender, EventArgs e)
{
if ( String.Compare("text/html", application.Response.ContentType, true) == 0
&& ! ( application.Request.QueryString.Count != 0
&& application.Request.QueryString.GetKey(0) == "hip" ) )
application.Response.Filter = new AnalyticsStream(application.Response.Filter, accountNumber);
}
Here you can download a...
-
Mock Data Provider
Many times it is necessary to be able to test each layer of an application individually. This task becomes specially difficult with the data access code and the unit tests since is complex to assure the results of the tests if each developer doesn't have a private database.
To solve this problem I have developed a ADO.NET Data Provider that allows to test the data access code without accessing to the database.
The Mock Data Provider has two operation modes:
In the "recording" mode it acts of Proxy against another ADO.NET Data Provider and it records the results of all the executions against...
-
New Version of FileHelpers Library
FileHelpers 1.5.0 has been released. If you need to import/export data from text files in .NET Framework this cool library is the solution.
Technorati tags: .NET
-
My .NET Development Toolbox Update
Three new additons to my "My .NET Development Toolbox":
Consolas Font Pack for Microsoft Visual Studio 2005
The MSBuild Community Tasks Project
Visual Studio 2005 Web Deployment Projects
UPDATE: More tools here.
Technorati tags: .NET
-
Visual Studio Code Snippets Error
Yesterday after reorganizing my code snippets the code editor of visual studio still show the same snippets folder that no longer exist. The solution for this problem was to eliminate the file C:\Documents and Settings\[UserName]\Local Settings\Application Data\Microsoft\VisualStudio\8.0\1033\ExpansionsXML.xml
Technorati tags: Visual Studio
-
FileHelpers
Some days ago I found FileHelpers. This excellent piece of code are an easy to use library for import and export data from text files. It is exactly what I was needing for an ETL project. Thanks to their author Marcos Meli for the excelent work.
Technorati tags: .NET
-
My .NET Development Toolbox
This is my list of indispensable tools for the development with .NET:
Aqua Data Studio
CoolCommands for Visual Studio 2005
CruiseControl.NET
DPack
FxCop
NAnt
NCover
NDoc
NMock
NUnit
NUnitAsp
Reflector
Reflector FileDisassembler Add-In
TestDriven.NET
Visual Studio 2005 Code Snippets
...
-
Ctrl-Tab in Visual Studio 2005
Yesterday accidentally I pressed the combination of keys Ctrl+Tab in Visual Studio 2005, I was surprised with the result. This combination of keys allows to change between documents and windows without using the mouse and help me to work more quick. Try it!.
Technorati tags: Visual Studio
-
Visual Studio Setup and Deployment Project, Unattended installation and Custom Properties
When execute an installer made with Visual Studio in the following way:
msiexec /i ProgramInstaller.msi /q TARGETDIR=C:\Program CUSTOMPROPERTY1="SomeValue"
The custom property CUSTOMPROPERTY1 didnt't take the value "SomeValue". After look at the log of the installation (generated with msiexe /log) I saw that Visual Studio always generates a custom action for each property to assign the default value. These custom actions (that have the name CustomTextA_SetProperty_EDITx) are excecute after Windows Installer assigns the properties with the values of the parameters. The solution was eliminated those custom actions, first using Orca and then with this script:
Option Explicit
Dim WI, DB, DelCustom, DelCustom2
Dim Path_MSI_File
Const msiOpenDatabaseModeDirect =...
-
SharpToolbox
For my the best site to search .NET resources
-
Reflector dump to files add-in
This add-in for Reflector dump the decompiler output to files. It is very useful and it works very well.