ASP NET Core in process hosting

Поділитися
Вставка
  • Опубліковано 22 лип 2024
  • In this video we will discuss
    1. In process hosting model in ASP.NET Core
    2. What is Kestrel server
    Text version of the video
    csharp-video-tutorials.blogsp...
    Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.
    / @aarvikitchen5572
    Slides
    csharp-video-tutorials.blogsp...
    ASP.NET Core Text Articles & Slides
    csharp-video-tutorials.blogsp...
    ASP.NET Core Tutorial
    • ASP.NET core tutorial ...
    Angular, JavaScript, jQuery, Dot Net & SQL Playlists
    ua-cam.com/users/kudvenka...
  • Наука та технологія

КОМЕНТАРІ • 199

  • @MM-ts9jy
    @MM-ts9jy 4 роки тому +5

    You explain in such detail, and make all of these resources available for free. You're a hero!

  • @InshuMussu
    @InshuMussu 3 роки тому +2

    one of the best tutor in the world.

  • @musandlala7991
    @musandlala7991 4 роки тому

    thanks to Venkat I am studying for my future job using this tutorial

  • @raffaelrameh14
    @raffaelrameh14 5 років тому +2

    Very complete tutorial! Thanks for this work!

  • @salomonks-francais6752
    @salomonks-francais6752 5 років тому

    I am in till the end of the series. Very nice explanation. Many thanks.

  • @kazmirci1
    @kazmirci1 5 років тому

    Venkat is the King of .net.Thanks for .net core series.Pls upload quickly.Dont wanna wait :)

  • @belkassem06
    @belkassem06 5 років тому

    Incredible Venkat!!!! Thanks again.

  • @khosseny1625
    @khosseny1625 5 років тому

    Thanks Venkat for amazing content , Please I'm waiting the out of process hosting video .

  • @dattatreyakulkarni857
    @dattatreyakulkarni857 5 років тому

    Hi Venkat it's really helpful for us ..thanks for these all videos

  • @conaxliu9677
    @conaxliu9677 4 роки тому +2

    What happens for "out of process" now is that when you execute "dotnet run", it builds your project (if you've made any changes) and then executes \bin\Debug
    etcoreapp3.1\EmployeeManagement.exe, therefore the process name is EmployeeManagement.
    To verify, follow these steps:
    1. Execute "dotnet run" as instructed by venkat.
    2. Open your Windows Task Manager, you will find EmployeeManagement.exe in there.
    3. Right-click EmployeeManagement.exe and select "Open File Location". You will be brought to the foler where EmployeeManagement.exe sits in.
    4. Ctrl-C out of dotnet run, and then manually execute EmployeeManagement.exe instead. Your will see the same messages shown in the console as when you executed "dotnet run", and then you can browse to localhost:5000 again.

  • @leonvanrijswijk8409
    @leonvanrijswijk8409 5 років тому +4

    I think your courses are very well structured and clear. I hope you will explain Razor Pages too, and not just MVC

  • @carlosinigo9225
    @carlosinigo9225 4 роки тому

    Thank you for this tutorial series!

  • @DnyaneshWarade
    @DnyaneshWarade 4 роки тому +2

    I like the way you teach, thanks for putting so much efforts and record this course and make it available UA-cam for free

  • @Auxillia
    @Auxillia 5 років тому

    Nice videos, two thumbs up.

  • @m.e858
    @m.e858 5 років тому

    Venkate I'm taking notes of all the things you say that you will explain them in the future video tutorials, we depend on you that you will deliver videos on them, on Angular you mentioned some future tutorials but seems you got busy and you didn't keep track, like the image upload in Angular, thanks lot for the good work, everyday I'm checking on your new videos

  • @BeLogicalAlways
    @BeLogicalAlways 3 місяці тому

    I think you should explain the concept of In Process hosting model like where it is hosted, why it is introduced, what benefits it brings, how hosting is different from traditional .net framework etc.

  • @udaybsvs8699
    @udaybsvs8699 3 роки тому

    Thank you very much sir for providing good content.

  • @MicroftHunter
    @MicroftHunter 4 роки тому +4

    I tried in VS2019 community edition to run the project in CLI, but in localhost:5000 displays the name of the project "EmployeeManagement" not the "dotnet". Why?

  • @alihameed2457
    @alihameed2457 5 років тому +3

    Sir, kindly make videos on azure functions version 2 also. Kindly explain in those videos, how to perform blob storage, table storage, and queues storage in azure storage explorer using azure functions version 2 with visual studio 2017. It would be far better if you perform a complete CRUD operation in serverless micro services. You are such an excellent instructor. One of my best teachers.
    Thank you.

    • @studentfeedback
      @studentfeedback 5 років тому +3

      Many people are waiting for Azure videos by Kudvenkat. Hope Kudvenkat sir realizes our expectation.

  • @vigneshupputuri5549
    @vigneshupputuri5549 3 роки тому

    Maaaaaan........You deserve maaaany many more views.......thank you!!!!!!

  • @MalarvizhiPalanikumar
    @MalarvizhiPalanikumar 4 роки тому

    Thankyou for the nice Tutorials

  • @LarryPeteet
    @LarryPeteet 3 роки тому

    October 2020, Great Job and thank you again!

  • @devanjanbhattacharya9251
    @devanjanbhattacharya9251 5 років тому

    Hi Venkat,
    I'm very eager to understand the CreateDefaultBuilder() method which you said you'll explain after explaining the Main method in Part 6 of this series. But I do not see CreateDefaultBuilder() teachings in subsequesnt videos. Please help Sir.

  • @salomonks9866
    @salomonks9866 5 років тому

    Thank you so much for teaching us

  • @ravikumar4
    @ravikumar4 5 років тому

    HI Venkat when i try to open the blog it says Blog has been removed please look into it.

  • @vellalarshankar2665
    @vellalarshankar2665 5 років тому

    Thank you for the explanation.my question may wrong, have doubt if we use inprocess hosting method, will application run only iis in Windows???

  • @conaxliu9677
    @conaxliu9677 4 роки тому

    A question though, if In Process hosting uses IIS, does that mean the cross platform capability is only available for Out of Process hosting?

  • @factworld4375
    @factworld4375 5 років тому +1

    Thank your sir.
    #LoveFromNepal

  • @Akshay-Raut
    @Akshay-Raut Рік тому +1

    8:51 You said InProcess hosting model uses IIS or IIS Express but at this timestamp, you ran the app using CLI and we see it's using dotnet kestrel server, even though we had explicitly mentioned InProcess hosting model. Does that mean dotnet CLI uses Kestrel irrespective of the specified hosting model?

  • @deepikamehta5826
    @deepikamehta5826 2 роки тому

    Hello Sir . I have my dotnet core 3.1 aapplication which previously deployed on iis. Now we have a requirement to host it using Kestral as a web server that is what you shown in above video , inprocess hosting. I have made the changes accordingly in my application and when i try to access the api after running from command prompt, as the project contains web api also then the error is coming which states that "An unhandled exception occurred while processing the request.
    InvalidOperationException: No authenticationScheme was specified, and there was no DefaultChallengeScheme found. The default schemes can be set using either AddAuthentication(string defaultScheme) or AddAuthentication(Action configureOptions)."... Please help me sir

  • @kulashaker30
    @kulashaker30 4 роки тому

    I noticed always in this series that it's like reading online documentation. It would be better if these videos are more on on-hand examples rather than explanation, we can read that online and we could understand that as we go along.. From the previous videos you mentioned many times 'I'll discuss in next videos' but in the next video I noticed you say that again so those things are getting stacked on us.

  • @lifeinloop
    @lifeinloop 4 роки тому +1

    Hi. My aspnet core webapp is printing iisexpress without putting that line InProcess
    And when i run it with dotnet run the output is the name of the application, wich in my case is WebApplication2

  • @impulsivefalcon
    @impulsivefalcon 3 роки тому

    great work

  • @sheikhallauddin-punjabasse4876
    @sheikhallauddin-punjabasse4876 5 років тому

    thanks for uploading this video but please upload next part

  • @dengelkemier
    @dengelkemier 4 роки тому

    Following along in 2020 with VS 2017. I get an error: warning MSB3026: Could not copy "obj\Debug
    etcoreapp2.2\EmployeeManagement.dll" to "bin\Debug
    etcoreapp2.2\EmployeeManagement.dll". If I shut down Visual Studio then Kestrel runs fine, but can only have command line version or Visual Studio version running at a time not both.

  • @tejaratahan949
    @tejaratahan949 4 роки тому

    Great!!

  • @yudhvirsingh420
    @yudhvirsingh420 4 роки тому

    Hi Kudvenkat,
    I have one question , Can anybody please help me, What is the thing that makes .net core cross platform that does not have to the .net previous version.
    Please suggest your answers anybody.
    Thanks.

  • @jondyason336
    @jondyason336 2 роки тому

    Superb teacher!

  • @vinothrajendran858
    @vinothrajendran858 3 роки тому

    It means, if you run in CLI , by default it will use kestrel web server even though the application is in-process hosting?

  • @stanleyakachukwu5386
    @stanleyakachukwu5386 5 років тому

    Nice!

  • @ajaychoudhary3575
    @ajaychoudhary3575 4 роки тому

    Sir very easy way can explain
    Thank for providing such a very informative ASP.net core video
    Really sir for who can't afford purchase the video tutorials you can provide all videos free
    I never forget your contribution to build my career.

  • @roronoa_d_law1075
    @roronoa_d_law1075 4 роки тому +1

    I don't have the AspNetCoreHostingModel tag

  • @shreetammishra5900
    @shreetammishra5900 3 роки тому

    When project is being run through cli, it uses out of process hosting, right?? But isn’t it still mentioned as inprocess in csproj file !!

  • @johnsonmushonga8277
    @johnsonmushonga8277 5 років тому

    A big thank you

  • @dhanasekarmurugesan5539
    @dhanasekarmurugesan5539 3 роки тому

    When I run the project using dotnet run command, I am getting "EmployeeManagement" as the process name rather then "dotnet" as the process name. Can anyone tell me why?
    await context.Response.WriteAsync(System.Diagnostics.Process.GetCurrentProcess().ProcessName);

  • @mohamadalibrahim2995
    @mohamadalibrahim2995 5 років тому

    A big Like

  • @roronoa_d_law1075
    @roronoa_d_law1075 4 роки тому

    What is the difference if I start the app by clicking the "IIS Express" button or by clicking debug and then start without debugging ?

  • @naveedkhan742
    @naveedkhan742 5 років тому +1

    Sir please start a video series on Xamarin mobile development and on WPF.
    Thanks.

  • @yehtet8154
    @yehtet8154 3 роки тому

    Microsoft.Aspnetcore.app is not compatible with .netcore 3.1.Which version should I download??

  • @dipanwitamitra3029
    @dipanwitamitra3029 4 роки тому

    When I run the code through command prompt of VS. It is showing 'EmployeeManagement'. It is not showing 'dotnet'. I am using asp.net core 3.1. Please help me.

  • @belmiris1371
    @belmiris1371 5 років тому

    Thank you!

  • @DecentProgrammer
    @DecentProgrammer 3 роки тому

    informative video

  • @vinodhinimariappan5676
    @vinodhinimariappan5676 3 роки тому

    i am getting dotnet instead of iisexpress. but in aspnetcoremodel, it sets as inprocess only

  • @amansinha6495
    @amansinha6495 4 роки тому

    Hi venkat, When i tried to execute the above method in visual studio 2017. I am getting the Dot net as an output not an IIS express. Could you please tell me why?

    • @gaurav5964
      @gaurav5964 2 роки тому

      Same problem
      Same when I use Aspnetcorehostingmodel as Inprocess
      And in startup.cs I use system.diagnostics code
      But the output is dotnet....
      Why
      And if I change InProcess to OutofProcess the output is the remain same....dotnet....
      Please tell me y.....

  • @harshsugandhi07
    @harshsugandhi07 6 місяців тому

    Hello, I have installed .NET Core 3.1 SDK and created a project, when trying to run From CLI I am getting this Error, " The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future ". Please Help.

  • @michigansafetyproducts1446
    @michigansafetyproducts1446 5 років тому

    thank you!

  • @gaurav5964
    @gaurav5964 2 роки тому

    Same when I use Aspnetcorehostingmodel as Inprocess
    And in startup.cs I use system.diagnostics code
    But the output is dotnet....
    Why
    And if I change InProcess to OutofProcess the output is the remain same....dotnet....
    Please tell me y.....

  • @vaibhavkhairnar7313
    @vaibhavkhairnar7313 3 місяці тому

    Is this in process and out of process related to load balancing in IIS ??

  • @nolimitsREAL
    @nolimitsREAL 4 роки тому

    In 3.0 the HostingModel is by default InProcess. In 2.2 I liked it, because it was there explicitly but now I cannot find where it is, or I have to write it myself.

  • @MalarvizhiPalanikumar
    @MalarvizhiPalanikumar 4 роки тому

    why i am getting donet as my process name for both InProcess and OutOfProcess

  • @SIDHARTHPJBCG
    @SIDHARTHPJBCG 3 роки тому

    My kestrel output is EmployeeManagement and not dotnet..... is it because i am using .net 5?

  • @farmanguliyev
    @farmanguliyev 5 років тому

    The one true king

  • @josefbas501
    @josefbas501 5 років тому

    Thanks for sharing this valuable information. Maybe you can create tutorial about how to upload it to hosting server, like Asphostportal, Azure, or other hosting provider that support .net core.

  • @Random24521
    @Random24521 3 роки тому

    i am on .Netcore 3.1 and I am only getting Dotnet as Output. Is it because of version Upgrade and packages are not included by default? Can someone please response ? And yes i am not running through Command Line but through Mac Visual Studio.

    • @reneschindhelm4482
      @reneschindhelm4482 3 роки тому

      This hosting model is currently only applicable to IIS, which is the Web Server running on Windows. All other platforms have to use the OutOfProcess hosting model. Therefore, Visual Studio for Mac will run the app with the OutOfProcess hosting model, which uses the Kestrel web server (running under dotnet.exe).

  • @kaling_108
    @kaling_108 3 роки тому

    Pls help sir.. when am debugging the application in IIS express It is showing error that "could not able to connect the web server "iis express"". It is running fine when I am using VS 2019 asp.net core 2.1. but the error is coming while I am using core 3.1.
    I have tried all method from Google by deleting vs folder, running program as Admin , also I have changed the port number. But still the error is coming. Please help what to do...

  • @AmarPawar0122
    @AmarPawar0122 4 роки тому +1

    @kudvenkat It seems to be something strange in VS2019. When we use OutOfProcess then "System.Diagnostics.Process.GetCurrentProcess().ProcessName" is giving name of the project instead of "dotnet".

    • @conaxliu9677
      @conaxliu9677 4 роки тому

      I'm glad I'm not the only one seeing this behaviour!

    • @anvayjoshi6283
      @anvayjoshi6283 2 роки тому +1

      @Aman Pawar Use False property inside . Then it will give dotnet as a process name

  • @purushothamgowthu2836
    @purushothamgowthu2836 2 роки тому

    Can we learn asp dot net core directly without learning mvc

  • @ShabbirIsmailBabji
    @ShabbirIsmailBabji 5 років тому

    Thank You

  • @priyankajaiswal1829
    @priyankajaiswal1829 4 роки тому +1

    Hello Venkat SIr, I gave a system configuration inprocess and while running I can see display output as 'dotnet'. What all changes i need to do to see the iisexpress where asp.net core has been hosted.

    • @samihussain6217
      @samihussain6217 4 роки тому

      I have the same issue. So I just updated my visual studio then when running my VS with issexpress it shows process name "iisexpress" on bowser.

    • @subhasishdey9072
      @subhasishdey9072 4 роки тому

      For beginners ,I would recommend that do not change configurations first.
      Follow these steps:
      1. install matched version of .net SDK,hosting bundle and .net runtime with .net core
      2. Try to use .net sdk 2.2 or 2.2 plus
      I have followed these steps and resolve my problem.Hope it will help you guys.
      Thanks.

    • @subhasishdey9072
      @subhasishdey9072 4 роки тому

      Note : You are getting "dotnet" as output instead of "IIS Express" as hosting server that means your application is hosted as "OutOfProcess" hosting and it is using Kestrel server which is Asp.Net default hosting module.To clear this concept watch this and the next video in the playlist of OutOfProcess hosting.

  • @NehaGupta-tk3eo
    @NehaGupta-tk3eo 5 років тому

    Thank you

  • @anjananair3818
    @anjananair3818 5 років тому +1

    Hello Sir, When I tried to execute the program using both IISExpress (with InProcess hosting model in .csproj) and CLI, I'm getting dotnet as the output. Can you please clarify why it is displayed so? Thanks

    • @athiraprasad7375
      @athiraprasad7375 5 років тому

      Same thing , if you have an answer please do let me know

    • @gaurav5964
      @gaurav5964 2 роки тому

      Same when I use Aspnetcorehostingmodel as Inprocess
      And in startup.cs I use system.diagnostics code
      But the output is dotnet....
      Why
      And if I change InProcess to OutofProcess the output is the remain same....dotnet....
      Please tell me y.....

  • @bharathyadav605
    @bharathyadav605 Рік тому

    Hi Sir, dotnet run command does not working for me, it gives my project name instead of process name please suggest me thanks

  • @ibknl1986
    @ibknl1986 3 роки тому

    You are doing a great job. May Allah (God) guide and bless you.

  • @ZenOfKursat
    @ZenOfKursat 4 роки тому

    So broi how can we publish an asp.net core website ? should we buy azure ? amazon ? why cannot publish as a casual asp.net website ? should we open our own hosting firm ? how should we publish to an using asp.net hosting service? not possible should we buy vps ? btw you are a gr8 teacher since 2010s

  • @rubeushagrid4131
    @rubeushagrid4131 2 роки тому

    .NET Core is the future.

  • @user-pz5io2nx3k
    @user-pz5io2nx3k 5 років тому +1

    the result in browser is "dotnet" don't show iisepress update visual or wrong?

  • @hetalchavan9446
    @hetalchavan9446 3 роки тому

    When I am running my project from CLI instead of process name "dotnet" I am getting my project's name "EmployeeManagement". Why is this happening?

    • @abj136
      @abj136 3 роки тому

      I get the same thing. Maybe the latest Kestrel prefers to present your application name instead of itself.

  • @mfaizan24
    @mfaizan24 3 роки тому

    context.Response.WriteAsync not working on .Core3.1, after digging into details, I have to convert the string into byte array then pass it WriteAsync
    byte[] arr = Encoding.ASCII.GetBytes("this is test string");
    await context.Response.Body.WriteAsync(arr, 0, arr.Length);

  • @rajuprasad82
    @rajuprasad82 5 років тому +1

    On running my code by adding System.Diagnostics.Process.GetCurrentProcess().ProcessName in startup.cs file, instead of IISExprees I got dotnet in the browser. Why is there difference in my case? Am I doing anything wrong?

    • @athiraprasad7375
      @athiraprasad7375 5 років тому

      If u have an answer do let me know

    • @raviverma4934
      @raviverma4934 5 років тому

      This is because in ASP.NET core the default hosting Process in OutOfProcess. In your case the ASPNetCoreHostingModel node might not be there and hence the default hosting model is coming as dotnet. Hope it helps.

  • @sinchanar440
    @sinchanar440 5 років тому

    Sir, I have followed your creating new project vedios I have created the same but in project file there is no Inprocess not added in my project

    • @prmkishor
      @prmkishor 5 років тому

      @sinchana, in next video hopefuly you will get your answer. if there is no setting in csprof file, it means OutOfProcess which is by default.

    • @Tommastein
      @Tommastein 4 роки тому

      You might have already done this by now but if you haven't then please add the above line in the PropertyGroup of csproj file.

    • @ryancabanas
      @ryancabanas 4 роки тому

      This Microsoft document says the opposite. It says, "ASP.NET Core apps default to the in-process hosting model."
      docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-3.1#in-process-hosting-model

  • @rabeelkamboh1291
    @rabeelkamboh1291 4 роки тому +8

    but when I run the application the process name is "dotnet"? and in your case is "iis express".

  • @ajaypokle476
    @ajaypokle476 4 роки тому

    Hello Sir this tutorial helps a lot me, but when creating a project and follow your steps then HTTPS page shown a projec Name instead of showing dotnet extension.

  • @abouishakA
    @abouishakA 2 роки тому

    thanks

  • @pratikacharya9399
    @pratikacharya9399 2 роки тому

    sir why i am not getting issexpress instead of hostname

  • @souravbasak1985
    @souravbasak1985 4 роки тому +1

    The IIS web server is an old web server which has been in use for over 15 years by .Net community but the issue that came is that some applications which were built in that period were not compatible with recent technology and web services could not be used on them. Another issue was that as internet servers advanced the IIS web servers were not cope up to the speed of the internet servers making it slow, so a need for a faster web server became necessary. To do this, the .Net community used its set of previous information to create the most simple and quickest server ever possible and thus kestrel web server was born.
    Anyways, read the below. This might help.
    www.namasteui.com/asp-net-core-web-servers-iis-vs-kestrel-server-comparison-and-why-both-are-important/
    --
    Regards,
    Sourav Basak
    Namaste UI

    • @PramodRaiK
      @PramodRaiK 4 роки тому

      Great explanation for "Who is this new character Kestrel now?!!" Thanks a lot, it helped to know about what and why!

  • @prateekbhardwaj9943
    @prateekbhardwaj9943 Рік тому

    in 10 years i have watched over 1000s of videos, but i found "kudvenkat" the best tutor in the world....

  • @bolbittu
    @bolbittu 5 років тому

    And have a great day.

  • @XashA12Musk
    @XashA12Musk 3 роки тому

    indian guy on youtube 😍😍

  • @kibriamanzoor2338
    @kibriamanzoor2338 5 років тому

    First of all, I really like your voice.
    Secondly I could not understand one point. As kestrel server is using in out of process model. As in this video we have have set In process as process model in .csproj. so when you run the application by cli, why it is running in kestrel server. I think it should be iis server because we have set In process.

    • @rational_thinking_india
      @rational_thinking_india 4 роки тому

      in Next lecture Kudvenkat explained that when we run asp.net core application from dotnet core CLI, in built kestrel is the only web server that will be used, the hosting setting in proj file will be ignored irrespective of the value InProcess or OutOfProcess

  • @vaishalipandey7214
    @vaishalipandey7214 3 роки тому

    System.Diagnostics.Process.GetCurrentProcess().ProcessName return dotnet
    Why? I am using sdk 2.1 version

  • @alicoder9872
    @alicoder9872 4 роки тому

    when I run the application by CLI , I see my project's name instead of 'dotnet' . Can you help me guys??

    • @lynnchen4048
      @lynnchen4048 4 роки тому

      me too

    • @anantsaxena7037
      @anantsaxena7037 3 роки тому

      Even I see EmployeeManagement??? my version of netcoreapp is 3.1 on visual studio 2019 running on a windows 10 machine

  • @srinivasbaipothu2469
    @srinivasbaipothu2469 5 років тому +1

    For InProcess hosting I am getting processname as "dotnet" instead of "iisexpress" while running the app from visual studio. Can anyone explain the reason?

    • @MrNuudleS
      @MrNuudleS 5 років тому

      I have the same ProcessName as well. Did you ever find the answer to your question?

    • @MrNuudleS
      @MrNuudleS 5 років тому

      nevermind, I found the answer below these comments

    • @srinivasbaipothu2469
      @srinivasbaipothu2469 5 років тому

      Nope not yet

    • @raviverma4934
      @raviverma4934 5 років тому

      ​@@srinivasbaipothu2469 This is because in ASP.NET core the default hosting Process in OutOfProcess. In your case the ASPNetCoreHostingModel node might not be there and hence the default hosting model is coming as dotnet. Hope it helps.

  • @a_n_m3516
    @a_n_m3516 4 роки тому +1

    Hi, I'm using vs 2019 with .net core 3.1. After running 'dotnet run' command on cli I get my project name as process name.
    Is this due to some changes in version 3.1 ?

    • @gopinathselvaraj478
      @gopinathselvaraj478 4 роки тому

      I have the same issue, were you able to find what is the issue.

    • @a_n_m3516
      @a_n_m3516 4 роки тому

      @@gopinathselvaraj478 not yet, have you? Will get back if I get the answer.

    • @gopinathselvaraj478
      @gopinathselvaraj478 4 роки тому +1

      Looks like that's how it is in .net core 3.1, haven't been able to find any answer for this.

    • @EpinderSingh
      @EpinderSingh 4 роки тому

      Have you guys able to resolve the issue? I am having same issue.

    • @gopinathselvaraj478
      @gopinathselvaraj478 4 роки тому

      @@EpinderSingh Read on a post saying that's how it is with .net core 3 and above. It is not a show stopper, happy learning 👍🏽

  • @bakerdweikat5391
    @bakerdweikat5391 6 місяців тому

    is this tutorial updated?

  • @eml9147
    @eml9147 4 роки тому +1

    When you launch the page at 8:40 it displays 'dotnet'. But for me, it displays 'EmployeeManagement'. What have I done wrong?

    • @diwashshrestha4996
      @diwashshrestha4996 4 роки тому

      i also got 'EmployeeManagement' as output.

    • @aadhithyasekar2703
      @aadhithyasekar2703 4 роки тому

      Me too. Getting 'EmployeeManagement' as the display output.

    • @jakenguyen1150
      @jakenguyen1150 4 роки тому

      Hello Venkat, in .net core 3 the name of the out of process hosting model changed to the name of the project, not 'dotnet', why? So if your project is called WebApplication1, then that's the name of the process.
      This is not my comment .

    • @conaxliu9677
      @conaxliu9677 4 роки тому +1

      What happens now is that when you execute "dotnet run", it builds your project (if you've made any changes) and then executes \bin\Debug
      etcoreapp3.1\EmployeeManagement.exe, therefore the process name is EmployeeManagement.
      To verify, follow these steps:
      1. Execute "dotnet run" as instructed by venkat.
      2. Open your Windows Task Manager, you will find EmployeeManagement.exe in there.
      3. Right-click EmployeeManagement.exe and select "Open File Location". You will be brought to the foler where EmployeeManagement.exe sits in.
      4. Ctrl-C out of dotnet run, and then manually execute EmployeeManagement.exe instead. Your will see the same messages shown in the console as when you executed "dotnet run", and then you can browse to localhost:5000 again.

  • @roushangiri4722
    @roushangiri4722 3 роки тому

    God cleanse my mind. I read something which I wasn't supposed to read 4:03

  • @ihsanullah4058
    @ihsanullah4058 5 років тому

    Its awsome. Sir record a video on linux server/ system locally

  • @kunalpuri6035
    @kunalpuri6035 3 роки тому

    This is ambiguous. If in Out Of process hosting there are two web servers (Internal and External) and you said that Kestrel can be used alone as edge server to take http calls then that is considered to In Process or Out process?

    • @reneschindhelm4482
      @reneschindhelm4482 3 роки тому +1

      If you're hosting ASP.NET Core apps on Windows, then your choice is one of running your app in IIS*, or Kestrel (HTTP.SYS would be an alternative to Kestrel, but it's only available on Windows, so I don't care).
      When you're going with IIS, then both InProcess and OutOfProcess hosting models are applicable:
      - If you're opting for InProcess, then your app is running inside of an IIS worker process (w3wp, iisexpress). This has many benefits, as IIS is a fully-fledged web server/platform shipping with process monitoring (automatic restart on crash, recycling etc.), logging, authentication, etc. and you do not need to call another webserver in order to fulfill any requests, which may increase requests/s.
      - If you're opting for OutOfProcess, then your app will use the Kestrel web server, and run in a separate process (not inside w3wp or iisexpress). IIS, which is the public facing webserver, has to forward any incoming requests to Kestrel in order to fulfill them. Next to no process monitoring, logging or any other benefits IIS could possibly deliver, you'll notice that the requests/s are less compared to when running the app in the InProcess hosting model due to the forwarding/proxying.
      Were you to skip the use of IIS on Windows, you could instead host your app using Kestrel. Kestrel now becomes the public facing web server. As the InProcess hosting model is (as of this date) only applicable when using IIS, you'd default to using the OutOfProcess hosting model.
      If you're hosting ASP.NET Core apps on any other platform, then only the OutOfProcess hosting model is applicable (and should be honored by your runtime). So even if you set the hosting model to InProcess, you'll end up with the OutOfProcess hosting model, where your app is hosted in Kestrel. You'd most likely use Apache or NGINX as the public facing web server though, and have them relaying to Kestrel (kind of like the IIS + OutOfProcess model above).
      * Apache/NGINX can also be used as public-facing web servers, acting as a reverse proxy to your app. See docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy

  • @josephregallis3394
    @josephregallis3394 5 років тому

    Again, when I run the program, Chrome does not open.

    • @MrRasZee
      @MrRasZee 5 років тому

      joseph, click somewhere in solution explorer, until you find run with browser

  • @ashutoshsingh5568
    @ashutoshsingh5568 4 роки тому

    Watched 6 videos continuously but everything went over the head. Very complicated way of explanation.