Paulo Morgado

.NET Development & Architecture

This Blog

Syndication

Search

Tags

News

Unit Test Today! Get Typemock Isolator!

Projects

Books

 

Visitors

Visitor Locations

Community

Email Notifications

Archives

Profile

Disclaimer

The opinions and viewpoints expressed in this site are mine and do not necessarily reflect those of Microsoft, my employer or any community that I belong to. Any code or opinions are offered as is. Products or services mentioned are purchased by me, made available to me by my employer or the manufacturer/vendor which doesn't influence my opinion in any way.

Browse by Tags

All Tags » Web » MSDN (RSS)
Web Site Globalization With ASP.NET Routing
For those who don’t know, I have this web site http://PauloMorgado.NET/ that I use both as a web presence besides my blogs and a playfield. Because I write both in English and Portuguese, I wanted the web site to have both English and Portuguese versions...

Posted Sun, Jan 31 2010 23:29 by Paulo Morgado | with no comments

Coupling ASP.NET Session State With Forms Authentication
Today I was talking with João about a way to couple the lifetime of the ASP.NET   session state with the lifetime of Forms Authentication ticket . My idea was to store the session ID in the UserData property of the forms authentication ticket upon...

Posted Thu, Jan 28 2010 1:18 by Paulo Morgado | with no comments

ReMIX 09 Is Coming To Lisbon, Portugal
For the first time, ReMIX is coming to Portugal . The event will have a keynote and 3 tracks (Web Developer, UX and Architect) with 4 sessions each by the best speakers in each field. Don’t miss it! Register now!

Posted Wed, Sep 9 2009 19:50 by Paulo Morgado | with no comments

MIX09 Session Presentation Slides
On a previous post I introduced the feeds I created to subscribe to Mix09 session videos. I’ve decided to also create a feed for the presentation slides: PPTX: http://feeds.paulomorgado.net/PauloMorgado/Events/Mix09/SessionSlides

Posted Thu, Mar 26 2009 2:51 by Paulo Morgado | with no comments

Filed under: , , , , ,

MIX09 Session Videos – How I Did It
On my last post I introduced the feeds I created to subscribe to Mix09 session videos. In case someone is interested on how I did it, here it is: <% @ WebHandler Language ="C#" Class ="mix09" %> using System; using System.IO;...

Posted Mon, Mar 23 2009 2:04 by Paulo Morgado | with no comments

MIX09 Session Videos
Updated (2009Mar25): Added MP4 feed. Mix09 is over and I would like to watch some sessions. I like to watch these kind of videos by subscribing them using the Zune Software as a podcast. I like the Zune Software because it downloads the “episodes” and...

Posted Mon, Mar 23 2009 1:06 by Paulo Morgado | with no comments

ASP.NET Futures: Control ClientID Generation
ASP.NET is expected to have some improvements on the generation of client IDs . Although this is a major improvement, it comes short by not allowing the generation of shorter client IDs for server controls. My good friend Nuno Gomes has done some work...

Posted Wed, Mar 18 2009 2:44 by Paulo Morgado | with no comments

Filed under: , , , , ,

How To Issue Server Callbacks
Callbacks were introduced in ASP.NET 2.0 and is a simple mechanism for calling page or control functionality without page rendering and without the user noticing a post back. For a page or control to handle callbacks, all it needs is to implement the...

Posted Mon, Dec 15 2008 1:03 by Paulo Morgado | with no comments

Filed under: , , , ,

Serialized In-Process ASP.NET Session State Store
ASP.NET provides out of the box three session state stores: Provider Description InProc Session state is stored in the ASP.NET cache. SQLServer Session state is stored out-of-process in an SQL Server database. StateServer Session state is stored out-of...

Posted Mon, Aug 4 2008 2:09 by Paulo Morgado | 2 comment(s)

Filed under: , , , , ,

IIS/ASP.NET Cookieless Support Not Working As Expected
In one of the environments I work, cookies cannot be used because the pages run inside web browser controls running on a client application and cookies end up being shared by all browsers. Fortunately, ASP.NET allows us to persist some cookies as part...

Posted Fri, Aug 1 2008 1:23 by Paulo Morgado | 2 comment(s)

Other Ways For Making PathInfo And ASP.NET Themes Work Together
On my last post I wrote about a solution for the problem that arises when we try the use path infos and ASP.NET Themes and Skins together . Raj Kaimal   suggested rewriting all LINK HTML elements URLs to the correct URL as seen from the client. Something...

Posted Fri, Jul 25 2008 1:07 by Paulo Morgado | 2 comment(s)

Making PathInfo And ASP.NET Themes Work Together
Updated on 2008.07.28 – The code was done in a hurry and, talking to my friend Luís , I noticed that I had forgotten to make a case insensitive comparison and that the code was not so obvious. So, I updated the code and added an explanation. On my last...

Posted Thu, Jul 24 2008 1:13 by Paulo Morgado | 5 comment(s)

Filed under: , , , , ,

PathInfo And ASP.NET Themes: Why Can’t They Work Together?
If you ever worked with ASP.NET Themes and Skins , you know that stylesheet links are added to the head section of the HTML document. The rendered URL to these stylesheets is always relative to location of the page being requested. So, for a request to...

Posted Wed, Jul 23 2008 23:37 by Paulo Morgado | 7 comment(s)

Filed under: , , , , ,

Make The HttpValueCollection Class Public And Move It To System.DLL
I find the System.Web.HttpValueCollection class very useful in a wide number of situations that involve composing HTTP requests or any other need to represent name/value collection as a string (in an XML attribute, for example). As of now ( .NET Framework...

Posted Tue, Jul 15 2008 1:22 by Paulo Morgado | 8 comment(s)

BEWARE: System.Web.HttpValueCollection Parsing Is Not Reversible
If you run this code: System.Collections.Specialized. NameValueCollection queryString = System.Web. HttpUtility .ParseQueryString( "noKey&=emptyKey&A=Akey" ); queryString will actually have the running type of System.Web.HttpValueCollection...

Posted Mon, Jul 14 2008 13:50 by Paulo Morgado | with no comments

Filed under: , , , , ,

More On ASP.NET Validators And Validation Summary Rendering of Properties
On previous posts [ ^ ][ ^ ] I mentioned the size of ASP.NET validators and validation summary rendering and the fact that expando attributes are being used to add properties. Mohamed also mentions this issue. Besides the fact that custom attributes aren't...

Posted Mon, Jun 23 2008 1:47 by Paulo Morgado | with no comments

Rendering ASP.NET Validators And Validation Summary Property As HTML Attributes
Yesterday I blogged about the cause of ASP.NET validators and validation summary slowness . At that point I wasn't aware of the existence of the XHTML conformance configuration (thanks Nuno ). With the XHTML conformance configuration set to Legacy...

Posted Tue, May 13 2008 1:34 by Paulo Morgado | with no comments

The Cause Of ASP.NET Validators And Validation Summary Slowness
When building ASP.NET pages, if you use too many validators and validation summaries your pages can become very slow. Have you ever wondered why? Lets build a simple page web page with a few validators. Something like this: The page is composed of: 2...

Posted Mon, May 12 2008 0:17 by Paulo Morgado | 3 comment(s)

Upgrading the WCSF EventBroker Extension to WCSF 2.0
While preparing the demos for my session at TechDays Portugal 2008 , I've noticed some changes in the Web Client Software Factory 2.0 that prevented the EventBroker Extension from compiling and running. The problem ended out just being a little change...

Posted Wed, Mar 12 2008 1:15 by Paulo Morgado | with no comments

WCSF 2.0 And IIS7 Integrated Pipeline Mode
While preparing the demos for my session at TechDays Portugal 2008 , I've noticed that the Web Client Software Factory 2.0 doesn't work with IIS7 in integrated pipeline mode because it's trying to access the Request property of the current...

Posted Tue, Mar 11 2008 11:06 by Paulo Morgado | 19 comment(s)

More Posts Next page »