.NET EFCore | Publish your Web API and SQL database to Azure Service using Visual Studio ONLY

  Рет қаралды 6,054

Netcode-Hub

Netcode-Hub

Күн бұрын

Пікірлер: 29
@Netcode-Hub
@Netcode-Hub Жыл бұрын
Follow @Netcode-Hub on: netcodehub.blogspot.com github.com/Netcode-Hub | Grab projects source code from here. twitter.com/NetcodeHub | Twitter web.facebook.com/NetcodeHub | Facebook www.linkedin.com/in/netcode-hub-90b188258/ | LinkedIn
@colocaps
@colocaps Жыл бұрын
good tutorial man, it would be great if you could explain how to connect the azure sql db to sql server managment studio
@Netcode-Hub
@Netcode-Hub Жыл бұрын
Alright sir, will see to that😀
@dilrukshiperera-yo5br
@dilrukshiperera-yo5br 3 ай бұрын
thankyou. I made some use of this tutorial.
@Netcode-Hub
@Netcode-Hub 3 ай бұрын
Welcome 🤗
@HieuNguyen-un4bb
@HieuNguyen-un4bb 11 ай бұрын
nice video bro! But i have an question. When i click finish on 8:31 , i get 3 errors : - NuGet.PackageManagement.PackageReferenceRollbackException: Package restore failed. Rolling back package changes for 'MagicPost_BackendAPI'. - Failed to configure NuGet packages. - Failed to configure dependency Azure SQL Database mssql1. i don't understand why cause i do it same as you do. Can you explain for me if u know that! Thank u so much
@Netcode-Hub
@Netcode-Hub 10 ай бұрын
Will check please
@lirovink
@lirovink 7 ай бұрын
Thank you so much for this video man! I was looking for ages for an answer to show the Swagger (now OpenAPI) page on my web app until i came across this video. Just a quick question - how come the database is empty if we choose to include the dbContext from our application? did i miss something from your explanation?
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
Did you publish your database to azure?
@lirovink
@lirovink 7 ай бұрын
@@Netcode-Hub Yes of course When I executed show all data GET command, I was presented with an empty array After adding data using the ADD command, I saw the new data I saved displayed instead of the empty array. I have another question. I have a registration function with which I register new users, and then a login function with which I get a JWT to authenticate and send CRUD commands. Is there a way to use the token that I get through SWAGGER, or do I have to work only with the help of POSTMAN for example?
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
@lirovink yes , you can add authorization feature to swagger . Check playlist, have couple of videos to assist you. You can also mail me for special assistance.
@lirovink
@lirovink 7 ай бұрын
@@Netcode-Hub Thank you man. I am lost, can you please direct me to a specific video about the subject? much appreciation
@mostafayehya4902
@mostafayehya4902 Жыл бұрын
this error shown in the step entity framework migration dotnet tool install dotnet-ef The tool package could not be restored. Tool 'dotnet-ef' failed to install. This failure may have been caused by: * You are attempting to install a preview release and did not use the --version opt * A package by this name was found, but it was not a .NET tool. * The required NuGet feed cannot be accessed, perhaps because of an Internet co * You mistyped the name of the tool. For more reasons, including package naming enforcement,
@Netcode-Hub
@Netcode-Hub Жыл бұрын
Use this instead dotnet tool install --global dotnet-ef
@crepinoscript12
@crepinoscript12 Ай бұрын
I am using a MySQL database, and in the API, I have configured token generation and role-based authorization before accessing an API route. Could this tutorial apply to my system? PLEASE
@Netcode-Hub
@Netcode-Hub Ай бұрын
Absolutely
@crepinoscript12
@crepinoscript12 Ай бұрын
@@Netcode-Hub i tried to do that but microsoft azure service is not available in my country unfortunetly i can"t create an account 💔,can you please show me another way to publish my API ?
@محمد-ع4ث2ق
@محمد-ع4ث2ق 3 ай бұрын
can i use postgresql insted of sql server ?
@Netcode-Hub
@Netcode-Hub 3 ай бұрын
Absolutely
@ReadLineAcademy
@ReadLineAcademy 7 ай бұрын
Thanks sir❤️❤️
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
😃
@stark5131
@stark5131 2 ай бұрын
what is cost for this ??
@Netcode-Hub
@Netcode-Hub 2 ай бұрын
Are you talking about azure hosting service ?
@leandroangeldzibnauat4427
@leandroangeldzibnauat4427 4 ай бұрын
Don't show swagger on my app deployed
@Netcode-Hub
@Netcode-Hub 4 ай бұрын
Check your program setting Change swagger middleware from development to production or comment it. Have you don’t that already ?
@dznleandro
@dznleandro 4 ай бұрын
Yeah, I commented the if of development mode, thanks 🎉
@Netcode-Hub
@Netcode-Hub 4 ай бұрын
@dznleandro welcome 🤗
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 10 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 26 МЛН
Deadpool family by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 7 МЛН
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 6 МЛН
Easily Deploy a .NET 7 API to Azure! [2023 Tutorial]
12:15
Israel Quiroz
Рет қаралды 16 М.
How to deploy web application with sql database to azure
12:11
Scaffolding .NET Web APIs Powered By EF Core, SQL, & Azure in Seconds
20:54
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 113 М.
7 Design Patterns EVERY Developer Should Know
23:09
ForrestKnight
Рет қаралды 86 М.
How To Publish a .NET 6 Application To Railway
18:31
Coder Foundry
Рет қаралды 10 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 10 МЛН