How To Deploy a ASP.NET Website to IIS or Azure

How To Deploy a ASP.NET Website to IIS or Azure

IAmTimCorey

6 лет назад

264,533 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@430-y5p
@430-y5p - 16.11.2020 01:50

Hey, is it possible to deploy a .net core web app behind nginx or apache on linux?

Ответить
@allanbanezify
@allanbanezify - 18.11.2020 22:08

Hello Tim, all your videos are really helpful. Thank you for that. I just have a question, I noticed that in here, you were able to deploy that in the same computer IIS with Windows 10. How about deploying it to a windows server 2012 with our existing website. Is that possible? How can I deploy this web api to our website? Thank you in Advance.

Ответить
@tawcreative
@tawcreative - 17.01.2021 00:54

Is your email registration system down? I've registered several times for the code and don't get the downloads. Thank you. Love your content.

Ответить
@reniskraja
@reniskraja - 25.01.2021 01:45

Hi Tim, thanks for the video. I deployed my Web Application to Azure successfully as you, but I am getting an error during the process of the app. My application reads data from an Excel file and it looks that office package is not installed there. How can I install Office package on Azure?
Thanks

Ответить
@svens3722
@svens3722 - 03.02.2021 16:05

geat video. did you made a tutorial for Continues Delivery? i need :D.

Ответить
@DanceManAlex
@DanceManAlex - 06.02.2021 10:19

Do you have any advice oh how to go about solving a 500 error? I have a student plan and when I deploy it my home page displays error.cshtml.

Ответить
@lennywill7475
@lennywill7475 - 24.02.2021 16:47

Thank you, even two years later, I was able to find my error because of your video :D

Ответить
@rickhorvath
@rickhorvath - 04.03.2021 17:38

Not really the proper place to ask, but I see replies so - how would you add a new .asp page to a site? My site apparently also requires a controller for each page otherwise the asp page resource is not found.

Ответить
@ripperx444
@ripperx444 - 16.03.2021 21:38

I would pay you for a zoom screen share to go over the mess I am currently in!

Ответить
@putinninovacuna8976
@putinninovacuna8976 - 19.03.2021 21:57

so it doesnt work if you want to keep debugging and working on the api side? its only works once you finished your API and you wouldnt change anything else?

Ответить
@UltraBoxTech
@UltraBoxTech - 08.05.2021 23:22

Hi there
I’m getting error when i publish website to the folder and then paste those to production server

Error is :

Parser Error Message: Could not load the assembly 'App_Web_default.aspx.cdcab7d2'. Make sure that it is compiled before accessing the page.

Source Error:


Line 1: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_default.aspx.cdcab7d2" %>

But these dll file exist in Bin folder.

I try to make website on both visual studio 10 and 15
In both situations getting same error.

Please tell how can i resolve this error.

Ответить
@0xbitbybit
@0xbitbybit - 16.05.2021 04:56

Ok, what do we do when we add a new project to our solution, how do we deploy that to a dev server, particularly using Web Deploy/IIS? Doesn't seem to be a Publish option when right clicking, like there is with individual files.

Ответить
@pdm497
@pdm497 - 18.05.2021 10:43

hi Tim. thanks for the video. I encountered “This site can’t provide secure connection”. what does this mean?

Ответить
@muhammadmurtaza2886
@muhammadmurtaza2886 - 30.05.2021 23:44

When I click on Publish I get publish failed error "publish has encountered an error. Object reference not set to an instance of an object" any idea how to fix this

Ответить
@94089463
@94089463 - 08.06.2021 18:13

Hi Tim.
As usual, an excellent and straightforward video covering a lot.
I setup one of my computers with IIS, reproduced the steps you showed and it worked perfectly.
I tried to deploy an API Core app (just the VS sample with the weather forecast) to the same computer, but I can't open the default controller using that computer's IP address.
I opened the port in the firewall as well.
Is there something I should keep in mind publishing API apps?.
Thank you very much.

Ответить
@MikeMichellelucas
@MikeMichellelucas - 01.07.2021 20:10

Do you have any videos on deploying to a Azure Virtual Machine?

Ответить
@tenriquez39
@tenriquez39 - 20.07.2021 04:34

exceent thans !

Ответить
@attilaguba856
@attilaguba856 - 03.08.2021 17:25

Could you make another video about how to publish MVC with FileZilla including Sql server / / have a host from Ionos/ ! Great videos!

Ответить
@ImYala
@ImYala - 11.10.2021 22:41

I'm trying to host a website with my server using IIS and whenever I try to view it nothing happens, it hangs on a white blank screen and I'm not sure how to troubleshoot it. Nothing happens in the web console and if I run the exe file from the folder it hosts it properly so I'm not sure where I went wrong. Does anyone have any advice for this?

Ответить
@joeballer4036
@joeballer4036 - 20.10.2021 02:24

this doesn't seem to work for .NET Core 3.1 apps

Ответить
@nmarks
@nmarks - 25.10.2021 07:53

Can you do a video deploying an API using SSL? Thanks.

Ответить
@akshayc6163
@akshayc6163 - 07.11.2021 18:20

When I click publish, i get an error saying "publish has encountered an error object reference not set..." What should i do ?

Ответить
@astiginko
@astiginko - 01.12.2021 16:08

If you deploy it in IIS, can anyone have access to it anywhere?

Ответить
@truongnguyenxuan67
@truongnguyenxuan67 - 26.12.2021 19:17

Thank you for this video! it's very helpful for me.
but my website has the upload image feature to wwwroot/images it raise the error ''IOException: read-only file system". if you have any video on azure configuration, please give it to me! Thanks again

Ответить
@realhistory765
@realhistory765 - 20.04.2022 03:40

I don't know why Microsoft insists on this complication!!!!
It is very simple for other servers

Ответить
@ahmedghazal888
@ahmedghazal888 - 06.05.2022 23:32

How to publish crystal report to iis
Note : when asp website is published crystal report diappeard

Ответить
@AdamsTaiwan
@AdamsTaiwan - 13.07.2022 04:54

Would like to see a video on publishing to IIS using Visual Studio and Web deploy. According to Microsoft documentation Web Deploy does not need to be installed on later version of Windows Server, but I have not yet had success.

Ответить
@andrewporter1348
@andrewporter1348 - 10.08.2022 19:53

My app I'm trying to publish won't even load when you deploy it on IIS, because when it tries to connect to SQL SERVER it gives an error stating that ExecuteReader requires an open and available Connection no matter what I do.
Meanwhile on Visual Studio it works just fine. I have no clue why this would be the case

Ответить
@MrLazyleader
@MrLazyleader - 11.09.2022 13:37

For several weeks I'm trying to migrate my chat app backend from localhost to a server I rented. I have found zero resources for how this is done. Everything works fine on localhost, but my console app doesn't even start on the server. Does anyone know a guide on how to migrate from localhost to server? It's a SignalR app.

Ответить
@pinoyrunningpenguin
@pinoyrunningpenguin - 11.12.2022 17:24

have been doing this thing for 20 years and each time Microsoft releases a new version, configuring IIS all of a sudden does not work the way I used to do It and end up in pain. Why oh why can't Microsoft make this easy for users of their product is a big question. Oh yeah they want to make people move to the cloud with managed hosting because there is where the money is.

Ответить
@pinoyrunningpenguin
@pinoyrunningpenguin - 11.12.2022 18:12

Thanks for this. Helps a lot. Do you have tutorial how to setup SSL on an IIS website?

Ответить
@WayneGreen-g8l
@WayneGreen-g8l - 25.04.2023 01:27

I received the following error message when I tried this tutorial about a week and half ago. I haven't been able to find a solution since.
Web deployment task failed. ((4/16/2023 10:59:56 AM) An error occurred when the request was processed on the remote computer.) The database '---------' could not be created. Login failed for user '--------'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity,...

Ответить
@josephh8117
@josephh8117 - 11.05.2023 22:37

Tim--
If one is trying to deploy a portfolio site that includes a section that links to functioning demo projects, can that all be done within the same domain? In the specific case I'm thinking of, there is a good chance the demo projects would be different language stacks also. Seems like this would be a fairly common scenario, but I'm not finding too much about it in my usual sources.
Thanks as always.

Ответить
@jezb7535
@jezb7535 - 07.08.2023 21:33

Thanks. Your videos are always very helpful

Ответить
@AnushaYadav01
@AnushaYadav01 - 13.08.2023 20:17

What is the difference between hosting a web application on IIS Manager and azure?

Ответить
@ZaeemAbbas
@ZaeemAbbas - 14.08.2023 08:52

What if I want to deploy my website to my, on premise server with static IP, from my laptop using visual studio. Is there any option available ?

Ответить
@gokselsensoy8642
@gokselsensoy8642 - 26.08.2023 07:53

Hi i am new to software and i finished the first client's project .However, I user visual studio to write the back end and I have 5 projects in a solution. and I handled it with angular in the front end i using vscode. I’m sending my api requests to localhost and I don’t know how to combine these two projects and publish them. Since my English is not very good, I couldn’t find which video would help me. Can you suggest a video that can help me? I really need this

Ответить
@metox5812
@metox5812 - 21.10.2023 03:09

Does it works for web application?

Ответить
@viske00
@viske00 - 20.01.2024 11:49

my solution contains 4 projects (4 tier MVC), does it also work with that?

Ответить
@keithzulka5254
@keithzulka5254 - 24.07.2024 22:14

Why does IIS 10 show a directory listing instead of the application?

Ответить
@deekusnotes3318
@deekusnotes3318 - 30.10.2024 09:22

Great video, I see two options while publishing to IIS. One is "Web Deploy" and "Web Deploy Package". Could you explain this?

Ответить
@CAPS_AMERICA
@CAPS_AMERICA - 07.12.2024 01:44

Thanks for this, so your way in this video is deploying to azure using VSStudio to publish and copies all the files in one go, but I've seen steps where they go and create an app service first, then copy the files manually, is this a step you would recommend, or just use publish directly?

Ответить