| Juan Ignacio 的个人资料devnotebook日志列表网络 | 帮助 |
|
11月28日 Moving11月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 4月22日 .NET Framework 2.0 Beta 2 Redistributable & SDK Public Release - x86, x64 & IA64Along with the release of Visual Studio 2005 Beta 2, ms has made available the redistributables and the SDK for their .NET Framework 2 Beta 2. The .NET Framework is available in three flavors:
The SDK can be downloaded for x86 and x64:
Also released: Microsoft Visual Studio 2005 Tools for the Microsoft Office System (VSTO2005) Redistributable Package Beta 2 (x86) 2月17日 Server Performance AdvisorServer Performance Advisor "Service Performance Advisor is a server performance diagnostic tool developed to diagnose root causes of performance problems in a Microsoft® Windows Server™ 2003 operating system, particularly performance problems for Internet Information Services (IIS) 6.0 and the Active Directory® directory service. Server Performance Advisor measures the performance and use of resources by your computer to report on the parts that are stressed under workload. Other server roles include system overview (hot files, hot TCP clients, top CPU consumed), print spooler, context switch data and preliminary File Server trace data." 2月13日 HOWTO remap your keys (and their shift-states) by creating a new Keyboard LayoutYesterday I was reading Jeff Atwood's blog (on Keyboarding) and I thought I´d try one more time to find a nice tool to remap the keyboard. See, when you use non-english keyboards you tend to start wondering about why would you need to press Ctll-Alt and 2 just to type the @ char, while you have keys mapped to symbols you never use: the spanish keyboard, for example, has keys mapped to º, ª, ç, Ç, and so-called "dead-keys" so you can press them and then type a, e, i, o, u and get the accented version of those chars, THREE of them we never use in spanish: `, ^ and ~; ç and Ç are only used in portuguese! I always wanted the ability to remap these keys into characters that would be a lot more useful while coding, so I had tried several approachs before, including Chris Sells Scancode Mapper, but those only allow you to remap entire keys, they don't really allow to modify the characters that appear when you 'modify' them with Shift or Ctrl-Alt (AltGr). Enter the Microsoft Keyboard Layout Creator (MSKLC). KLC allows you to create a new Windows keyboard layout from scratch or customize a preexisting one, and build an MSI installer for it. You can then simply install it and configure Windows to use your custom layout. The main window presents you with the representation of a standard keyboard (if your keyboard has an L shaped enter key you can change the physical layout so it represents your keyboard in the View... Options menu). You can then double click any key to enter the new character that should be sent to Windows when it's pressed. If you changed the state by marking "Shift" on the main window, when you do this you'll be changing the character that will be sent when Shift and that key are pressed. You can either simply enter the new character that should be sent, or enter it's Unicode number (UTF-16 code point). If you want to go deeper, you can expand the key properties window (by pressing the All... button), so you get access to change the normal, shift, ctrl+alt (AltGr), shift+ctrl+alt, SGCAPS, etc, and to define your own Dead-keys. Defining a dead key is straight-forward: just enter the normal characters that should be pressed after the dead-key, and the resulting characters that should be sent. You can preload any installed Windows keyboard layout so you don't don't forget about any essential character. Once you've defined your own keyboard layout, you can build the installer for it (Project... Build DLL and Setup Package), and proceed to install it. Once you have it installed, all you need to do is open Regional and Language Options in the Control Panel, and configure Windows to use your new layout. 2月12日 HOWTO Install Windows Media Player 10 on Windows Server 2003I'm copypasting this from: http://www.neowin.net/forum/lofiversion/index.php/t245309.html 1. Copy the MP10Setup.exe to the root of your C:\ drive. 2月10日 Whidbey CTP + SQL Server 2005 install orderSome people has been hitting my blog searching for the install order of Visual Studio 2005 Whidbey side by side with SQL Server 2005 Yukon. I thought I'd comment that SQL Server 2005 uses its own version of the framework, which usually is not the same version that comes with Whidbey. This doesn't seem to cause any problems for me. I personally install Visual Studio first, and then SQL Server.
US gives up search for Iraq WMDhttp://news.bbc.co.uk/1/hi/world/americas/4169107.stm I just thought I'd also post the Report on UNMOVIC Findings (as reported to the U.N. Security Council in response to the question raised by the U.S., the United Kingdom, and other countries, whether the United Nations Inspection Commission, known as UNMOVIC, had found traces of weapons of mass destruction in Iraq. This report, in which Hans Blix (chief U.N. inspector) says UNMOVIC had not found any weapons of mass destruction in Iraq was broadcasted to the whole world on February 14, 2003, although few United States citizens recall seeing it (I guess it wasn't publicized enough). A little more than a month later, on March 20, 2003, the U.S. tried to assasinate Saddam Hussein, starting its latest unprovoked invasion of a foreign-country. A few days after the UNMOVIC report I stopped trying to argue about Iraq with northamericans. I recall the exact point in time that made me give up in trying to reason with them: I was reading the owner of a popular IRC channel (chat room) saying that they should "kill all those fuckers" (Iraqi "terrorists", I guess). It was clear for me at that moment that most of the US population didn't really care much about proof or facts about the WMDs issue, they just wanted someone to pay for 9/11, it didn't matter Iraq had nothing to do with it. On Feb 17, 2003, Undernet, #c++ [06:14] <WNDCLASS> If they strike, they will do it from the inside... 2月9日 Free XP Themed Common ControlsThe SteepValley.NET: XP Common Controls are a collection of themed and unthemed controls that are currently missing from the Visual Studio IDE. This project is available for free including the source code. 2月8日 Microsoft buys Antivirus companyMicrosoft is buying Sybaris, an antivirus software maker. McAfee shares down 5.4%, Symantec -3.9% |
|||
|
|