I have created website with ASP.NET MVC and I need to host it in Hostgator. I search on google and youtube for directions about that but I didnt find anything, just host wordpress, wordpress and wordpress, nothing for ASP.NET MVC applications.
This looks very unusual because I read many articles that evaluate Hostgator as one of best ASP.NET hosting service.
Can you help me please ?
I think that is because your host server is linux not a windows,so that you do not have an access to asp.net
Related
I want to build a web application where a user logs in using his windows account through a login form. In this application I'm gonna have to use LDAPS (and not LDAP). I've been searching on internet for a tutorial to guide me but I found some code snippet on forums of people that are having trouble with their code. I couldn't understand where to put that code or why I should put it especially that I'm very new to ASP.NET.
Could you please provide me with some information or links that can help me ?
Also should I use ASP.NET MVC or ASP.NET WEB API?
I have a ASP.NET Core 2 Web API with the Angular 4 front end SPA application. It was created using clean Core 2 Web API template in VS2017 and angular-cli for the front-end using VSCode. Currently I can successfully run my prototype using either IIS Express WebAPI or self-hosted. I can successfully deploy to IIS using steps simmilar to these: https://learn.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x. However, I can't figure out how to attach to the IIS process to be able to step through the code as I used to do with regular old Web API or MVC app hosted in IIS.
I'm coming from traditional Web API and Angular1 environment. Both ends were deployed to IIS and it was a simple process to attach to IIS for troubleshooting. So, maybe it's a stupid question, but I can't seem to find good resource on how to approach production deployment of such Core 2 WebAPI + Angular 2 SPA app. What are the best practices? IIS for Web API and npm for client? Can someone maybe point me to tutorial on how to do that and how to debug/troubleshoot with IIS? Are there a better ways to deploy/host it, maybe my approach is wrong and IIS not needed?
If any pictures, code, setup is needed I'll gladly add it to the question. I just don't know what I can provide at the moment. Any help, advise, link will be much appreciated!
Not 100% sure if this is what you're after, but check out this blog-post:
https://blogs.msdn.microsoft.com/webdev/2017/07/13/development-time-iis-support-for-asp-net-core-applications/
Note: Make sure you select the new launch profile ("IIS") in the main window, before starting a debug session!
I have a website which was programmed by C# (ASP.net). The programmer uploaded the website to the host after a time the web hosting company migrated their servers then my website went down. The hosting company said it is not from their side and I know that the code does not change and the same code was working on the old servers. When trying to open the webpage it gave an empty page.
I hope that someone can give what the problem might be.
Thanks
I want to use ASP.NET webservice on a WordPress Site.
So, if the site is www.abc.com, can I access the service at www.abc.com/WS/serv.asmx?
If it is not possible to do so, what can be a workaround for this, as I MUST use that asp.net webservice at all cost.
Please guide me.
Thanks!
If you're running IIS with both PHP and ASP.NET installed, there's no reason why you shouldn't be able to run both within the same site.
I My Web site on a HELM Control Panel. I developed my web site on MVC.But My Hosting Provider having a Following components installed on That Hosting Account framework 3.5 and IIS6. But I am Unable to Run My site it display me Page not found error.
The problem will be that you're running under IIS6 and if its on shared hosting you're unlikely to have sufficient control to make MVC run without "cheating" a bit.
Under IIS6 requests are only routed to the ASP.NET handlers (I don't promise to get the terminology right) if they have the right extension (.aspx, .asmx, .ashx, etc) with a nice MVC URL there's no extension at all so it doesn't get see by ASP.NET and hence the request won't hit the routing within your MVC app and so you get page not found.
Under IIS7 everything (ish) goes through the ASP.NET handler and so it just works.
So a couple of links to help, here's a stackoverflow question:
ASP.NET MVC on IIS6
and here's Phil Haack on the subject:
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
Hope this helps.
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx