Pierre Greborio.NET

Talking about .NET world

Browse by Tags

All Tags » ASP.NET (RSS)
Indigo Proxy Generator AddIn - Update
The proxy generator is going ahead (hopefully). Now I added several svcutil switches like XSD support, mark the class as serializable, data bound support etc. Moreover now you can generate ASP.NET web service proxy using the Xml Serializer. All comments...
Posted: Jun 13 2005, 12:44 PM by PierreG | with 1 comment(s)
Filed under:
Windows Impersonation in ASP.NET
There are several scenario where you have to use the impersonation in ASP.NET. Consider, for example, you have to save and load files from a network share (file server). In that case, if the web site accept anonymous authentications, you have to impersonate...
Posted: Apr 10 2005, 12:02 PM by PierreG | with 4 comment(s)
Filed under:
Notification pattern
When I have to propagate errors from the domain object to the presentation I usually use exceptions. All errors bubble from bottom to up and then are ready to be published to the UI (managing the catch section). The Notification pattern can be a good...
HttpResponse Flush
Sometimes I need to flush the content of the buffer before the end of my PageLoad. The documentation says "Forces all currently buffered output to be sent to the client." That is not really true. If the buffer doesn't contains at least 257 bytes (calculated...
Posted: Jan 13 2005, 12:53 AM by PierreG | with 5 comment(s)
Filed under:
Model View Presenter in ASP.NET 2.0
Martin Fowler is introducing several new enterprise patterns for his new book . My attention was captured by the Model View Presenter pattern and I immediatly tryied to apply it in a simple ASP.NET 2.0 (version 8.0.40607.85) web form with a CheckBox,...
Tracing in ASP.NET : solved !
During these "vacation" days I studied the Tracing capabilities for a web application (both in ASP.NET 1.1 and 1.2 ). The solution is pretty simple, ASP.NET doesn't works on System.Diagnostics.Trace class but on System.Web.TraceContext . Then, if you...
Tracing in ASP.NET
I continued my tests without much success. I rolledback to FX1.1 and create a basic web service: <%@ WebService Language=C# Class=Util %> using System; using System.Web.Services; [WebService(Namespace="urn:pierre")] public class Util : WebService...
Tracing web service in ASP.NET 2.0
Today I'm playing with december VS 2005 CTP and I'm trouble. I don't know why the tracing isn't working (I'm sure I'm missing something...too much italian wine and food during Christmas's day). So, I started adding the following code to my web.config...
Membership in ASP.NET 2.0
I have to admit that the authorization process of the membership management isn't so good as I was excpecting. I sincerly don't understand way Microsoft didn't used the authorization manager ideas for the upcoming framework. I'll probably implement my...
Posted: Dec 14 2004, 11:28 PM by PierreG | with 1 comment(s)
Filed under:
Is ColorTranslator.ToHtml correct ?
I was playing with colors with transparency when I had to use System.Drawing.ColorTranslator.ToHtml to translate the ARGB color into HTML string color representation. I discovered that the above method doesn't consider the alpha channel. Then, I created...
Posted: Mar 10 2004, 12:30 PM by PierreG | with 2 comment(s)
Filed under:
More Posts Next page »