| Juan Ignacio 的个人资料devnotebook日志列表网络 | 帮助 |
|
|
11月17日 Krypton TookitComponent Factory has released a free set of Windows Forms user interface controls. It's called the Krypton Toolkit and it's targeted at Visual Studio 2005 and .NET Framework 2.0.
It is free for commercial use. It includes several controls:
11月7日 How to make custom assemblies visible in Visual Studio (eg the Add Reference dialog box, or make control Designers available to the IDE)"...you can add a registry key, such as the following, which points to the location of the assembly
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\MyAssemblies]@="C:\\MyAssemblies" where MyAssemblies is the name of the folder in which the assemblies reside.NOTE: You can create the this registry entry under the HKEY_LOCAL_MACHINE hive. This will change the setting for all of the users on the system. If you create this registry entry under HKEY_CURRENT_USER, this entry will affect the setting for only the current user. Restart Visual Studio .NET after you have added the key." Translated:
Create a new key (eg "My Company assemblies") under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\, and set its "(default)" value to the path of a folder where you'll put all the assemblies you want to make visible to Visual Studio.
8月6日 "The test form is only available for requests from the local machine"If you simply open the web config file and add the following, you will be able to access the test form outside of the localhost: <configuration> 6月15日 Enable ClickOnce Compression on IISClickOnce supports downloads while using HTTP compression, a Web server technology that uses the GZIP algorithm to compress a data stream before sending it to the client. The client—in this case, ClickOnce—decompresses the stream before reading the files. If you are using Internet Information Services (IIS), you can enable HTTP compression easily. Enable Compression in IIS
However, this only activates it for certain file types—namely, HTML and text files. In order to activate compression for assemblies (.dll), XML (.xml), deployment manifests (.deploy) and application manifests (.manifest), you must add these file types to IIS's list of types to compress. Until you do this, none of the files in your deployment except text and HTML files will be compressed. To add the document types for ClickOnce deployment files (.application, .manifest, .deploy, .dll, .exe, etc.), follow these steps: NOTE: The commands in step 3 replace the previously defined file extensions. It does not append them to the existing file extensions. 1. Open a command prompt session. To do this, click Start, click Run, type CMD, and the click OK. CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html" "txt" "application" "manifest" "deploy" "exe" "dll" CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/DEFLATE/HcFileExtensions "htm" "html" "txt" "application" "manifest" "deploy" "exe" "dll" IISRESET.EXE (this will reset Web services) In case you also want to enable compression for ASP.NET Web pages and Web services, drop in these (extra) two lines before the IISRESET: CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "asmx" CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "asmx"
Testing To test the web server is compressing you can do two things: 1. Check the "...WINDOWS\IIS Temporary Compressed Files" folder on the server and see if new files are added as you go through the ClickOnce installation process. 2. Use netcat (yes, yes, from the old days of hackerish "security tools", nothing beats netcat yet) to manually send an HTTP request to the server and see if the HTTP response contains the header "Content-Encoding: gzip" A sample HTTP request header you would send is: GET /clientes/ventas/Ventas_1_0_0_8/Ventas.exe.deploy HTTP/1.1 where the "replaceable parameters" are "youhost.yourdomain.com" for your webserver HOST, and "/clientes/ventas/Ventas_1_0_0_8/Ventas.exe.deploy" for the URL path to your application's exe .deploy file
Sources IIS Compression in IIS6.0 HOW TO: Enable ASPX Compression in IIS Troubleshooting ClickOnce Deployments 1月26日 Vote for me! ;pNow seriously, I've posted a suggestion for the Visual Studio team about Code Snippets. This would allow us to generate the whole definition for a class Property having the user only enter its type and name, by means of converting the entered name to camelCase and ProperCase (checking the property name is properly cased while on it). So if you like the suggestion or already thought of it, click on "Vote on this suggestion" (an rate it as important!) in the following link: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackId=FDBK20707
Related link: Code Snippets Schema Related link about the override refactoring snippets: http://weblogs.asp.net/cyrusn/archive/2005/01/18/355843.aspx 1月17日 Add Custom .NET Assemblies to the Add Reference Dialog...\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE (-OR- add a key under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\AssemblyFolders |
|
|