Hosting WCF Service Application with Plesk Panel 9.2 - wcf

Is there a way to host wcf service application with Plesk Panel 9.2 in shared hosting under Windows 2008.

It doesn't depend on Plesk but on the actual server you are controling using Plesk. If it has the .NET framework 3 or later installed you can host WCF services. However if you only have .NET 2 you can't. Please keep in mind that the .NET framework version reported is 2 even if 3.0 or later is installed as that is the version of the CLR which hasn't changes since.

Related

Asp.Net Core 3.0 API app requires restart frequently on IIS Windows Server 2016

I have hosted my Asp.Net Core API project on IIS on Windows Server 2016 and also installed hosting bundle for Asp.Net core apps on that; have to restart my application after few hours. Please help me to solve this.
What is the problem? Is there any error message? You need to be more specific on your issue.

How to run a .Net Core webapplication on a Windows 7 machine?

I want to run a ASP.Net Core webapplication on a Windows 7 machine without having to install Visual Studio.
Can I just install .Net Core on the production environment or are there some preconditions that have to be met prior to installing .Net Core?
I tried out some scenarios and I found out the following:
For running .Net Core you only need the .Net Core runtime (or the SDK) installed on the production environment. You can find the downloads here: https://github.com/dotnet/core/blob/master/release-notes/download-archive.md
For ASP.Net Core, which uses Kestrel for hosting, you only need the runtime (or the SDK) as well. (I tested this on Windows 7 and Linux Debian)
When hosting with IIS, see Andre.Santarosa answer
Prior to run .NET Core on windows 7, your system must have SP1 and Hotfix KB2533623 insalled, install IIS package via Control Panel then DotNetCore WindowsHosting (this allow IIS to handle ASP.NET Core requests) - Link: https://go.microsoft.com/fwlink/?LinkID=827547
When you create your IIS application, it will create an application pool, set .NET CLR in this pool to "No Managed Code".
This should be enough you to run

How to run vNext web api on IIS7

i'm getting started with asp.net vNext and i've found something that i cant understand if is a limitation on the DNX or if is something still not fixed.
When i'm publishing a simple webapi, as simply as the the default VS2015C template, my IIS 7 says:
IIS 7.5 or higher is required.
Is there some workarround or is really a limitation?
According to the latest community standup, the HELIOS integration between IIS and asp.net 5 was stopped. Ongoing the only server provided by MS is kestrel. You have to start and integrate kestrel into IIS by reverse proxying it.
This is quite normal in the Unix world and the .net team had to reduce the maintenance effort here.
Answering your question: Considering the Announcement I think practical usage in an Windows Environment via HttpPlatformHandler is only possible IIS8+.
ASP.NET 5 never has and never will support IIS 7 (Windows Vista and Windows 2008 both have IIS 7 only); IIS 7.5 and higher is actually required to bootstrap the dnx. If you want to work with ASP.NET 5 you must be running a Windows 7 or higher client OS or a Windows 2008 R2 or higher server OS.

Hosting WCF 3.5 on AppFabric

I am planning to host the WCF services for one of my project on App Fabric. When i installed App Fabric it asked me to install the .Net Framework 4.0. I Can able to configure the WCF services written in 3.5 on App Fabric but i have to select the Asp.Net v4 as an App Pool. I feel the it using CLR 4.0 for the service.
Question is can i host my WCF 3.5 service on App Fabric as we are developing the solution in 3.5 and there is not much scope to migration to 4.0. Will is work?
The first release of Windows Server AppFabric has two parts:
AppFabric Caching Services, which can speed up access to frequently accessed information such as session data used by an ASP.NET application.
AppFabric Hosting Services, making it easier to run and manage services created with Windows Communication Foundation, especially those built using Windows Workflow Foundation.
Looks like you can not use hosting services in 3.5.
http://msdn.microsoft.com/en-us/library/ff637712.aspx
http://social.technet.microsoft.com/wiki/contents/articles/hosting-net-framework-3-x-services-in-appfabric.aspx
As far as caching goes it depends on the version, this article http://msdn.microsoft.com/en-us/library/ff381375.aspx#_Toc247686147 states:
NOTE: Beginning with the Beta2 version, the .NET framework requirements will change as follows. The Cache Service will require .NET 4.0 to be installed and Cache Clients developed using .NET 3.5 SP1 will be supported.
AppFabric only works from .net 4.0, see:
http://developers.de/blogs/damir_dobric/archive/2010/04/29/appfabric-and-net-framework-dependencies.aspx

Will .NET 4.0 apps work on Win 2008 R2 Server Core?

When Windows Server 2008 R2 was launched, the "server core" edition started to become useful to me, because it lets me deploy .NET background applications isolated on their own virtual machine instance with only a small fraction of all the disk space overhead of a default Windows Server installation, and very few Windows Updates. It comes with a subset of .NET 3.5 SP1 integrated (as an optional feature).
Now that .NET 4.0 is released, the redistributables explicitly state that it's not support on Server Core. Any chance that there will be a separate download available for Server Core (e. g. without WPF) any time soon, has anybody heard about it?
Since 2011-02-21, it is possible to run .NET 4.0 apps on Windows 2008 R2 Server Core. To enable .NET 4.0 support, you need to install Service Pack 1 and the .NET 4.0 Standalone Installer for Server Core.
Anything I have read says no. I would imagine that this will change but unfortunately it doesn't look like it will be soon.