XmlDatasource caches automattically.

9. April 2009

If you run into the issue of using a data control such as a gridview with an xmldatasource….

 

Make sure that you set the EnableCaching property equal to false.

http://forums.asp.net/t/1262408.aspx

Microsoft, Visual Studio, Tips and Tricks

HttpHandler and Session State

6. March 2009

Its funny when you use a specific solution to solve many problems over and over and then you find out the limitation of your “genius” solution.  Kind of a let down huh?  What if you soon discover that your solution still is “genius” and solves the problem you thought you had.  that is a good feeling if I say so myself. 

I just started to "heavily using HttpHandlers that are dependant on the session state.  The site that I have been working on requires Session so there was no way around it.  The issue that kept coming up is that the context.Session that was getting passed to the ProcessRequest method was always null.  I needed the Session and the link I am including gave me the answer. 

To save you the read, you can use to Interface markers to tell IIS that you need the Session passed to your handler, IRequiresSessionState or IReadOnlySessionState.  Guess what, you know have the current Session being passed to your handler.   Hope it helps.

 

http://bytes.com/groups/net-asp/341797-session-object-null-http-handler

.Net, Visual Studio, Tips and Tricks, Microsoft , , , , ,

MS Web Application Stress Tool – Localhost not working

30. October 2008

I looked every where for this on Google and could not come up with the answer.  You have to add a “.” at the end of localhost for the script to record.  I just happen to try it because I installed fiddler and it said to do it.  Insane!!

 

Here was my last Google search  when I came up with the idea to try it:  web application stress tool configure for logins post

.Net, Microsoft, Tips and Tricks

My first WebSlice

13. March 2008
I added this to my BlogEngine them. It worked the first time. Now that is amazing. I expect that this will take off for many BE.N site.
<div class="hslice" id="1"> 
<h1 class="postheader" >
<a class="postheader taggedlink" href="<%=Post.RelativeLink %>">
<div class="entry-title"><%=GetColoredTitle(Post.Title)%></div></a>
</h1>
<div class="date"><%=Post.DateCreated.ToString("MMMM d, yyyy HH:mm")%> by 
<a href="<%=VirtualPathUtility.ToAbsolute("~/") + "author/" + Post.Author %>.aspx"><%=Post.Author %></a>
</div>
    <!--<div class="entry">-->
        <%-- <%=Body %> This has been depreciated so please don't use it anymore. --%>
        <%-- Instead use the line below --%>
        <div class="entry-content" ><asp:PlaceHolder ID="BodyContent" runat="server" /></div>
        <br /><%=Rating %>
    <!--</div>-->
</div>

.Net, BlogEngine.Net, Microsoft, Visual Studio

BlogEngine.Net is added to ASP.Net as a starter kit

23. August 2007

Micorsoft has added BlogEngine.Net to its ASP.Net website as a starter kit.  This is a big deal to some of us because there are now only a total of eleven (11) starter kits on the site.  I think it is a true testament to Mads and his inititive, as well as, a huge pat on the back to those develpers are committing valuable time to this project.  I would be remise to not mention all of those people who are using the application and making it a success.  Your input, feedback, suggestions, questions, comments, etc. are what help to drive the success of BlogEngine.

 Visit these links:

http://www.dotnetblogengine.net

See BlogEngin.Net on www.asp.net

Download the BlogEngine.NET Web Site

Review the Features

.Net, Microsoft, BlogEngine.Net

One Man Shouting - How To Burn an ISO DVD Image under Windows Vista (5308)

4. July 2007

If you ever get stuck burning an ISO image to DVD here is the trick.

"I found however that the dvdburn.exe utility that is included with the Windows Server 2003 Resource Kit Tools did the trick.

I installed the resource kit tools under Vista, and then just had to open a cmd prompt and type:

 dvdburn d: {imagefilename} /erase

where {imagefilename} was the fully qualified path to the iso image I wanted to burn."

Courtesy of ....

One Man Shouting - How To Burn an ISO DVD Image under Windows Vista (5308)

General, Microsoft, Tips and Tricks, Visual Studio

Orca

8. May 2007
I just downloaded Orca Beta and will give it a go around.  Wish me luck.

 

.Net, Microsoft

IE 7 Search Text box and Print

8. May 2007
Something weird is going on.  For starters, I have two machines with IE 7.  In Internet Explorer, neither of their search text boxes work and they cannot print.  I am working on a fix but cannot find any.  I can't find anything on Google or Microsoft's website.  I will post a follow up when I find the answer.

.Net, Microsoft, Internet Explorer

Exchange SBS 2003

10. October 2006

The exchange server goofed.  It had an error that read:

There was an error logging out from the POP3 server (mailbox <mail.mydomain.com [xxxxxxxx@mydomain.com]>). The error is -2147014858 (An operation was attempted on something that is not a socket.
). All the messages will remain in the server and its recipients may receive it more than once.

A reboot fixed it.  Everything else on the web that I found had to deal with XP and other products.

General, Exchange, Microsoft