View Complete Post
Download Visual Round-trip Analyzer (VRTA) to uncover the root of your Web page loading problems and identify these 12 common ailments.
MSDN Magazine November 2008
Zip compression lets you save space and network bandwidth when storing files or sending them over the wire. In addition, you don't lose the directory structure of folders you Zip, which makes it a pretty useful compression scheme. The C# language doesn't have any classes that let you manipulate Zip files, but since .NET-targeted languages can share class implementations, and J# exposes classes in the java.util.zip namespace, you can get to those classes in your C# code. This article explains how to use the Microsoft J# class libraries to create an application in C# that compresses and decompresses Zip files. It also shows other unique parts of the J# runtime you can use from any .NET-compliant language to save some coding.
MSDN Magazine June 2003
Please help me to resolve the below issue
Basically My requirement is to combine webresource.axd and scriptresource.axd files.
I have tried to resolve using custom httpmodule and httphandlers but they are still putting me in loops.
If i am not using AjaxToolkit Controls my custom httpmodule working fine to combine scriptresource.axd and webresource.axd files
if i am using Ajaxtoolkitcontrols i am getting error scriptLoad Failed exception and sys is undefined
I just wanted to knock people to understand if they had used a different method, we could get some help.
I want to do everything using asp.net 2.0
I guess my question is that given i have v1.0.20229.0 of the toolkit.dll (over .net 2)
I'm wondering if subsequent releases have fixes for this sort of thing?
i am looking for a tool which will minify my code when publishing website
or it may be run time minify too if not using too much cpu power
protected override void OnPreRender(EventArgs e)
string testJS = Page.ClientScript.GetWebResourceUrl(this.GetType(), "MyControl.js.testJS.js");
string RichText = Page.ClientScript.GetWebResourceUrl(this.GetType(), "MyControl.js.RichText.js");
this.Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "MyControl", testJS);
How to compress the pages by gzip under MVC?
Any best practice?
Thanks and Regards
For example in the masterpage I have the following script which I can't imagine changing for quite some time (say 6 months)
Would be great if I could work out where and what to put to cache this for 6 months.
I have simplied the example down to a single .aspx page with a single button and the codebehind in VB, knowing that if I cannot get this working, I certainly won't be able to get my real scripts working. I am currently running VWD 2010 on the .Net 4 framework. I've been working on this problem on and off over the past 3 weeks and simply cannot get it to work, so I continue to insert the code directly into the markup. I have tried countless changes to the following code, but not once able to get it to work.Any help, suggestions or recommendations will be graciously accepted and very much appreciated.
The .aspx page is as follows:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Test_Script.aspx.vb" Inherits="Test_Script" %>
<!DOCTYPE html PUBLIC "
If you attempt to export a file to Excel, the browser hangs for a long time, then begins to request authorization,
times in succession .
Then displays an error message: "you are not authorized to view this page"
I have around 500 files which are named file_27072009.txt, file_28072009.txt, file_28072009.txt etc and I need to load them all into a table. What is the easiest way to pick up each of these files in turn and load them into the sql table?
I have access to SISS or sql server mgt studio but am not an expert in either.
Any help would be much appreciated so I am not having to manually open and merge all the files into one before loading.
Thanks so much