$ git clone ssh://vdevp@192.168.2.3/~/GitRepos/test Cloning into 'test'... vdevp@192.168.2.3's password: 'git-upload-pack' is not recognized as an internal or external command, operable program or batch file. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
If you see the error message, please go to Server add system PATH environment
The best way to install .NET Core on Windows is to download the official MSI installer. This installer will install the tools and put them on your PATH.
Want Ajax Minifier to be packaged with your project? From the Ajax Minifier install folder, you can move AjaxMin.dll and AjaxMinTask.dll directly into your source directory. I put them in my App_Data folder. Once they’re somewhere in your source, in Visual Studio right-click them, select Include in Project, and also change their Build Action property to None.
Developing a Custom Rewrite Provider for URL Rewrite Module
Creating a Visual Studio C# Class Library Project
add references to Microsoft.Web.Iis.Rewrite.dll located in “%ProgramFiles%\Reference Assemblies\Microsoft\IIS”.
Rewrite providers must be placed in the .NET Global Assembly Cache (GAC)
To sign the assembly, In the Signing tab check “Sign the assembly” check box.
In the combo box, select the option <New…> to create a new key. In the “Create Strong Name Key” dialog, type DemoKey.snk as the name for the key and uncheck the Protect my key file with a password check box. Click OK.
Select the “Build Events” tab and add the following “Post-build event” command line:
Note: if you use Visual Studio 2010 then replace %VS90COMNTOOLS% with %VS100COMNTOOLS%.
Implementing the provider interfaces
1 2 3
public class CdnRewriteProvider : IRewriteProvider, IProviderDescriptor { }
Registering and configuring the provider
Open IIS Manager and select the URL Rewrite feature
This completes the registration and configuration of a rewrite provider. As a result the web.config file for the default web site will contain the following XML code inside of the section: