Category: Dot Net

ssh 0

Download\Upload files to SFTP using SSH.NET !

.NET framework currently does not support direct (native) SFTP operations. We have to use available 3rd party libraries or components to perform these operations and SSH.NET is one of the best due to the...

inetmgr_errorpages 0

Set 404 error custom redirect URL !

404 custom redirect URL can be set in two ways- Using Web.config Add the following section to the web.config file of the .NET application- <system.webServer> <httpErrors> <remove statusCode=”404″ subStatusCode=”-1″ /> <error statusCode=”404″ prefixLanguageFilePath=””   path=”{Custom...

Adding vertical scroll bar to a page ! 0

Adding vertical scroll bar to a page !

To add a vertical scroll bar to an aspx page, just add the below styling – Set the style – style=”overflow-y:auto; height:100%;” This can be added to page Body or Div or Panel etc...

Visual Studio 2012 web publish not working/doesn’t copy files ! [sol] 0

Visual Studio 2012 web publish not working/doesn’t copy files ! [sol]

I had a Visual Studio solution which I needed to build and publish it to my local machine. Using the Visual Studio 2012 web publish, the solution was building fine but nothing was getting...