Search

You searched for the word(s): userid:623462

Matching Posts

  • Re: Web Deployment Project copies .csproj and .sln files

    Steele, Here's what I use to remove .svn folders; a bit klugey but it seems to work fine. For some reason the ** wildcard doesn't work on the .svn folder at the project root, so I just break that one out separately. < ItemGroup > < RemoveAfterBuild Include = " $(OutputPath)\.svn\ " /> < RemoveAfterBuild Include = " $(OutputPath)\**\.svn\ " /> </ ItemGroup > < Target Name = " AfterBuild " > < RemoveDir Directories = " @(RemoveAfterBuild
    Posted to VS Web Deployment Projects (Forum) by mpowell on 9/8/2006
  • Re: Truncated ViewState?

    Here's what I ended up using. For what it's worth, no more viewstate errors so far... private const int VIEWSTATE_SIZE = 800; protected override object LoadPageStateFromPersistenceMedium() { System.Text.StringBuilder sb = null; int index = 0; while (true) { string fieldValue = Request["__VIEWSTATE" + index.ToString()]; if (fieldValue != null) { if (sb == null) sb = new System.Text.StringBuilder(); sb.Append(fieldValue); index++; } else { break; } } if (sb != null) { LosFormatter formatter = new LosFormatter
    Posted to State Management (Forum) by mpowell on 9/9/2005
  • Re: Truncated ViewState?

    Does this apply? http://discuss.develop.com/archives/wa.exe?A2=ind0411b&L=dotnet-web&T=0&F=&S=&P=861 I'm getting similar errors and am planning on trying out the viewstate-chunking code mentioned in that post. Mike
    Posted to State Management (Forum) by mpowell on 9/8/2005
Page 1 of 1 (3 items)