Hosting website in INTRAnet environment - iis

Is there any safe way to host a site Net core website through a installer (may be in IIS), similar to any desktop application installer?
e.g. Neo4j works as webservice but has its own jetty server to host. U just download and its up and working.

I dont understand your problem. Why you just dont run your app with Kestrel? (dotnet <patch_to_your_dll)

Related

Can I host my angular6 web app in MacOs server?

I am newly to host the web application to server. Now I am using macOS Sierra Version 10.12.3. I developed angular6 web application. Can I setup my desktop as macOS server and host my angular web application?
Yes, you can, and not only on the Local Area Network, but on the Wide Area Network. And if you buy a domain name you can attach this name to your server. At the end of the day after you executed 'ng build --prod --aot', everything will be compiled to plain Javascripts just like any other websites regardless of any JS frameworks. Just try to look up on google about hosting a website on MacOS server.

It is possible to run both IIS and Apache servers together for same application on linux?

here is a brief what I am trying to achieve.
I am working with an application which is in WordPress and running on Apache and in one of the screen (page) it's require to use any already built module which has a large set of functionality built in .Net, that require an IIS support.
I am running WordPress application on Linux and not sure if Linux provide that flexibility to run both servers Apache and IIS at the same time.
Have gone through with some blogs but nothing yet, not sure even it's possible or not.
Any suggestion would be appreciated...
Not is possible run IIS over linux, you can use kestrel with netCore ,because IIS not is cross plataform, many applications that run "net framework" you can migrate to "net standard" , one option is install "docker windows machine iis" but only run in windows machines

Webmatrix - URL rewrite module

Does anyone have any experience with creating URL rewrites in Webmatrix? Because it uses IIS Express instead of IIS 7, there's nowhere for me to create these rules.
I am deploying to IIS 7 on my production server, so if I need to do any rewrites, I need to make them directly in production to test.
Is there any way I can switch to using IIS instead of IIS Express on my local machine?
I have tried a few things to get local IIS working, but to no avail.
You can install IIS on a Windows 7 or Windows 8 machine by going to Control Panel -> Programs and Features -> Turn Windows features on or off. Make sure to install enough of the components to get a WebMatrix site working - ASP.NET & the management console for certain.
You can then create a virtual server for the directory your project is in and use the IIS management console to play around with URL rewriting. You may need to install the UrlRewrite module using the MS Web Platform Installer, available here:
http://www.microsoft.com/web/downloads/platform.aspx
If you need more help getting your local IIS working, give me some more information on how far you've got and I'll try and extend my answer.

IIS Express or IIS for developing Classic ASP?

Wondering if I should stick with testing on my local IIS install or just use the Express version. Any reason why or why not?
generally, I would try to have the development / testing environment resemble your live environment as closely as possible.
so if you're using IIS in production, I'd recommend using it in development also.
I cannot tell you how many times I've seen web apps working perfectly on the development machine using IIS6, and crashing completely on IIS7.
I suggest this configuration:
IIS Express on the developer machine
same IIS as in production on a staging machine
IIS Express is the best choiche on your local computer because it's easy and fast to install and configure and doesn't require administrative rights to be installed.
It's completely integrated with Visual Studio and it has all the functionality of IIS.
And the configuration is in the source code repository so each developer can checkout the solution and is able to run it with minimal effort.
As sJhonny suggests is recommended to have an environment closer as possible to the production environment.
The best way is to have a staging server with the same software configuration of the production server, in your case with the same IIS complete version (it's enough a virtual machine).

Development in IIS or Visual Studio internal webserver

Do you do local development/debugging with the internal webserver or a local iis install? I'm currently running the internal VS2010 webserver but it's so slow it hurts. I can see the page rendering in front of me...
I prefer to use Windows Server 2008 as my development machine so that I can use IIS 7 as the web server and just set the default location of the website to a locally mapped DNS name. This especially helps when testing code that is dependent on domain URIs and other information of that nature.
One problem I have experienced is an intermittence in the ability of studio to bind the debugger to the IIS processes. (sometimes a reboot is required to get studio to bind if this happens)

Resources