Deploying .vbhtml on Local IIS Installation - vb.net

I've come into a company that has been using asp.net for some web applications stored on our local servers. There's no current programmer, so I've used what knowledge I have to build a new feature using MebMatrix Razor VB.NET pages and our current SQL Server database. I have to migrate the project over to a local server running IIS to deploy it.
I don't want to use the WebMatrix Web Deploy feature or anything, I'd rather just move the files over manually and have them run. I assume that IIS just needs to be configured to process .vbhtml file extensions. My understanding is that you don't have to build your solution with this method, as you do with ASP. Does anybody know how to do this, or where I might find a good tutorial?

Copy the directory for your website from the 'My Web Sites' folder in Documents. Paste it into the 'inetpub' directory on the server.
Now open IIS Manager, on the left hand side in the connections pane, right click on 'Sites' and 'Add Web Site'. Choose a name, select the default AppPool, browser to the 'inetpub' directory and select your site's folder, set a port that doesn't conflict with any other sites running, and click OK.
On the right hand pane, click browse, you should be able to see your new website.

Related

Show folder file public in shared windows hosting

Hello we have shared windows hosting on hostgator. i have created sub domain and i want to show all files public like given image.
Example
Basically i want to make one directory public which directory and all files from that directory anyone can access. in shared hosting
It seems that you haven't published your files properly. You can follow this steps:
Please open your project with Visual Studio tool
On the Solution Explorer windows (which is normally located on the top right hand corner of the VS tool), right click your project and select Publish
Please kindly publish it to a local folder, such as C:\Project
Please just upload whatever files/folders you see on C:\Project to the server via FTP and your site will work fine
You can also publish using Webdeploy option. You said that you are using Plesk control panel, you can read this tutorial https://windowswebhostingreview.com/how-to-publish-using-web-deploy-with-plesk-control-panel/

Can't change website url, VS2013 on win8.1

I'm trying to change IIS express and Website URL to point to a custom URL so i can try the website from my mobile. The point is, the changes I made (read below) don't change the website starting url.
I already changed the part at the IIS Express applicationhost.config file, from port:localhost to a port:custom name, tried to change the part at the .sln file where it points to the localhost.
I uploaded a screenshot from my project's property page, I can't find Use Custom Server option under Server or the Use Local IIS Web Server option.
First Right-click on your Web Site in Solution Explorer and select Convert to web application and then you can find the options you need under Properties -> Web

Move Access Web Database to Another Sharepoint Site

I have an Access web database (the out-of-the-box Project one) and plan to move to another Sharepoint site (a test server). I have done lots of googling and nothing comes up. Any pointers will be greatly appreciated.
Thanks.
After some trials and errors, I figured out how to do that. First open the Access web db in Access client. Then go to Publish & Save, where you should see an option Save As Local Database. Then open the local database, again go to Publish & Save, you can choose to Publish to Access Services. A pane will appear to let you enter the URL of Sharepoint server and site name. If you have customizations or lots of lookups, there's a good possibility it will not publish. If that's the case, you just need to fix all the errors reported.
I was able to move my Access 2016 app to a new Sharepoint Site by saving it as a .app and uploading it to the new site.
I found this link to Microsoft's site helpful: Create an Access app package

How to deploy a web site on IIS by using .dll file

I want to deploy on IIS my web site but I do not want to take whole project. I just need to take .dll file. Is their any way to do so.
I do not want to use visual studio only .dll file from the project to deploy.
The basic steps for deploying to IIS on windows server are as follows:
log onto the machine that is or will be hosting your application.
Use IIS Manager to create a new website for your application.
Create a new application in that site. I believe this also will automatically create an application pool with the same name for you and use it by default.
Specify the virtual directory for your application. This is going to tell IIS where to look for your mvc application. For this case lets assume it is C:\myApp
On your own machine Build the application however you build it with the correct solution configuration (i.e. Release mode). Let say the result of your build is located at C:\MyProject\bin
Copy C:\MyProject\bin from your machine onto your hosting machine at C:\myApp
You should be able to search these steps and find a step by step guide of how to accomplish them. Here is a link to some info on what sites, applications and app pools are to help you better understand.
http://www.iis.net/learn/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis
Based on your sites requirements there will be some additional steps to set up security and alter bindings if you need to change them.
You don't need to deploy your entire website if you only make a change in a single assembly. You could copy the .DLL assembly directly to the bin folder of your website. This will trigger the Application Pool to be recycled in IIS and the changes will be taken into effect on the next request.

Having local and remote versions of my site in Aptana Studio 3.0, like Dreamweaver does it

In Dreamweaver I could set up a project such that I had the remote side, where my live site would be located, and the local side, where those same exact files resided on my hard drive with the same structure. How can I do this in Aptana Studio 3.0? I only know how to access a site remotely, so I can edit the files just fine, but I can't figure out how to have a permanent home on my hard drive for the files, so I can (for example) upload new files to my server without opening up a separate FTP program.
On their site, Aptana touts the following as one of the new features of Aptana Studio 2.0:
Radically improved the remotelocal file transfer features. There is an all-new UI and infrastructure for specifying connections, connecting them with projects, and copying files in each direction.
That sounds like what I want to do, but can't figure it out.
There are a few wiki pages on creating connections between a local project and a FTP site:
https://wiki.appcelerator.org/display/tis/FTP%2C+SFTP%2C+and+FTPS+Deployment
https://wiki.appcelerator.org/display/tis/Create+a+FTP+Connection
https://wiki.appcelerator.org/display/tis/Managing+FTP+Connections
Hope these help.