How to deploy a dll file(s) into IIS? - asp.net

I need help on how to deploy a dll file into IIS. I searched on the internet but no luck i found nothing similar to my problem. I can able to publish and deploy an ASP.net into IIS but what I need is a single dll file and deploy to IIS.
Is it possible to deploy an dll file only into IIS? If yes, please share an information on how to do it. Thanks in advance.

Related

Not all files are showing up in ftp session with Azure Web App

I lost my ASP.NET project when reinstalling Windows. So I opened up an ftp session to recover the files from my webapp on Azure. I can see most of my project in my wwwroot folder, but not everything. The folder Controllers is almost empty. And that's kinda the files I were most interested in.
You have only deployed the executables with you publish action, not the code in you controllers or other folders. You need to find a backup of your code somewhere else. Normally you would have checked it into some kind of code repository.
You might try and running a decompiler on the project DLL that exists in your Azure Web App folder structure.
It might not get everything, but maybe you can save enough. Try dotnetPeek.

Asp.net project from IIS deployed site

I have a site deployed on iis however I can't seem to edit any of the backend code when I export it from IIS as a zip file. Is there any way to do this?
This is a asp.net mvc3 application as far as I can tell
all you code-behind becomes in a dll after compile application and you can find its in the BIN folder.

Error when deploy Web API on IIS

I have a Web API project, and will be deployed on IIS. When I publish the project through VS2012, I always got errors like - Unable to add file 'Scripts/jquery.unobtrusive-ajax.min.js'. Access is denied. No file in the package is copied into wwwroot.
But, on the other PC it works perfect.
Can anyone suggest on this?
Thanks
Botem
I resolved this by running the VS2012 as administrator. Seems it's a permission problem.

AppHarbor: The directory '/App_GlobalResources/' is not allowed because the application is precompiled

I trying to deploy my ASP.NET WebForms application to AppHarbor. After a succesful deploy I get
The directory '/App_GlobalResources/' is not allowed because the application is precompiled
I disabled the Precompilation in the app settings but it did not help. What should I do? Should I change some settings in my project o is it a server configuration thing?
I found a solution deleting the PrecompiledApp.config but I do not have access to it on AppHarbor.
All you need to do, if your site is Precompiled, is to make sure that the directory /App_GlobalResources is deleted from your deployment location.
I had the exact same problem, and when I removed this directory it all worked very well.
NOTE: Its good to have your site precompiled so it is faster and more responsive, and therefore it may not be a good idea to remove precompiledapp.config file from your deployment folder.
The trick is not only to disable the Precompilation in the app settings but also to deploy a new version so the app gets restarted.

Deployment question regarding App_GlobalResources.compiled

For ASP.NET Web Site, when I modifiy resouce files, is it necessary to deploy the new App_GlobalResources.compiled along with App_GlobalResources.dll to the server?
Thanks.
yes, you need to deploy these dll (App_GlobalResources.dll
), because global resources were built in dll
Follwing files you need to deploy
App_global.asax.compiled
App_global.asax.dll
App_GlobalResources.compiled
App_GlobalResources.dll

Resources