How To Replace New Dll In Bin Folder In IIS 6.1? - wcf

I Have a WCF Service Host that is deployed on an IIS 6.1.
I want to update one .dll in the WCF Service Host Bin Folder.
When I replaced the .dll in the Bin folder and restarted IIS 6.1 my new .dll didn't update and my application runs with the old .dll.
Can you help me?

Related

How to deploy .Net Core publish files on Apache sever

I am exploring .Net core 2.0 have created sample web api project in using VS2017 and deployed on Apache web server, but it is not running from Apache however running fine when deployed on IIS.
Am I missing something in publish configuration? currently I can see dlls and folder by the name 'runtime' with subfolders 'unix', 'win', 'win7'.

Asp.net 5 plesk IIS 7.5

I developed an asp.net 5 application that works in local IIS.
I installed .net dnx via dnvm
httpplatformhandler 1.2 for IIS
But in server there is plesk. I create the domain from plesk and try to publish the site in there.
After creating the domain I setted root folder to "wwwroot" of my published project. When I try to open the website in browser it just wait for connection. Does not return anything at all.
When I put index.html file only it works.
Plesk creates a user for application pool. I also gave it to read write permissions to all directories.
If I change the application pool user to something else like network service it just gives 500 internal error with no decription.
Any suggestions?

Installing a WCF service that does not have a MSI

I have developed a WCF service using .NET 3.5, VS 2010 on Win 7 64. This will be hosted in a Windows Service.
I created a Windows Service project to which an Installer is added by rt-clicking. The WCF dll is also added.
For testing purpose I have installed this service by running the InstallUtill.exe passing in the service exe from the Windows Service project release folder. All works fine I can see the service in Services.msc and they can be accessed by clients.
The client does not want an MSI so I have to give him the release folder of the Windows Service project.
Here are my questions:
Is it required to add the .NET framework requirement, which gets added by default for MSI projeccts, to the Windows Service project. If yes then how do I go about doing it?
Can the client use the InstallUtil.exe from the framework or is there another way to install on machines that don't have VS?
Does the service need to be built for both 32 and 64 bit systems?
I know that InstallUtil.exe is part of the framework and any machine that has one is good to go but just out of curiosity is there any other way to install the Windows service without an MSI?
Regards.
I don't know about InstallUtil.exe, but I do know that in order to install a WCF service manually, you need to:
Give the client the requirements (.NET framework, WCF installed)
Create a folder in IIS for the service
Create a bin folder in that folder
Copy the .svc and the web.config in the first folder, and copy the .dll in the bin folder
In IIS, right-click on the folders and Convert to application (the two folders)
Be sure that the folders have the appropriate rights
I had to do this for test purposes on several machines at my job. But in the end, we did an MSI for the client.
Hope that helps you!

Host .svc file on ASP.NET Development Server

Is it possible to host .svc file on ASP.NET Development Server? How?
Yes.
If your project type is regular library project then one way is to create a website project and copy the svc file + corresponding service dll's to the bin folder for that project.
Then, when you run the solution (F5), you will find that the website is hosted in cassini (asp.net development server)
The only catch is that the virtual port is different everytime you run the solution.
However, you can specify the project to run on a specific virtual port as well.
Refer this link on how you can do that

Hosting WCF on IIS5/6

I have developed a Web service using WCF Service Application. This service application is a part of multiple projects. we have data access , services(business logic) , testing(to test class) and WCF Service application.Where WCF Service application is just like an infterface and all the request are sent to the services project. so all the projects communicate with each other. I am new to hosting WCF application. Now to host this on IIS do i have to put the whole project in the IIS virtual directory?
Right-click the WCF Service project in Visual Studio and choose Publish.
You can manually copy the needed files or setup a script or other automated process to do it for you. Perhaps a Visual Studio post build event. I create my WCF services in their own website project under my solution. Then when it is time to deploy/update the production site, I copy the *.svc file(s) and the *.dll file(s) in the bin directory to the production folders. I keep a seperated web.config for my production and development environments.